forked from nootsquared/SharkScout-LIQUID
-
Notifications
You must be signed in to change notification settings - Fork 0
/
demodefault.txt
61 lines (48 loc) · 1.53 KB
/
demodefault.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import { ExternalLink } from '@tamagui/lucide-icons'
import { Anchor, H2, Paragraph, XStack, YStack } from 'tamagui'
import { ToastControl } from 'app/CurrentToast'
export default function TabOneScreen() {
return (
<YStack f={1} ai="center" gap="$8" px="$10" pt="$5" bg="$background">
<H2>SharkScout</H2>
<ToastControl />
<XStack ai="center" jc="center" fw="wrap" gap="$1.5" pos="absolute" b="$8">
<Paragraph fos="$5">Add</Paragraph>
<Paragraph fos="$5" px="$2" py="$1" col="$blue10" bg="$blue5">
tamagui.config.ts
</Paragraph>
<Paragraph fos="$5">to root and follow the</Paragraph>
<XStack
ai="center"
gap="$1.5"
px="$2"
py="$1"
br="$3"
bg="$purple5"
hoverStyle={{ bg: '$purple6' }}
pressStyle={{ bg: '$purple4' }}
>
<Anchor
href="https://tamagui.dev/docs/core/configuration"
textDecorationLine="none"
col="$purple10"
fos="$5"
>
Configuration guide
</Anchor>
<ExternalLink size="$1" col="$purple10" />
</XStack>
<Paragraph fos="$5" ta="center">
to configure your themes and tokens.
</Paragraph>
</XStack>
</YStack>
)
}
headerRight: () => (
<Link href="/modal" asChild>
<Button mr="$4" bg="$purple8" color="$purple12">
Hello!
</Button>
</Link>
),