-
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.
Merge pull request #167 from ClearContracts/justin/clarity-branding
add clarity logo & github link in footer
- Loading branch information
Showing
4 changed files
with
51 additions
and
2 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,46 @@ | ||
import Image from 'next/image'; | ||
import Link from 'next/link'; | ||
import clarity from '@/img/Clarity.png'; | ||
import { GitHub } from '@mui/icons-material'; | ||
import { Box, Button } from '@mui/material'; | ||
|
||
/** | ||
* Footer with Clarity logo & link to repo | ||
* @returns Footer | ||
*/ | ||
export function Footer(): JSX.Element { | ||
return ( | ||
<Box | ||
sx={{ | ||
position: 'static', | ||
bottom: 0, | ||
left: 0, | ||
width: '100%', | ||
display: 'flex', | ||
flexDirection: 'row', | ||
justifyContent: 'space-between', | ||
alignItems: 'center', | ||
p: 2, | ||
|
||
height: '75px', | ||
}} | ||
> | ||
<Link | ||
href="https://www.clarity.community/" | ||
style={{ textDecoration: 'none' }} | ||
data-testid="clarity-link" | ||
target="_blank" | ||
> | ||
<Image src={clarity} width="200" height="50" alt="Powered by Clarity" /> | ||
</Link> | ||
<Button | ||
href="https://github.com/ClearContracts/cardano-constitution-voting-app" | ||
target="_blank" | ||
data-testid="github-link" | ||
color="primary" | ||
> | ||
<GitHub /> | ||
</Button> | ||
</Box> | ||
); | ||
} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.