Skip to content

Instantly share code, notes, and snippets.

@Nilanth

Nilanth/.jsx Secret

Created August 24, 2021 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nilanth/d0d50cee2cc9eb45e3d99417408f282d to your computer and use it in GitHub Desktop.
Save Nilanth/d0d50cee2cc9eb45e3d99417408f282d to your computer and use it in GitHub Desktop.
footer.js
import React from "react";
const Footer = () => {
return (
<div className="mt-12 lg:mt-18 sm:pb-36 sm:py-12 py-6">
<div className="max-w-4xl px-4 mx-auto text-gray-800 dark:text-white">
<div className="pb-8 mb-2 border-t-2 border-gray-300 dark:border-white-300"></div>
<div className="flex flex-col justify-between lg:flex-row items-center">
<p>Built with Next.js, Tailwind and Vercel</p>
<div className="flex flex-wrap pt-2 sm:space-x-4 space-x-2 font-medium lg:pt-0">
<a
href="#"
className={"transition-colors hover:text-yellow-500"}
target="_blank"
rel="noreferrer"
>
Twitter
</a>
<a
href="#"
className={"transition-colors hover:text-yellow-500"}
target="_blank"
rel="noreferrer"
>
LinkedIn
</a>
<a
href="#"
className={"transition-colors hover:text-yellow-500"}
target="_blank"
rel="noreferrer"
>
GitHub
</a>
<a
href="#"
className={"transition-colors hover:text-yellow-500"}
target="_blank"
rel="noreferrer"
>
Medium
</a>
<a
href="#"
className={"transition-colors hover:text-yellow-500"}
target="_blank"
rel="noreferrer"
>
DEV
</a>
<a
href="#"
className={"transition-colors hover:text-yellow-500"}
target="_blank"
rel="noreferrer"
>
Hashnode
</a>
</div>
</div>
</div>
</div>
)
}
export default Footer;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment