Files
DefectingCat.github.io/pages/about.tsx
DefectingCat aaad57fc4d Add dark mode
* 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
2021-11-21 22:16:35 +08:00

35 lines
718 B
TypeScript

import { Box } from '@chakra-ui/react';
import Head from 'next/head';
import { ReactElement } from 'react';
import HomeLayout from '../layouts/HomeLayout';
import useGetColors from '../lib/hooks/useGetColors';
const about = () => {
const { boxBg } = useGetColors();
return (
<>
<Head>
<title>RUA - About</title>
</Head>
<Box
w={['full', 'full', '55rem']}
borderRadius="10px"
shadow="lg"
overflow="hidden"
bg={boxBg}
p={['1rem', '1rem', '1.5rem']}
>
...
</Box>
</>
);
};
about.getLayout = function getLayout(page: ReactElement) {
return <HomeLayout>{page}</HomeLayout>;
};
export default about;