deniz bektaş
This commit is contained in:
@@ -1,33 +1,82 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import "./globals.css";
|
||||
|
||||
const geistSans = Geist({
|
||||
variable: "--font-geist-sans",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
import { ThemeProvider } from "@/components/ThemeProvider";
|
||||
import Navigation from "@/components/Navigation";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Create Next App",
|
||||
description: "Generated by create next app",
|
||||
title: {
|
||||
default: "Deniz Bektaş | Application Security Engineer",
|
||||
template: "%s | Deniz Bektaş",
|
||||
},
|
||||
description: "Siber güvenlik uzmanı, red teamer ve araştırmacı.",
|
||||
keywords: ["deniz bektas", "siber güvenlik", "red team", "infosec", "penetration testing", "bugresearch"],
|
||||
authors: [{ name: "Deniz Bektaş" }],
|
||||
openGraph: {
|
||||
type: "website",
|
||||
locale: "tr_TR",
|
||||
siteName: "denizbektas.com.tr",
|
||||
},
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html
|
||||
lang="en"
|
||||
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
|
||||
>
|
||||
<body className="min-h-full flex flex-col">{children}</body>
|
||||
<html lang="tr" suppressHydrationWarning>
|
||||
<head>
|
||||
<link
|
||||
rel="alternate"
|
||||
type="application/rss+xml"
|
||||
title="Deniz Bektaş - Tüm İçerikler"
|
||||
href="/api/rss/all"
|
||||
/>
|
||||
<link
|
||||
rel="alternate"
|
||||
type="application/rss+xml"
|
||||
title="Deniz Bektaş - Blog"
|
||||
href="/api/rss/blog"
|
||||
/>
|
||||
<link
|
||||
rel="alternate"
|
||||
type="application/rss+xml"
|
||||
title="Deniz Bektaş - Infosec"
|
||||
href="/api/rss/infosec"
|
||||
/>
|
||||
</head>
|
||||
<body suppressHydrationWarning>
|
||||
<ThemeProvider>
|
||||
<div
|
||||
style={{
|
||||
display: "flex",
|
||||
minHeight: "100vh",
|
||||
}}
|
||||
>
|
||||
<Navigation />
|
||||
<main
|
||||
style={{
|
||||
flex: 1,
|
||||
minWidth: 0,
|
||||
padding: "2rem",
|
||||
paddingTop: "2rem",
|
||||
}}
|
||||
className="main-content"
|
||||
>
|
||||
{children}
|
||||
</main>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
<style>{`
|
||||
@media (max-width: 768px) {
|
||||
.main-content {
|
||||
padding-top: 4rem !important;
|
||||
padding-left: 1rem !important;
|
||||
padding-right: 1rem !important;
|
||||
}
|
||||
}
|
||||
`}</style>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user