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() {
|
||||
return (
|
||||
<HStack>
|
||||
<HStack bg="$gray600" pt="$16" pb="$5" px="$8" alignItems="center">
|
||||
<VStack>
|
||||
<Text color="$gray100" fontSize="$sm">
|
||||
Olá,
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
import { HomeHeader } from "@components/HomeHeader";
|
||||
import { Center } from "@gluestack-ui/themed";
|
||||
import { VStack } from "@gluestack-ui/themed";
|
||||
|
||||
export function Home() {
|
||||
return (
|
||||
<Center flex={1}>
|
||||
<VStack flex={1}>
|
||||
<HomeHeader />
|
||||
</Center>
|
||||
</VStack>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue