Added simple footer
This commit is contained in:
29
app/components/footer.tsx
Normal file
29
app/components/footer.tsx
Normal 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>
|
||||
);
|
||||
}
|
||||
@@ -5,6 +5,7 @@ import background from "../images/background.jpg";
|
||||
import skins from "../images/skins.jpg";
|
||||
import maps from "../images/maps.jpg";
|
||||
import gamemodes from "../images/gamemodes.webp";
|
||||
import { Footer } from "~/components/footer";
|
||||
|
||||
export function HomePage() {
|
||||
return (
|
||||
@@ -98,6 +99,7 @@ export function HomePage() {
|
||||
</Surface>
|
||||
</div>
|
||||
<Header />
|
||||
<Footer />
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user