Files
darkwave/app/layout.tsx

57 lines
1.5 KiB
TypeScript
Raw Permalink Normal View History

2025-03-01 06:33:09 +03:00
import type { Metadata } from "next";
import { Merriweather } from 'next/font/google';
2025-03-01 06:33:09 +03:00
import "./globals.css";
import MainHeader from "@/components/header/main";
import MainFooter from "@/components/footer/main";
2025-03-01 06:33:09 +03:00
export const metadata: Metadata = {
title: "Ader Konstantin Blog",
description: "Welcome to AderKI Blog. There will be posts about digital design and computer architecture",
2026-02-05 12:39:59 +03:00
keywords: ["blog", "risc-v"],
authors: [{ name: "Ader Konstantin" }],
openGraph: {
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
width: 800,
height: 600,
alt: "AderKI Blog Logo",
},
],
siteName: "Ader Konstantin Blog",
},
icons: {
icon: "/images/favicon.ico", // Path to your favicon
},
2025-03-01 06:33:09 +03:00
};
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;
}) {
2025-03-01 06:33:09 +03:00
return (
<html className="dark" lang="en">
<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 />
</div>
2025-03-01 06:33:09 +03:00
</body>
</html>
);
}