Add footer

* modify mdx layout
This commit is contained in:
Defectink
2022-03-23 17:15:02 +08:00
parent 332cc905df
commit 717eee7d0a
5 changed files with 42 additions and 8 deletions

18
components/Footer.tsx Normal file
View 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">
&copy; 2022-{nowDay} Powered by Next.js 💙 xfy
</div>
</footer>
</>
);
};
export default Footer;