mirror of
https://github.com/luxfi/ai.git
synced 2026-10-30 17:02:43 +00:00
49 lines
1.4 KiB
TypeScript
49 lines
1.4 KiB
TypeScript
import './global.css';
|
|
import { RootProvider } from 'fumadocs-ui/provider';
|
|
import { Inter } from 'next/font/google';
|
|
import type { ReactNode } from 'react';
|
|
|
|
const inter = Inter({
|
|
subsets: ['latin'],
|
|
variable: '--font-geist-sans',
|
|
display: 'swap',
|
|
});
|
|
|
|
export const metadata = {
|
|
title: {
|
|
default: 'Lux AI - Decentralized AI Compute Network',
|
|
template: '%s | Lux AI',
|
|
},
|
|
description: 'GPU mining for AI inference. Earn rewards by contributing compute to the decentralized AI network.',
|
|
keywords: ['Lux', 'AI', 'GPU mining', 'decentralized', 'inference', 'OpenAI', 'compute', 'blockchain'],
|
|
authors: [{ name: 'Lux Network' }],
|
|
openGraph: {
|
|
title: 'Lux AI - Decentralized AI Compute Network',
|
|
description: 'GPU mining for AI inference. Earn rewards by contributing compute.',
|
|
type: 'website',
|
|
},
|
|
};
|
|
|
|
export default function Layout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<html lang="en" className={inter.variable} suppressHydrationWarning>
|
|
<body className="min-h-svh bg-background font-sans antialiased">
|
|
<RootProvider
|
|
search={{
|
|
enabled: true,
|
|
}}
|
|
theme={{
|
|
enabled: true,
|
|
defaultTheme: 'dark',
|
|
storageKey: 'lux-ai-theme',
|
|
}}
|
|
>
|
|
<div className="relative flex min-h-svh flex-col bg-background">
|
|
{children}
|
|
</div>
|
|
</RootProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|