react-components/blog/footer.tsx
2024-10-30 18:28:41 +01:00

32 lines
1.3 KiB
TypeScript

import Container from "@/components/blog/container";
import { EXAMPLE_PATH } from "@/lib/blog/constants";
export function Footer() {
return (
<footer className="bg-neutral-50 border-t border-neutral-200 dark:bg-slate-800">
<Container>
<div className="py-28 flex flex-col lg:flex-row items-center">
<h3 className="text-4xl lg:text-[2.5rem] font-bold tracking-tighter leading-tight text-center lg:text-left mb-10 lg:mb-0 lg:pr-4 lg:w-1/2">
Statically Generated with Next.js.
</h3>
<div className="flex flex-col lg:flex-row justify-center items-center lg:pl-4 lg:w-1/2">
<a
href="https://nextjs.org/docs/app/building-your-application/routing/layouts-and-templates"
className="mx-3 bg-black hover:bg-white hover:text-black border border-black text-white font-bold py-3 px-12 lg:px-8 duration-200 transition-colors mb-6 lg:mb-0"
>
Read Documentation
</a>
<a
href={`https://github.com/vercel/next.js/tree/canary/examples/${EXAMPLE_PATH}`}
className="mx-3 font-bold hover:underline"
>
View on GitHub
</a>
</div>
</div>
</Container>
</footer>
);
}
export default Footer;