mirror of
https://github.com/fergalmoran/supanextail.git
synced 2025-12-22 09:17:54 +00:00
29 lines
755 B
TypeScript
29 lines
755 B
TypeScript
import Link from 'next/link';
|
|
import dynamic from 'next/dynamic';
|
|
|
|
const Footer = (): JSX.Element => {
|
|
const ThemeToggle = dynamic(() => import('components/UI/ThemeToggle'), {
|
|
ssr: false,
|
|
});
|
|
return (
|
|
<footer className="flex w-full">
|
|
<nav className="mr-auto">
|
|
<div className="flex flex-col w-full justify-evenly sm:flex-row sm:space-x-10">
|
|
<div className="">© {process.env.NEXT_PUBLIC_TITLE}</div>
|
|
<Link href="/privacy">
|
|
<a>Privacy Policy</a>
|
|
</Link>
|
|
<Link href="/terms">
|
|
<a>Terms of service</a>
|
|
</Link>
|
|
</div>
|
|
</nav>
|
|
<div className="my-auto mr-5">
|
|
<ThemeToggle />
|
|
</div>
|
|
</footer>
|
|
);
|
|
};
|
|
|
|
export default Footer;
|