mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-16 09:11:38 +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
35 lines
718 B
TypeScript
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;
|