Added simple footer

This commit is contained in:
2026-07-12 23:20:01 -04:00
parent 9359fdb016
commit d5b9848b84
2 changed files with 31 additions and 0 deletions

29
app/components/footer.tsx Normal file
View File

@@ -0,0 +1,29 @@
import { Separator, Surface, Typography } from "@heroui/react";
import { Link } from "@heroui/react";
export function Footer() {
const date = new Date();
return (
<Surface className="flex p-4 justify-between" variant="default">
<Typography.Paragraph>
Copyright © {date.getFullYear()} Porning. All rights reserved.
</Typography.Paragraph>
<div className="flex gap-2">
<Link href="/contact">
Contact Us
<Link.Icon className="ml-1.5 size-3"></Link.Icon>
</Link>
<Separator orientation="vertical" variant="tertiary" />
<Link href="/legal/privacy">
Privacy Policy
<Link.Icon className="ml-1.5 size-3"></Link.Icon>
</Link>
<Separator orientation="vertical" variant="tertiary" />
<Link href="/legal/terms">
Terms of Use
<Link.Icon className="ml-1.5 size-3"></Link.Icon>
</Link>
</div>
</Surface>
);
}

View File

@@ -5,6 +5,7 @@ import background from "../images/background.jpg";
import skins from "../images/skins.jpg"; import skins from "../images/skins.jpg";
import maps from "../images/maps.jpg"; import maps from "../images/maps.jpg";
import gamemodes from "../images/gamemodes.webp"; import gamemodes from "../images/gamemodes.webp";
import { Footer } from "~/components/footer";
export function HomePage() { export function HomePage() {
return ( return (
@@ -98,6 +99,7 @@ export function HomePage() {
</Surface> </Surface>
</div> </div>
<Header /> <Header />
<Footer />
</main> </main>
); );
} }