54 lines
1.5 KiB
TypeScript
54 lines
1.5 KiB
TypeScript
import type { Metadata } from 'next'
|
|
import { JetBrains_Mono } from 'next/font/google'
|
|
import './globals.css'
|
|
|
|
const jetbrainsMono = JetBrains_Mono({ subsets: ['latin'], variable: '--font-mono' })
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
template: '%s | Terminal Blog',
|
|
default: 'Terminal Blog - Build. Write. Share.',
|
|
},
|
|
description: 'Explorează idei despre dezvoltare, design și tehnologie',
|
|
metadataBase: new URL('http://localhost:3000'),
|
|
authors: [{ name: 'Terminal User' }],
|
|
keywords: ['blog', 'dezvoltare web', 'nextjs', 'react', 'typescript', 'terminal'],
|
|
openGraph: {
|
|
type: 'website',
|
|
locale: 'ro_RO',
|
|
siteName: 'Terminal Blog',
|
|
},
|
|
robots: {
|
|
index: true,
|
|
follow: true,
|
|
},
|
|
icons: {
|
|
icon: '/favicon.ico',
|
|
},
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<html lang="ro" className={jetbrainsMono.variable}>
|
|
<body className="font-mono bg-zinc-900 text-slate-100">
|
|
{children}
|
|
|
|
{/* Footer - from worktree-agent-1 */}
|
|
<footer className="border-t-4 border-slate-800 bg-slate-900">
|
|
<div className="container mx-auto px-4 py-8">
|
|
<div className="border-2 border-slate-800 p-6">
|
|
<p className="text-center text-slate-500 font-mono text-xs uppercase tracking-wider">
|
|
© 2025 // BLOG & PORTOFOLIU // ALL RIGHTS RESERVED
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|