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