-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a footer component.
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { env } from "@/env/client"; | ||
|
||
export default function Footer() { | ||
const year = new Date().getFullYear(); | ||
return ( | ||
<> | ||
<footer className="relative flex min-h-[15rem] w-full justify-center py-6 text-white"> | ||
<div className="pxPage mx-auto w-full max-w-[103rem]"> | ||
<span className="mb-6 block text-2xl font-extrabold"> | ||
{env.NEXT_PUBLIC_SITE_NAME} | ||
</span> | ||
<div className="m:flex-row flex w-full flex-col items-start justify-between gap-6"> | ||
<div className="!w-[10rem] flex-shrink-0 text-sm text-black"> | ||
@ {year}{" "} | ||
<a href="/" className="ml-1 hover:underline"> | ||
{env.NEXT_PUBLIC_SITE_NAME} | ||
</a> | ||
</div> | ||
<ul className="flex flex-wrap text-sm text-black"> | ||
<li className="me-4 last:mr-0 md:mr-6"> | ||
<a href="/privacy">Privacy Policy</a> | ||
</li> | ||
<li className="me-4 last:mr-0 md:mr-6"> | ||
<a href="#">Customer Support</a> | ||
</li> | ||
<li className="me-4 last:mr-0 md:mr-6"> | ||
<a href="#">Privacy Settings</a> | ||
</li> | ||
<li className="me-4 last:mr-0 md:mr-6"> | ||
<a href="#">Terms</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</footer> | ||
</> | ||
); | ||
} |