From 0ade5e6e9c053ccb0b298d99ee5dc3c769979b62 Mon Sep 17 00:00:00 2001 From: AderKonstantin Date: Wed, 26 Mar 2025 14:17:58 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20feat(layout):=20Reorganize=20pag?= =?UTF-8?q?e=20structure=20and=20add=20footer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit reorganizes the page structure by moving the main content area and the footer into the layout component. The main content area now only contains the BlogArea component, while the footer has been expanded to include social links, game links, and other project links. The changes were made to improve the overall structure and organization of the application, making it easier to maintain and extend in the future. --- app/layout.tsx | 85 ++++++++++++++++++++++++++++++++++++++++++++++++- app/page.tsx | 86 ++------------------------------------------------ 2 files changed, 87 insertions(+), 84 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index b259189..421d99b 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,6 +1,20 @@ 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"; + export const metadata: Metadata = { title: 'AderKI Blog', @@ -32,7 +46,76 @@ export default function RootLayout({ children }: { children: React.ReactNode }) - {children} + +
+ + {children} + +
+
    +
  • Socials

  • +
  • + + lang + +
  • +
  • + + lang + +
  • +
  • + + lang + +
  • +
  • + + lang + +
  • +
+
    +
  • Games

    lang
  • +
  • + Robot Fire +
  • +
+
    +
  • Other Projects

    lang
  • +
  • + cloudberrygames +
  • +
  • + northfamily +
  • +
+
+
); diff --git a/app/page.tsx b/app/page.tsx index c034f6f..fd11444 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,17 +1,6 @@ -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 BlogArea from "../components/blogpost"; -import MainHeader from "@/components/header/main"; // Mock data for blog posts const blogposts = [ @@ -47,77 +36,8 @@ const blogposts = [ export default function Home() { return ( -
- - -
- -
- -
-
    -
  • Socials

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

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

    lang
  • -
  • - cloudberrygames -
  • -
  • - northfamily -
  • -
-
-
+
+ +
); }