Skip to content

Commit 8d9db41

Browse files
committed
fixed font error
1 parent cd4421f commit 8d9db41

File tree

11 files changed

+232
-659
lines changed

11 files changed

+232
-659
lines changed

.tamagui/tamagui.config.json

Lines changed: 184 additions & 300 deletions
Large diffs are not rendered by default.

app/(tabs)/home/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export default function HomePage() {
1111
ai="center"
1212
>
1313
<Button
14+
bc="white"
1415
borderWidth="$1"
1516
borderColor="black"
1617
borderRadius={10}

app/_layout.tsx

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import * as Font from "expo-font";
1010
import { SplashScreen, Stack } from "expo-router";
1111
import { TamaguiProvider, Text, Theme } from "tamagui";
1212

13-
import { MySafeAreaView } from "../components/MySafeAreaView";
1413
import config from "../tamagui.config";
1514

1615
SplashScreen.preventAutoHideAsync();
@@ -35,16 +34,14 @@ export default function Layout() {
3534
<TamaguiProvider config={config}>
3635
<Suspense fallback={<Text>Loading...</Text>}>
3736
<Theme name={colorScheme}>
38-
<MySafeAreaView>
39-
<Stack>
40-
<Stack.Screen
41-
name="(tabs)"
42-
options={{
43-
headerShown: false
44-
}}
45-
/>
46-
</Stack>
47-
</MySafeAreaView>
37+
<Stack>
38+
<Stack.Screen
39+
name="(tabs)"
40+
options={{
41+
headerShown: false
42+
}}
43+
/>
44+
</Stack>
4845
</Theme>
4946
</Suspense>
5047
</TamaguiProvider>

app/index.tsx

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -5,41 +5,3 @@ import { YStack, Text, Button } from "tamagui";
55
export default function StartPage() {
66
return <Redirect href="/home" />;
77
}
8-
9-
// import { Github, Twitter } from "@tamagui/lucide-icons";
10-
// import { Link, useRouter } from "expo-router";
11-
// import {
12-
// Button,
13-
// H1,
14-
// ListItem,
15-
// Paragraph,
16-
// Separator,
17-
// YGroup,
18-
// YStack
19-
// } from "tamagui";
20-
21-
// export default function Home() {
22-
// const router = useRouter();
23-
24-
// return (
25-
// <>
26-
// <YStack
27-
// space="$4"
28-
// maxWidth={600}
29-
// >
30-
// <H1 textAlign="center">Welcome Brian.</H1>
31-
// <Paragraph textAlign="center">
32-
// Here&apos;s a basic starter to show navigating from one screen to
33-
// another.
34-
// </Paragraph>
35-
// </YStack>
36-
37-
// <YStack space="$2.5">
38-
// <Button onPress={() => router.push("/users/testuser")}>
39-
// Go to user page
40-
// </Button>
41-
// <Button onPress={() => router.push("/tabs")}>Go to tabs page</Button>
42-
// </YStack>
43-
// </>
44-
// );
45-
// }

components/DialogDemo.tsx

Lines changed: 0 additions & 114 deletions
This file was deleted.

components/MySafeAreaView.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

components/MyStack.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

components/SelectDemo.tsx

Lines changed: 0 additions & 130 deletions
This file was deleted.

components/SpinnerDemo.tsx

Lines changed: 0 additions & 20 deletions
This file was deleted.

components/SwitchDemo.tsx

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)