From 775942d71ad77a2f50e011b31d9fe9a432debf15 Mon Sep 17 00:00:00 2001 From: AderKonstantin Date: Sat, 1 Mar 2025 07:10:28 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20Update=20site=20metadata=20?= =?UTF-8?q?and=20styling?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit updates the site metadata and styling in the `app/layout.tsx` file: - Changes the title to "AderKI Blog" and the description to "Welcome to AderKI Blog. Explore hoodies, comics, books, and more in my personal store." - Adds keywords, authors, and Open Graph metadata for better SEO and social sharing. - Changes the default body styles to use a black background and white text with a sans-serif font. In the `app/page.tsx` file, the changes include: - Removes the default Next.js homepage content and replaces it with a simple header section. - The header includes the site title "AderKI" and a brief description of the store. - The main content area is left empty, as it will be filled with blog post components in a future commit. These changes aim to set the foundation for the AderKI Blog, providing a more personalized and focused experience for the users. --- app/layout.tsx | 31 ++++++++---- app/page.tsx | 128 ++++++++++++++----------------------------------- 2 files changed, 60 insertions(+), 99 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index f7fa87e..8280697 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -13,19 +13,34 @@ const geistMono = Geist_Mono({ }); export const metadata: Metadata = { - title: "Create Next App", - description: "Generated by create next app", + title: 'AderKI Blog', + description: 'Welcome to AderKI Blog. Explore hoodies, comics, books, and more in my personal store.', + keywords: ['AderKI', 'hoodies', 'comics', 'books', 'store', 'blog'], + authors: [{ name: 'AderKI' }], + openGraph: { + title: 'AderKI Blog', + description: 'Welcome to AderKI Blog. Explore hoodies, comics, books, and more in my personal store.', + url: 'https://aderk.tech/', + images: [ + { + url: '/images/logo.png', // Path to your Open Graph image + width: 800, + height: 600, + alt: 'AderKI Blog Logo', + }, + ], + siteName: 'AderKI Blog', + }, + icons: { + icon: '/images/favicon.ico', // Path to your favicon + }, }; -export default function RootLayout({ - children, -}: Readonly<{ - children: React.ReactNode; -}>) { +export default function RootLayout({ children }: { children: React.ReactNode }) { return ( {children} diff --git a/app/page.tsx b/app/page.tsx index 9007252..a2c1699 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -2,99 +2,45 @@ import Image from "next/image"; export default function Home() { return ( -
-
- Next.js logo -
    -
  1. - Get started by editing{" "} - - app/page.tsx - - . -
  2. -
  3. Save and see your changes instantly.
  4. -
- -
- - Vercel logomark - Deploy now - - - Read our docs - +
+
+
+
+
+

+ Hello. This is my personal store. Here I sell hoodies, comics, books, and other items. You can buy them. +

+
+
+ +
+ {/* Blogpost Components Here */}
-
);