From c89df4cf2f7ffa987cc3fb9734b8e9b4e15aff2b Mon Sep 17 00:00:00 2001 From: AderKonstantin Date: Wed, 26 Mar 2025 15:38:02 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20feat(footer):=20Add=20new=20foot?= =?UTF-8?q?er=20component?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The changes in this commit introduce a new footer component to the application. The footer includes the following sections: - Socials: Links to the user's social media profiles (Instagram, Mastodon, GitHub, Steam) - Games: A link to the "Robot Fire" game - Other Projects: Links to the "cloudberrygames" and "northfamily" projects The footer is designed to be responsive, with a different layout for larger and smaller screens. The icons in the footer are also inverted to match the overall color scheme of the application. --- app/layout.tsx | 80 +------------------------------------ components/footer/main.tsx | 81 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+), 78 deletions(-) create mode 100644 components/footer/main.tsx diff --git a/app/layout.tsx b/app/layout.tsx index 421d99b..c0945a8 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,20 +1,8 @@ import type { Metadata } from "next"; import "./globals.css"; -import mastodonPic from '../public/mastodon.svg'; -import githubPic from '../public/github.svg'; -import instagramPic from '../public/instagram.svg'; -import steamPic from '../public/steam.svg'; - -import gamePic from '../public/gamepad.svg'; -import projectPic from '../public/project.svg'; - -import Image from "next/image"; -import Link from "next/link"; -import AnimatedLink from '../components/animatedLink'; - import MainHeader from "@/components/header/main"; - +import MainFooter from "@/components/footer/main"; export const metadata: Metadata = { title: 'AderKI Blog', @@ -50,71 +38,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
{children} - -
-
    -
  • Socials

  • -
  • - - lang - -
  • -
  • - - lang - -
  • -
  • - - lang - -
  • -
  • - - lang - -
  • -
-
    -
  • Games

    lang
  • -
  • - Robot Fire -
  • -
-
    -
  • Other Projects

    lang
  • -
  • - cloudberrygames -
  • -
  • - northfamily -
  • -
-
+
diff --git a/components/footer/main.tsx b/components/footer/main.tsx new file mode 100644 index 0000000..8201046 --- /dev/null +++ b/components/footer/main.tsx @@ -0,0 +1,81 @@ + +import mastodonPic from '@/public/mastodon.svg'; +import githubPic from '@/public/github.svg'; +import instagramPic from '@/public/instagram.svg'; +import steamPic from '@/public/steam.svg'; + +import gamePic from '@/public/gamepad.svg'; +import projectPic from '@/public/project.svg'; + +import Image from "next/image"; +import Link from "next/link"; +import AnimatedLink from '@/components/animatedLink'; + +export default function MainFooter() { + return ( + + ); +} \ No newline at end of file