✨ 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:
@@ -13,19 +13,34 @@ const geistMono = Geist_Mono({
|
|||||||
});
|
});
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "Create Next App",
|
title: 'AderKI Blog',
|
||||||
description: "Generated by create next app",
|
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({
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||||
children,
|
|
||||||
}: Readonly<{
|
|
||||||
children: React.ReactNode;
|
|
||||||
}>) {
|
|
||||||
return (
|
return (
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<body
|
<body
|
||||||
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
className={`bg-black text-white font-sans`}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
126
app/page.tsx
126
app/page.tsx
@@ -2,99 +2,45 @@ import Image from "next/image";
|
|||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
return (
|
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)]">
|
<div className="text-xl mx-24">
|
||||||
<main className="flex flex-col gap-8 row-start-2 items-center sm:items-start">
|
<header className="flex flex-col">
|
||||||
<Image
|
<div className="flex flex-row mt-12 mb-22">
|
||||||
className="dark:invert"
|
<ul className="w-full flex flex-row justify-between list-none">
|
||||||
src="/next.svg"
|
<li className="text-6xl p-2 pr-0">
|
||||||
alt="Next.js logo"
|
<a href="https://aderk.tech/" className="text-white no-underline relative hover:text-white">
|
||||||
width={180}
|
AderKI
|
||||||
height={38}
|
</a>
|
||||||
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>
|
||||||
<li>Save and see your changes instantly.</li>
|
</ul>
|
||||||
</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>
|
</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>
|
</main>
|
||||||
<footer className="row-start-3 flex gap-6 flex-wrap items-center justify-center">
|
|
||||||
<a
|
<footer className="border-t border-white pt-4 flex flex-row justify-around text-2xl">
|
||||||
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
|
<ul className="list-none m-4">
|
||||||
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
<li className="text-3xl"><h3>Socials</h3></li>
|
||||||
target="_blank"
|
<li className="p-3 text-xl"><a href="https://www.instagram.com/aderkitty/">Instagram</a></li>
|
||||||
rel="noopener noreferrer"
|
<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>
|
||||||
<Image
|
<li className="p-3 text-xl"><a href="https://steamcommunity.com/yourprofile">Steam</a></li>
|
||||||
aria-hidden
|
</ul>
|
||||||
src="/file.svg"
|
<ul className="list-none m-4">
|
||||||
alt="File icon"
|
<li className="text-3xl"><h3>Games</h3></li>
|
||||||
width={16}
|
<li className="p-3 text-xl"><a href="#">Joe The Rabbit</a></li>
|
||||||
height={16}
|
</ul>
|
||||||
/>
|
<ul className="list-none m-4">
|
||||||
Learn
|
<li className="text-3xl"><h3>Other Projects</h3></li>
|
||||||
</a>
|
<li className="p-3 text-xl"><a href="#">Ader Berry Bot (Telegram)</a></li>
|
||||||
<a
|
<li className="p-3 text-xl"><a href="#">Store</a></li>
|
||||||
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
|
</ul>
|
||||||
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>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user