mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
Add footer
* modify mdx layout
This commit is contained in:
18
components/Footer.tsx
Normal file
18
components/Footer.tsx
Normal file
@ -0,0 +1,18 @@
|
||||
import { FC } from 'react';
|
||||
|
||||
const nowDay = new Date().getFullYear();
|
||||
|
||||
const Footer: FC = () => {
|
||||
return (
|
||||
<>
|
||||
<footer className="px-10">
|
||||
<div className="h-[2px] bg-slate-500"></div>
|
||||
<div className="py-4">
|
||||
© 2022-{nowDay} Powered by Next.js 💙 xfy
|
||||
</div>
|
||||
</footer>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default Footer;
|
Reference in New Issue
Block a user