Skip to content

Commit

Permalink
components test lib style updated
Browse files Browse the repository at this point in the history
  • Loading branch information
mantuok committed Nov 20, 2024
1 parent 2986119 commit 04dc766
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions app/components-test-lib/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +16,27 @@ const ComponentsTestLib = () => {
}}
m="auto"
>
<Heading as="h1" size="xl" mb={4} color="blue">
<Heading as="h1" size="xl" mb={4} bgColor="blue" color="white" p="10px">
Components Test Library
</Heading>
<Divider mb={2} />
<Heading as="h2" size="md" mb={2}>
Search Bar
</Heading>
<Text mb={4}>
This section demonstrates different states of the Search Bar component
</Text>
<Text mb={4}>This section demonstrates the Search Bar component</Text>
<VStack spacing={4} align="start">
<HStack w="100%">
<Heading as="h3" size="sm">
Default
</Heading>
<SearchBar />
<Box w="400px">
<SearchBar />
</Box>
</HStack>
<Divider mb={2} />
</VStack>
<Text mb={4}>
This section demonstrates Hazard Card component
</Text>
<Heading as="h2" size="md" mb={2}>
Hazards Card
</Heading>
<Text mb={4}>This section demonstrates Hazard Card component</Text>
<VStack spacing={4} align="start">
<HStack w="100%">
<Heading as="h3" size="sm">
With data
</Heading>
<CardHazard />
</HStack>
<Divider mb={2} />
Expand Down

0 comments on commit 04dc766

Please sign in to comment.