mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
* add dark mode switch button * modify footer * fix nav menu opening issue * add paging number * remove post card a link focus shadow * add _document * remove archive card border on last child * add post image zoom margin on desktop * add post index image * remove TOC scroll bar on firefox
21 lines
551 B
TypeScript
21 lines
551 B
TypeScript
import { FC } from 'react';
|
||
import { Flex, Box, Text } from '@chakra-ui/react';
|
||
|
||
const Footer: FC = () => {
|
||
return (
|
||
<>
|
||
<Box h="3px" w="50px" bg="gray.500" rounded="xl" mt="2.5rem" />
|
||
<Flex as="footer" flexFlow="column" py="1.5rem">
|
||
<Text color={'gray.600'} fontWeight="bold" mb="0.5rem">
|
||
©{new Date().getFullYear()} 小肥羊
|
||
</Text>
|
||
<Text color={'gray.400'} fontSize="small">
|
||
Powered by Next.js ❤️ Chakra UI
|
||
</Text>
|
||
</Flex>
|
||
</>
|
||
);
|
||
};
|
||
|
||
export default Footer;
|