-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new dependencies and update routing
- Loading branch information
Showing
7 changed files
with
405 additions
and
23 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 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 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,43 @@ | ||
import { Box, Flex, Center, IconButton, Link } from '@chakra-ui/react' | ||
import { Link as ReactRouterLink } from "react-router-dom"; | ||
import { FaGithub } from "react-icons/fa"; | ||
|
||
export default function Header() { | ||
return ( | ||
<Box w="100%" p={2} h="10vh"> | ||
<Flex justifyContent='space-between' alignItems='center' h="100%"> | ||
<Box flexBasis='50%'> | ||
</Box> | ||
<Box flexBasis='50%' p={2} h="100%"> | ||
<Flex> | ||
<Center w='100%' h="100%" flexBasis='50%' px={2} > | ||
<Link href="/" textDecoration='underline' to="/" as={ReactRouterLink}> | ||
Home | ||
</Link> | ||
</Center> | ||
<Center w='100%' h="100%" flexBasis='50%' px={2} > | ||
<Link href="/privacy-policy" textDecoration='underline' to="/privacy-policy" as={ReactRouterLink}> | ||
Privacy Policy | ||
</Link> | ||
</Center> | ||
<Center w='100%' h="100%" flexBasis='50%' px={2} > | ||
<Link href="/tos" textDecoration='underline' to="/tos" as={ReactRouterLink}> | ||
Terms of Service | ||
</Link> | ||
</Center> | ||
<Center h="100%"> | ||
<Link href="https://github.com/codad5/google-task-tauri" isExternal> | ||
<IconButton | ||
variant='outline' | ||
colorScheme='teal' | ||
aria-label='Send email' | ||
icon={<FaGithub />} | ||
/> | ||
</Link> | ||
</Center> | ||
</Flex> | ||
</Box> | ||
</Flex> | ||
</Box> | ||
) | ||
} |
Oops, something went wrong.