Skip to content

Commit f696a19

Browse files
committed
wip
1 parent fd472a0 commit f696a19

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

app/(tabs)/home/index.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { YStack, Text, Button } from "tamagui";
1+
import { YStack, Text, Paragraph, Button } from "tamagui";
22
import { useRouter } from "expo-router";
33

44
export default function HomePage() {
@@ -11,7 +11,14 @@ export default function HomePage() {
1111
ai="center"
1212
space="$3"
1313
>
14-
<Text fos="$4">Page "pushed withiin" the tab bar:</Text>
14+
<Paragraph
15+
fos="$4"
16+
fow="600"
17+
mx={20}
18+
>
19+
Page "pushed WITHIN" the tab bar. Upon clicking, the tab bar will remain
20+
visible.
21+
</Paragraph>
1522
<Button
1623
bc="white"
1724
borderWidth="$1"

app/(tabs)/post.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//links to open OUTSIDE tab bar
22

3-
import { YStack, Text } from "tamagui";
3+
import { YStack, Text, Paragraph } from "tamagui";
44
import { Link } from "expo-router";
55

66
export default function PostsPage() {
@@ -11,7 +11,14 @@ export default function PostsPage() {
1111
ai="center"
1212
space="$3"
1313
>
14-
<Text fos="$4">Pages "pushed above" the tab bar:</Text>
14+
<Paragraph
15+
fos="$4"
16+
fow="600"
17+
mx={20}
18+
>
19+
Pages "pushed ABOVE" the tab bar. Upon clicking, the tab bar will NOT be
20+
visible.
21+
</Paragraph>
1522
<Link
1623
href="/posts/1"
1724
style={{ fontSize: 20, color: "blue" }}

app/_layout.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ import { useFonts } from "expo-font";
44
import { SplashScreen, Stack } from "expo-router";
55
import { TamaguiProvider, Text, Theme } from "tamagui";
66
import config from "../tamagui.config";
7+
import { LogBox } from "react-native";
8+
9+
LogBox.ignoreLogs(['fontFamily "unset" is not a system font']);
710

811
SplashScreen.preventAutoHideAsync();
912

0 commit comments

Comments
 (0)