feat: style home header
This commit is contained in:
parent
5328160d76
commit
1e0917ab98
2 changed files with 4 additions and 4 deletions
|
|
@ -2,7 +2,7 @@ import { Heading, HStack, Text, VStack } from "@gluestack-ui/themed";
|
||||||
|
|
||||||
export function HomeHeader() {
|
export function HomeHeader() {
|
||||||
return (
|
return (
|
||||||
<HStack>
|
<HStack bg="$gray600" pt="$16" pb="$5" px="$8" alignItems="center">
|
||||||
<VStack>
|
<VStack>
|
||||||
<Text color="$gray100" fontSize="$sm">
|
<Text color="$gray100" fontSize="$sm">
|
||||||
Olá,
|
Olá,
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
import { HomeHeader } from "@components/HomeHeader";
|
import { HomeHeader } from "@components/HomeHeader";
|
||||||
import { Center } from "@gluestack-ui/themed";
|
import { VStack } from "@gluestack-ui/themed";
|
||||||
|
|
||||||
export function Home() {
|
export function Home() {
|
||||||
return (
|
return (
|
||||||
<Center flex={1}>
|
<VStack flex={1}>
|
||||||
<HomeHeader />
|
<HomeHeader />
|
||||||
</Center>
|
</VStack>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue