Files
DefectingCat.github.io/components/footer.tsx
2023-01-29 09:48:49 +08:00

30 lines
696 B
TypeScript

import { memo } from 'react';
import { FiGithub } from 'react-icons/fi';
const nowDay = new Date().getFullYear();
const Footer = () => {
return (
<>
<footer className="max-w-6xl px-4 mx-auto xl:px-0">
<div className="h-[2px] bg-slate-500"></div>
<div className="flex items-center justify-between py-4">
<div>&copy; {nowDay} Powered by Next.js 💙 xfy</div>
<div>
<a
href="https://github.com/DefectingCat"
target="_blank"
rel="noreferrer"
>
<FiGithub />
</a>
</div>
</div>
</footer>
</>
);
};
export default memo(Footer);