-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe1aef9
commit 1be3bd7
Showing
20 changed files
with
1,072 additions
and
89 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { useEffect } from "react"; | ||
import { Box } from "@chakra-ui/react"; | ||
|
||
import { useHead } from "~features/title/TitleContext"; | ||
|
||
import Cards from "./cards/Cards"; | ||
import Contact from "./contact/Contact"; | ||
import Features from "./features/Features"; | ||
import Hero from "./hero/Hero"; | ||
|
||
const Landing = () => { | ||
const updateHead = useHead(); | ||
useEffect(() => { | ||
updateHead("Home", { | ||
description: "Home", | ||
keywords: "Home", | ||
}); | ||
}, []); | ||
|
||
return ( | ||
<Box width="100%"> | ||
<Hero /> | ||
<Features /> | ||
<Cards /> | ||
<Contact /> | ||
</Box> | ||
); | ||
}; | ||
|
||
export default Landing; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
import { ReactElement } from "react"; | ||
import { | ||
FcAbout, | ||
FcAssistant, | ||
FcCollaboration, | ||
FcDonate, | ||
FcManager, | ||
} from "react-icons/fc"; | ||
import { | ||
Box, | ||
Button, | ||
Container, | ||
Flex, | ||
Heading, | ||
Icon, | ||
Stack, | ||
Text, | ||
useColorModeValue, | ||
} from "@chakra-ui/react"; | ||
|
||
interface CardProps { | ||
heading: string; | ||
description: string; | ||
icon: ReactElement; | ||
href: string; | ||
} | ||
|
||
const Card = ({ heading, description, icon, href }: CardProps) => { | ||
return ( | ||
<Box | ||
maxW={{ base: "full", md: "275px" }} | ||
w={"full"} | ||
borderWidth="1px" | ||
borderRadius="lg" | ||
overflow="hidden" | ||
p={5} | ||
> | ||
<Stack align={"start"} spacing={2}> | ||
<Flex | ||
w={16} | ||
h={16} | ||
align={"center"} | ||
justify={"center"} | ||
color={"white"} | ||
rounded={"full"} | ||
bg={useColorModeValue("gray.100", "gray.700")} | ||
> | ||
{icon} | ||
</Flex> | ||
<Box mt={2}> | ||
<Heading size="md">{heading}</Heading> | ||
<Text mt={1} fontSize={"sm"}> | ||
{description} | ||
</Text> | ||
</Box> | ||
<Button | ||
variant={"link"} | ||
colorScheme={"blue"} | ||
size={"sm"} | ||
as="a" | ||
href={href} | ||
> | ||
Learn more | ||
</Button> | ||
</Stack> | ||
</Box> | ||
); | ||
}; | ||
|
||
export default function gridListWith() { | ||
return ( | ||
<Box p={8} py={20} pt={20}> | ||
<Stack spacing={4} as={Container} maxW={"3xl"} textAlign={"center"}> | ||
<Heading fontSize={{ base: "2xl", sm: "4xl" }} fontWeight={"bold"}> | ||
Short heading | ||
</Heading> | ||
<Text color={"gray.600"} fontSize={{ base: "sm", sm: "lg" }}> | ||
Lorem ipsum dolor sit amet consectetur adipisicing elit. Reiciendis | ||
obcaecati ut cupiditate pariatur, dignissimos, placeat amet officiis. | ||
</Text> | ||
</Stack> | ||
|
||
<Container maxW={"5xl"} mt={12}> | ||
<Flex flexWrap="wrap" gridGap={6} justify="center"> | ||
<Card | ||
heading={"Heading"} | ||
icon={<Icon as={FcAssistant} w={10} h={10} />} | ||
description={ | ||
"Lorem ipsum dolor sit amet catetur, adipisicing elit." | ||
} | ||
href={"#"} | ||
/> | ||
<Card | ||
heading={"Heading"} | ||
icon={<Icon as={FcCollaboration} w={10} h={10} />} | ||
description={ | ||
"Lorem ipsum dolor sit amet catetur, adipisicing elit." | ||
} | ||
href={"#"} | ||
/> | ||
<Card | ||
heading={"Heading"} | ||
icon={<Icon as={FcDonate} w={10} h={10} />} | ||
description={ | ||
"Lorem ipsum dolor sit amet catetur, adipisicing elit." | ||
} | ||
href={"#"} | ||
/> | ||
<Card | ||
heading={"Heading"} | ||
icon={<Icon as={FcManager} w={10} h={10} />} | ||
description={ | ||
"Lorem ipsum dolor sit amet catetur, adipisicing elit." | ||
} | ||
href={"#"} | ||
/> | ||
<Card | ||
heading={"Heading"} | ||
icon={<Icon as={FcAbout} w={10} h={10} />} | ||
description={ | ||
"Lorem ipsum dolor sit amet catetur, adipisicing elit." | ||
} | ||
href={"#"} | ||
/> | ||
</Flex> | ||
</Container> | ||
</Box> | ||
); | ||
} |
Oops, something went wrong.