🖼️ updated landing page styling
This commit was merged in pull request #1.
This commit is contained in:
@@ -1,65 +1,52 @@
|
||||
import type { Metadata } from 'next'
|
||||
import { Inter } from 'next/font/google'
|
||||
import Link from 'next/link'
|
||||
import { JetBrains_Mono } from 'next/font/google'
|
||||
import './globals.css'
|
||||
|
||||
const inter = Inter({ subsets: ['latin'] })
|
||||
const jetbrainsMono = JetBrains_Mono({ subsets: ['latin'], variable: '--font-mono' })
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: {
|
||||
template: '%s | Blog & Portofoliu',
|
||||
default: 'Blog & Portofoliu',
|
||||
template: '%s | Terminal Blog',
|
||||
default: 'Terminal Blog - Build. Write. Share.',
|
||||
},
|
||||
description: 'Blog personal despre dezvoltare web și design',
|
||||
description: 'Explorează idei despre dezvoltare, design și tehnologie',
|
||||
metadataBase: new URL('http://localhost:3000'),
|
||||
authors: [{ name: 'Nume Autor' }],
|
||||
keywords: ['blog', 'dezvoltare web', 'nextjs', 'react', 'typescript'],
|
||||
authors: [{ name: 'Terminal User' }],
|
||||
keywords: ['blog', 'dezvoltare web', 'nextjs', 'react', 'typescript', 'terminal'],
|
||||
openGraph: {
|
||||
type: 'website',
|
||||
locale: 'ro_RO',
|
||||
siteName: 'Blog & Portofoliu',
|
||||
siteName: 'Terminal Blog',
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
icons: {
|
||||
icon: '/favicon.ico',
|
||||
},
|
||||
}
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
breadcrumbs,
|
||||
}: {
|
||||
children: React.ReactNode
|
||||
breadcrumbs: React.ReactNode
|
||||
}) {
|
||||
return (
|
||||
<html lang="ro">
|
||||
<body className={inter.className}>
|
||||
<div className="min-h-screen bg-white dark:bg-gray-900">
|
||||
<header className="border-b border-gray-200 dark:border-gray-700">
|
||||
<nav className="container mx-auto px-4 py-4">
|
||||
<div className="flex items-center justify-between">
|
||||
<Link href="/" className="text-2xl font-bold text-primary-600">
|
||||
Blog
|
||||
</Link>
|
||||
<div className="flex space-x-6">
|
||||
<Link href="/" className="hover:text-primary-600">Acasă</Link>
|
||||
<Link href="/blog" className="hover:text-primary-600">Blog</Link>
|
||||
<Link href="/about" className="hover:text-primary-600">Despre</Link>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
{breadcrumbs}
|
||||
<main className="container mx-auto px-4 py-8">
|
||||
{children}
|
||||
</main>
|
||||
<footer className="border-t border-gray-200 dark:border-gray-700 mt-12">
|
||||
<div className="container mx-auto px-4 py-6 text-center text-gray-600 dark:text-gray-400">
|
||||
© 2025 Blog & Portofoliu. Toate drepturile rezervate.
|
||||
<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>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user