mirror of
https://github.com/lux-apps/help.git
synced 2026-10-30 18:15:09 +00:00
One family. Font stacks name Zen and fall back to the native faces, tokens name the role rather than a face, and the packages that used to supply a face now point at @hanzo/font. Self-hosted @font-face blocks are removed rather than renamed: rewriting the family in one would leave a src pointing at a file this repo no longer ships. @hanzo/font carries the binaries and declares the faces, so the local copies go with the declaration that used them. Comments naming a face we no longer use are deleted, not reworded.
48 lines
1.2 KiB
TypeScript
48 lines
1.2 KiB
TypeScript
import type { Metadata } from 'next';
|
|
import { Inter } from 'next/font/google';
|
|
import { ThemeProvider } from 'next-themes';
|
|
import './global.css';
|
|
|
|
const inter = Inter({
|
|
subsets: ['latin'],
|
|
variable: '--font-sans',
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Lux Help Center',
|
|
description: 'Get help with Lux Network - documentation, guides, and support resources.',
|
|
metadataBase: new URL('https://lux.help'),
|
|
openGraph: {
|
|
title: 'Lux Help Center',
|
|
description: 'Get help with Lux Network - documentation, guides, and support resources.',
|
|
siteName: 'Lux Help',
|
|
type: 'website',
|
|
},
|
|
twitter: {
|
|
card: 'summary_large_image',
|
|
title: 'Lux Help Center',
|
|
description: 'Get help with Lux Network - documentation, guides, and support resources.',
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning className={inter.variable}>
|
|
<body className="min-h-screen bg-background text-foreground antialiased">
|
|
<ThemeProvider
|
|
attribute="class"
|
|
defaultTheme="system"
|
|
enableSystem
|
|
disableTransitionOnChange
|
|
>
|
|
{children}
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|