-
Notifications
You must be signed in to change notification settings - Fork 8
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 #39 from BenoitBellegarde/feature/fontsize-mangement
feat: Add font size mangement for tab page + improve browser resize detection
- Loading branch information
Showing
13 changed files
with
278 additions
and
86 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
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,48 @@ | ||
import { Text, Stack, Divider, Link, IconButton, Flex } from '@chakra-ui/react' | ||
import { FaGithub } from 'react-icons/fa' | ||
|
||
export default function Nav({}: {}): JSX.Element { | ||
const version: string = process.env.NEXT_PUBLIC_UT_VERSION | ||
return ( | ||
<footer> | ||
<Divider mt={4} /> | ||
|
||
<Flex | ||
direction={'row'} | ||
justifyContent="space-between" | ||
alignItems={'center'} | ||
p={2} | ||
> | ||
<Text fontSize="md"> | ||
Built by{' '} | ||
<Link | ||
href="https://github.com/BenoitBellegarde/" | ||
textDecoration="underline" | ||
_hover={{ textDecoration: 'underline' }} | ||
isExternal | ||
> | ||
Benoit Bellegarde | ||
</Link> | ||
</Text> | ||
|
||
<Flex direction={'row'} alignItems={'center'}> | ||
<Text fontSize="md" mr={2}> | ||
ver {version} | ||
</Text> | ||
<IconButton | ||
size={'sm'} | ||
key={'github-icon'} | ||
as={Link} | ||
isExternal | ||
href={'https://github.com/BenoitBellegarde/UltimateTab/'} | ||
aria-label={'Github page'} | ||
bg={'blackAlpha.800'} | ||
color={'white'} | ||
icon={<FaGithub />} | ||
rounded="md" | ||
/> | ||
</Flex> | ||
</Flex> | ||
</footer> | ||
) | ||
} |
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
Oops, something went wrong.