jonbio/components/Footer.js

31 lines
1.2 KiB
JavaScript
Raw Normal View History

2021-01-09 17:50:45 +08:00
import Link from './Link'
import siteMetadata from '@/data/siteMetadata'
import SocialIcon from '@/components/social-icons'
export default function Footer() {
return (
<footer className="flex flex-col items-center mt-16">
2021-01-12 23:35:36 +08:00
<div className="flex mb-3 space-x-4">
2021-01-09 17:50:45 +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" />
</div>
2021-01-12 23:35:36 +08:00
<div className="flex mb-2 space-x-2 text-sm text-gray-500 dark:text-gray-400">
2021-01-09 17:50:45 +08:00
<div>{siteMetadata.author}</div>
<div>{``}</div>
<div>{`© ${new Date().getFullYear()}`}</div>
<div>{``}</div>
<Link href="/">{siteMetadata.title}</Link>
</div>
2021-01-12 23:35:36 +08:00
<div className="mb-8 text-sm text-gray-500 dark:text-gray-400">
2021-01-12 22:50:10 +08:00
<Link href="https://github.com/timlrx/tailwind-nextjs-starter-blog">
Tailwind Nextjs Theme
</Link>
2021-01-09 17:50:45 +08:00
</div>
</footer>
)
}