()
| 16 | } |
| 17 | |
| 18 | function Header() { |
| 19 | const { top } = useSafeAreaInsets(); |
| 20 | return ( |
| 21 | <View style={{ paddingTop: top }}> |
| 22 | <View className="px-4 lg:px-6 h-14 flex items-center flex-row"> |
| 23 | <Image |
| 24 | source="https://simpleicons.org/icons/expo.svg" |
| 25 | className="w-6 h-6 object-contain mr-2" |
| 26 | /> |
| 27 | <Link className="font-bold flex-1 items-center justify-center" href="/"> |
| 28 | ACME |
| 29 | </Link> |
| 30 | <View className="flex flex-row gap-4 sm:gap-6"> |
| 31 | <Link |
| 32 | className="text-md font-medium hover:underline web:underline-offset-4" |
| 33 | href="/" |
| 34 | > |
| 35 | About |
| 36 | </Link> |
| 37 | <Link |
| 38 | className="text-md font-medium hover:underline web:underline-offset-4" |
| 39 | href="/" |
| 40 | > |
| 41 | Product |
| 42 | </Link> |
| 43 | <Link |
| 44 | className="text-md font-medium hover:underline web:underline-offset-4" |
| 45 | href="/" |
| 46 | > |
| 47 | Pricing |
| 48 | </Link> |
| 49 | </View> |
| 50 | </View> |
| 51 | </View> |
| 52 | ); |
| 53 | } |
| 54 | |
| 55 | function Footer() { |
| 56 | const { bottom } = useSafeAreaInsets(); |
nothing calls this directly
no outgoing calls
no test coverage detected