From 496182259948d5b58da259116f5538119f129257 Mon Sep 17 00:00:00 2001 From: PxlLoewe <72106766+PxlLoewe@users.noreply.github.com> Date: Fri, 18 Jul 2025 13:07:16 -0700 Subject: [PATCH] Footer in eigenem Component --- apps/hub/app/(app)/_components/Footer.tsx | 75 ++++++++++++++++++ .../{resources => }/_components/facebook.svg | 0 .../_components/youtube_wider.svg | 0 apps/hub/app/(app)/layout.tsx | 74 +---------------- .../resources/_components/Discord-logo.png | Bin 0 -> 17036 bytes apps/hub/app/(app)/resources/page.tsx | 12 ++- apps/hub/app/_components/Nav.tsx | 2 +- 7 files changed, 90 insertions(+), 73 deletions(-) create mode 100644 apps/hub/app/(app)/_components/Footer.tsx rename apps/hub/app/(app)/{resources => }/_components/facebook.svg (100%) rename apps/hub/app/(app)/{resources => }/_components/youtube_wider.svg (100%) create mode 100644 apps/hub/app/(app)/resources/_components/Discord-logo.png diff --git a/apps/hub/app/(app)/_components/Footer.tsx b/apps/hub/app/(app)/_components/Footer.tsx new file mode 100644 index 00000000..72c56ff6 --- /dev/null +++ b/apps/hub/app/(app)/_components/Footer.tsx @@ -0,0 +1,75 @@ +import Image from "next/image"; +import { DiscordLogoIcon, InstagramLogoIcon, ReaderIcon } from "@radix-ui/react-icons"; +import YoutubeSvg from "./youtube_wider.svg"; +import FacebookSvg from "./facebook.svg"; + +export const Footer = () => { + return ( + + ); +}; diff --git a/apps/hub/app/(app)/resources/_components/facebook.svg b/apps/hub/app/(app)/_components/facebook.svg similarity index 100% rename from apps/hub/app/(app)/resources/_components/facebook.svg rename to apps/hub/app/(app)/_components/facebook.svg diff --git a/apps/hub/app/(app)/resources/_components/youtube_wider.svg b/apps/hub/app/(app)/_components/youtube_wider.svg similarity index 100% rename from apps/hub/app/(app)/resources/_components/youtube_wider.svg rename to apps/hub/app/(app)/_components/youtube_wider.svg diff --git a/apps/hub/app/(app)/layout.tsx b/apps/hub/app/(app)/layout.tsx index 3cdd6e92..0383adc7 100644 --- a/apps/hub/app/(app)/layout.tsx +++ b/apps/hub/app/(app)/layout.tsx @@ -1,14 +1,12 @@ import type { Metadata } from "next"; -import { DiscordLogoIcon, InstagramLogoIcon, ReaderIcon } from "@radix-ui/react-icons"; import { HorizontalNav, VerticalNav } from "../_components/Nav"; import { redirect } from "next/navigation"; import { getServerSession } from "../api/auth/[...nextauth]/auth"; import { EmailVerification } from "_components/EmailVerification"; import { FirstPath } from "./_components/FirstPath"; import { Penalty } from "_components/Penalty"; -import YoutubeSvg from "./resources/_components/youtube_wider.svg"; -import FacebookSvg from "./resources/_components/facebook.svg"; -import Image from "next/image"; + +import { Footer } from "(app)/_components/Footer"; export const metadata: Metadata = { title: "VAR: Hub", @@ -56,73 +54,7 @@ export default async function RootLayout({ - {/* Footer */} - +