feat: Update site metadata and styling

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.
This commit is contained in:
AderKonstantin
2025-03-01 07:10:28 +03:00
parent 326439fd41
commit 775942d71a
2 changed files with 60 additions and 99 deletions

View File

@@ -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 (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
className={`bg-black text-white font-sans`}
>
{children}
</body>

View File

@@ -2,99 +2,45 @@ import Image from "next/image";
export default function Home() {
return (
<div className="grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20 font-[family-name:var(--font-geist-sans)]">
<main className="flex flex-col gap-8 row-start-2 items-center sm:items-start">
<Image
className="dark:invert"
src="/next.svg"
alt="Next.js logo"
width={180}
height={38}
priority
/>
<ol className="list-inside list-decimal text-sm text-center sm:text-left font-[family-name:var(--font-geist-mono)]">
<li className="mb-2">
Get started by editing{" "}
<code className="bg-black/[.05] dark:bg-white/[.06] px-1 py-0.5 rounded font-semibold">
app/page.tsx
</code>
.
</li>
<li>Save and see your changes instantly.</li>
</ol>
<div className="flex gap-4 items-center flex-col sm:flex-row">
<a
className="rounded-full border border-solid border-transparent transition-colors flex items-center justify-center bg-foreground text-background gap-2 hover:bg-[#383838] dark:hover:bg-[#ccc] text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5"
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
<Image
className="dark:invert"
src="/vercel.svg"
alt="Vercel logomark"
width={20}
height={20}
/>
Deploy now
</a>
<a
className="rounded-full border border-solid border-black/[.08] dark:border-white/[.145] transition-colors flex items-center justify-center hover:bg-[#f2f2f2] dark:hover:bg-[#1a1a1a] hover:border-transparent text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5 sm:min-w-44"
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
Read our docs
</a>
<div className="text-xl mx-24">
<header className="flex flex-col">
<div className="flex flex-row mt-12 mb-22">
<ul className="w-full flex flex-row justify-between list-none">
<li className="text-6xl p-2 pr-0">
<a href="https://aderk.tech/" className="text-white no-underline relative hover:text-white">
AderKI
</a>
</li>
</ul>
</div>
<div className="text-3xl mb-20">
<p>
Hello. This is my personal store. Here I sell hoodies, comics, books, and other items. You can buy them.
</p>
</div>
</header>
<main>
{/* Blogpost Components Here */}
</main>
<footer className="row-start-3 flex gap-6 flex-wrap items-center justify-center">
<a
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
<Image
aria-hidden
src="/file.svg"
alt="File icon"
width={16}
height={16}
/>
Learn
</a>
<a
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
<Image
aria-hidden
src="/window.svg"
alt="Window icon"
width={16}
height={16}
/>
Examples
</a>
<a
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
href="https://nextjs.org?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
<Image
aria-hidden
src="/globe.svg"
alt="Globe icon"
width={16}
height={16}
/>
Go to nextjs.org
</a>
<footer className="border-t border-white pt-4 flex flex-row justify-around text-2xl">
<ul className="list-none m-4">
<li className="text-3xl"><h3>Socials</h3></li>
<li className="p-3 text-xl"><a href="https://www.instagram.com/aderkitty/">Instagram</a></li>
<li className="p-3 text-xl"><a href="https://mastodon.social/@aderkonstantin">Mastodon</a></li>
<li className="p-3 text-xl"><a href="https://github.com/AderKonstantin">GitHub</a></li>
<li className="p-3 text-xl"><a href="https://steamcommunity.com/yourprofile">Steam</a></li>
</ul>
<ul className="list-none m-4">
<li className="text-3xl"><h3>Games</h3></li>
<li className="p-3 text-xl"><a href="#">Joe The Rabbit</a></li>
</ul>
<ul className="list-none m-4">
<li className="text-3xl"><h3>Other Projects</h3></li>
<li className="p-3 text-xl"><a href="#">Ader Berry Bot (Telegram)</a></li>
<li className="p-3 text-xl"><a href="#">Store</a></li>
</ul>
</footer>
</div>
);