🌈 style: updated metadata and main layout
This commit is contained in:
@@ -1,38 +1,51 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
|
import { Merriweather } from 'next/font/google';
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
|
|
||||||
import MainHeader from "@/components/header/main";
|
import MainHeader from "@/components/header/main";
|
||||||
import MainFooter from "@/components/footer/main";
|
import MainFooter from "@/components/footer/main";
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: 'AderKI Blog',
|
title: "Ader Konstantin Blog",
|
||||||
description: 'Welcome to AderKI Blog. There will be posts about science',
|
description: "Welcome to AderKI Blog. There will be posts about digital design and computer architecture",
|
||||||
keywords: ['AderKI', 'hoodies', 'comics', 'books', 'store', 'blog'],
|
keywords: ["AderKI", "blog", "computer"],
|
||||||
authors: [{ name: 'AderKI' }],
|
authors: [{ name: "Ader Konstantin" }],
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: 'AderKI Blog',
|
title: "AderKI Blog",
|
||||||
description: 'Welcome to AderKI Blog. There will be posts about science',
|
description: "Welcome to AderKI Blog. There will be posts about digital design and computer architecture",
|
||||||
url: 'https://blog.aderk.tech/',
|
url: "https://blog.aderk.org/",
|
||||||
images: [
|
images: [
|
||||||
{
|
{
|
||||||
url: '/images/logo.png', // Path to your Open Graph image
|
url: "/images/logo.png", // Path to your Open Graph image
|
||||||
width: 800,
|
width: 800,
|
||||||
height: 600,
|
height: 600,
|
||||||
alt: 'AderKI Blog Logo',
|
alt: "AderKI Blog Logo",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
siteName: 'AderKI Blog',
|
siteName: "Ader Konstantin Blog",
|
||||||
},
|
},
|
||||||
icons: {
|
icons: {
|
||||||
icon: '/images/favicon.ico', // Path to your favicon
|
icon: "/images/favicon.ico", // Path to your favicon
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
import { Source_Serif_4 } from 'next/font/google';
|
||||||
|
|
||||||
|
const sourceSerif = Source_Serif_4({
|
||||||
|
subsets: ['latin', 'cyrillic'],
|
||||||
|
display: 'swap',
|
||||||
|
});
|
||||||
|
export default function RootLayout({
|
||||||
|
children,
|
||||||
|
}: {
|
||||||
|
children: React.ReactNode;
|
||||||
|
}) {
|
||||||
return (
|
return (
|
||||||
<html className="dark" lang="en">
|
<html className="dark" lang="en">
|
||||||
<body className={`bg-black text-white dark:bg-white dark:text-black font-sans`}>
|
<body
|
||||||
<div className="text-xl 2xl:mx-80 xl:mx-36 md:mx-6">
|
className={`${sourceSerif.className} dark:bg- dark:text-white bg-white text-black font-sans`}
|
||||||
|
>
|
||||||
|
<div className="text-xl 2xl:mx-75 xl:mx-36 md:mx-6">
|
||||||
<MainHeader />
|
<MainHeader />
|
||||||
{children}
|
{children}
|
||||||
<MainFooter />
|
<MainFooter />
|
||||||
|
|||||||
Reference in New Issue
Block a user