tailwind-nextjs-blog/components/Footer.tsx

44 lines
1.6 KiB
TypeScript
Raw Permalink Normal View History

2022-10-17 23:37:01 +08:00
import Link from './Link';
import siteMetadata from '@/data/siteMetadata';
import SocialIcon from '@/components/social-icons';
2022-07-17 21:40:41 +08:00
export default function Footer() {
return (
<footer>
<div className="mt-16 flex flex-col items-center">
<div className="mb-3 flex space-x-4">
2022-10-17 23:37:01 +08:00
<SocialIcon
kind="mail"
href={`mailto:${siteMetadata.email}`}
size={6}
/>
<SocialIcon kind="github" href={siteMetadata.github} size={6} />
<SocialIcon kind="facebook" href={siteMetadata.facebook} size={6} />
<SocialIcon kind="youtube" href={siteMetadata.youtube} size={6} />
<SocialIcon kind="linkedin" href={siteMetadata.linkedin} size={6} />
<SocialIcon kind="twitter" href={siteMetadata.twitter} size={6} />
2022-07-17 21:40:41 +08:00
</div>
<div className="mb-2 flex space-x-2 text-sm text-gray-500 dark:text-gray-400">
<div>{siteMetadata.author}</div>
<div>{``}</div>
<div>{`© ${new Date().getFullYear()}`}</div>
<div>{``}</div>
<Link href="/">{siteMetadata.title}</Link>
</div>
2023-03-30 17:02:43 +08:00
<div className="mb-2 text-sm text-gray-500 dark:text-gray-400">
<Link href="https://beian.miit.gov.cn" rel="nofollow">
ICP备2023000043号
</Link>
</div>
2022-07-17 21:40:41 +08:00
<div className="mb-8 text-sm text-gray-500 dark:text-gray-400">
2022-10-17 23:37:01 +08:00
<Link
href="https://github.com/timlrx/tailwind-nextjs-starter-blog"
rel="nofollow">
2022-07-17 21:40:41 +08:00
Tailwind Nextjs Theme
</Link>
</div>
</div>
</footer>
2022-10-17 23:37:01 +08:00
);
2022-07-17 21:40:41 +08:00
}