feat(ui): upgrade design tokens, typography, and animation engine
This commit is contained in:
+13
-7
@@ -1,5 +1,5 @@
|
||||
import type { Metadata } from 'next';
|
||||
import { Plus_Jakarta_Sans, Outfit } from 'next/font/google';
|
||||
import { Plus_Jakarta_Sans, Outfit, JetBrains_Mono } from 'next/font/google';
|
||||
import './globals.css';
|
||||
import { getSiteConfig } from '@/lib/config/loader';
|
||||
import { Navbar } from '@/components/ui/Navbar';
|
||||
@@ -17,14 +17,20 @@ const displayFont = Outfit({
|
||||
display: 'swap',
|
||||
});
|
||||
|
||||
const monoFont = JetBrains_Mono({
|
||||
subsets: ['latin'],
|
||||
variable: '--font-mono',
|
||||
display: 'swap',
|
||||
});
|
||||
|
||||
export async function generateMetadata(): Promise<Metadata> {
|
||||
const config = getSiteConfig();
|
||||
return {
|
||||
title: {
|
||||
default: `${config.brand.name} | Advanced AI Photo Tools & Creative Tech`,
|
||||
default: `${config.brand.name} | Next-Gen AI Vision & Creative Tools Studio`,
|
||||
template: config.seo.titleTemplate || `%s | ${config.brand.name}`,
|
||||
},
|
||||
description: 'Commercial-grade neural vision models for instant portrait retouching, hair-strand matting background cutouts, and 4K photo restoration.',
|
||||
description: 'Commercial-grade neural vision models for sub-pore portrait retouching, hair-strand matting background cutouts, and 4K photo restoration.',
|
||||
metadataBase: new URL(config.seo.siteUrl || 'http://localhost:3000'),
|
||||
keywords: [
|
||||
'CRE Innovations',
|
||||
@@ -40,13 +46,13 @@ export async function generateMetadata(): Promise<Metadata> {
|
||||
openGraph: {
|
||||
type: 'website',
|
||||
siteName: config.brand.name,
|
||||
title: `${config.brand.name} | AI Photo Tools`,
|
||||
title: `${config.brand.name} | Advanced AI Photo Tools`,
|
||||
description: 'Free online AI photo tools with zero photo retention and native mobile app handoff.',
|
||||
images: [{ url: '/brand/og-default.png', width: 1200, height: 630, alt: config.brand.name }],
|
||||
},
|
||||
twitter: {
|
||||
card: 'summary_large_image',
|
||||
title: `${config.brand.name} | AI Photo Tools`,
|
||||
title: `${config.brand.name} | Advanced AI Photo Tools`,
|
||||
description: 'Free online AI photo tools with zero storage and native mobile app handoff.',
|
||||
images: ['/brand/og-default.png'],
|
||||
},
|
||||
@@ -74,14 +80,14 @@ export default function RootLayout({
|
||||
};
|
||||
|
||||
return (
|
||||
<html lang="en" className={`${sansFont.variable} ${displayFont.variable}`}>
|
||||
<html lang="en" className={`${sansFont.variable} ${displayFont.variable} ${monoFont.variable} dark`}>
|
||||
<head>
|
||||
<script
|
||||
type="application/ld+json"
|
||||
dangerouslySetInnerHTML={{ __html: JSON.stringify(organizationJsonLd) }}
|
||||
/>
|
||||
</head>
|
||||
<body className="min-h-screen flex flex-col antialiased selection:bg-blue-600 selection:text-white">
|
||||
<body className="min-h-screen flex flex-col antialiased selection:bg-cyan-500 selection:text-black bg-[#05070B] text-slate-100">
|
||||
<Navbar config={config} currentLocale="en" />
|
||||
<main className="flex-1">{children}</main>
|
||||
<Footer config={config} currentLocale="en" />
|
||||
|
||||
Reference in New Issue
Block a user