svgl/pages/index.js
2022-01-21 22:30:32 +00:00

39 lines
1.1 KiB
JavaScript

import { chakra, Box, Container } from "@chakra-ui/react";
import Search from "components/search";
import Items from "components/items/all";
import Show from "animations/show";
export default function Index() {
return (
<>
<Box overflow="hidden">
<Container maxW={{ base: "100%", md: "90%" }}>
<Box w="full" border="solid 1px transparent">
<Box textAlign="center">
<Show delay="0">
<chakra.h1
fontSize={{ base: "30px", sm: "35px", md: "6xl" }}
letterSpacing="tight"
lineHeight="short"
fontWeight="extrabold"
mb={{ base: 4, md: 8 }}
>
Beautiful SVG vector icons
</chakra.h1>
</Show>
<Show delay="0.2">
<Search />
</Show>
<Show delay="0.2">
<Box mt={{ base: 4, md: 8 }}>
<Items />
</Box>
</Show>
</Box>
</Box>
</Container>
</Box>
</>
);
}