Update src/app/layout.tsx
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Lexend } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
|
||||
const lexend = Lexend({
|
||||
variable: "--font-lexend", subsets: ["latin"],
|
||||
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
|
||||
});
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Blackroom Collective - Premium Creative Solutions", description: "High-end video production, professional photography, custom web design, and AI-powered automation solutions for luxury brands and premium events."};
|
||||
title: "Blackroom Collective | Premium Creative Solutions", description: "High-end video production, photography, web design, and AI-powered automation for premium brands and events."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
@@ -16,21 +13,8 @@ export default function RootLayout({
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<body className={`${lexend.variable}`}>
|
||||
{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
||||
document.documentElement.classList.add('dark')
|
||||
} else {
|
||||
document.documentElement.classList.remove('dark')
|
||||
}
|
||||
`,
|
||||
}}
|
||||
/>
|
||||
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
|
||||
Reference in New Issue
Block a user