-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Creates and uses shared Footer component
- Loading branch information
1 parent
aafe8eb
commit c7a3825
Showing
3 changed files
with
28 additions
and
26 deletions.
There are no files selected for viewing
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,22 @@ | ||
import { Center, Flex, Text } from '@chakra-ui/layout'; | ||
|
||
import { Logo } from './Logo'; | ||
|
||
export function Footer() { | ||
const year = new Date().getFullYear(); | ||
|
||
return ( | ||
<Center as="footer" mt="auto" py={4}> | ||
<Flex flexDirection="column" alignItems="center"> | ||
<Logo /> | ||
<Text as="em" textAlign="center"> | ||
Copyright Ⓒ {year}{' '} | ||
<a href="https://echobind.com" target="_blank" rel="noopener noreferrer"> | ||
Echobind LLC. | ||
</a>{' '} | ||
All rights reserved. | ||
</Text> | ||
</Flex> | ||
</Center> | ||
); | ||
} |
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