Skip to content

Commit

Permalink
feat: add github link in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
antoine-giret committed Mar 10, 2024
1 parent aefdd72 commit d16937f
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions src/layout/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Box, Text } from '@chakra-ui/react';
import { Box, Icon, Link, Text } from '@chakra-ui/react';
import { WrapPageElementBrowserArgs } from 'gatsby';
import React from 'react';
import { IoLogoGithub } from 'react-icons/io5';

function Layout({ element }: WrapPageElementBrowserArgs): JSX.Element {
return (
Expand Down Expand Up @@ -29,14 +30,26 @@ function Layout({ element }: WrapPageElementBrowserArgs): JSX.Element {
<Box
alignItems="center"
bgColor="gray.800"
color="#fff"
display="flex"
fontSize="0.9rem"
gap={3}
justifyContent="center"
padding={3}
width="100%"
>
<Text color="#fff" fontSize="0.9rem">
&copy; Antoine Giret 2024
<Text>&copy; Antoine Giret 2024</Text>
<Text>|</Text>
<Text>
Créé avec{' '}
<Link color="green.500" href="https://www.gatsbyjs.com/" target="_blank">
Gatsby
</Link>
</Text>
<Text>|</Text>
<Link height="16px" href="https://github.com/antoine-giret/bike-trips" target="_blank">
<Icon as={IoLogoGithub} boxSize={4} />
</Link>
</Box>
</Box>
);
Expand Down

0 comments on commit d16937f

Please sign in to comment.