2025-03-01 06:33:09 +03:00
|
|
|
import type { Metadata } from "next";
|
2026-01-20 01:40:18 +03:00
|
|
|
import { Merriweather } from 'next/font/google';
|
2025-03-01 06:33:09 +03:00
|
|
|
import "./globals.css";
|
|
|
|
|
|
2025-03-26 14:17:58 +03:00
|
|
|
import MainHeader from "@/components/header/main";
|
2025-03-26 15:38:02 +03:00
|
|
|
import MainFooter from "@/components/footer/main";
|
2025-03-01 06:33:09 +03:00
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
2026-01-20 01:40:18 +03:00
|
|
|
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"],
|
2026-01-20 01:40:18 +03:00
|
|
|
authors: [{ name: "Ader Konstantin" }],
|
2025-03-01 07:10:28 +03:00
|
|
|
openGraph: {
|
2026-01-20 01:40:18 +03:00
|
|
|
title: "AderKI Blog",
|
|
|
|
|
description: "Welcome to AderKI Blog. There will be posts about digital design and computer architecture",
|
|
|
|
|
url: "https://blog.aderk.org/",
|
2025-03-01 07:10:28 +03:00
|
|
|
images: [
|
|
|
|
|
{
|
2026-01-20 01:40:18 +03:00
|
|
|
url: "/images/logo.png", // Path to your Open Graph image
|
2025-03-01 07:10:28 +03:00
|
|
|
width: 800,
|
|
|
|
|
height: 600,
|
2026-01-20 01:40:18 +03:00
|
|
|
alt: "AderKI Blog Logo",
|
2025-03-01 07:10:28 +03:00
|
|
|
},
|
|
|
|
|
],
|
2026-01-20 01:40:18 +03:00
|
|
|
siteName: "Ader Konstantin Blog",
|
2025-03-01 07:10:28 +03:00
|
|
|
},
|
|
|
|
|
icons: {
|
2026-01-20 01:40:18 +03:00
|
|
|
icon: "/images/favicon.ico", // Path to your favicon
|
2025-03-01 07:10:28 +03:00
|
|
|
},
|
2025-03-01 06:33:09 +03:00
|
|
|
};
|
|
|
|
|
|
2026-01-20 01:40:18 +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 (
|
2025-03-26 20:58:40 +03:00
|
|
|
<html className="dark" lang="en">
|
2026-01-20 01:40:18 +03:00
|
|
|
<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">
|
2025-03-26 14:17:58 +03:00
|
|
|
<MainHeader />
|
|
|
|
|
{children}
|
2025-03-26 15:38:02 +03:00
|
|
|
<MainFooter />
|
2025-03-26 14:17:58 +03:00
|
|
|
</div>
|
2025-03-01 06:33:09 +03:00
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|