- Reorganize into apps/, packages/, docs/, e2e/, pocketbase/ directories - Add Dockerfiles for web, worker, and PocketBase services - Add docker-compose.yml for local orchestration - Add turbo.json for monorepo task management - Add Playwright e2e test infrastructure - Add PocketBase backend with migrations - Remove Vite/Next.js/ESLint/PostCSS config files - Update package.json with workspace dependencies - Add .env.example and .dockerignore
46 lines
1.2 KiB
TypeScript
46 lines
1.2 KiB
TypeScript
import type { Metadata, Viewport } from 'next';
|
|
import { Geist, Geist_Mono } from 'next/font/google';
|
|
import { ThemeProvider } from '@/components/theme-provider';
|
|
import { Toaster } from '@/components/ui/sonner';
|
|
import './globals.css';
|
|
|
|
const geistSans = Geist({
|
|
variable: '--font-geist-sans',
|
|
subsets: ['latin'],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: '--font-geist-mono',
|
|
subsets: ['latin'],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Project E — Your personal operating system',
|
|
description:
|
|
'Tasks, habits, projects, notes, reports, and agents in one calm workspace.',
|
|
};
|
|
|
|
export const viewport: Viewport = {
|
|
width: 'device-width',
|
|
initialScale: 1,
|
|
themeColor: [
|
|
{ media: '(prefers-color-scheme: light)', color: '#f2f3ef' },
|
|
{ media: '(prefers-color-scheme: dark)', color: '#17241e' },
|
|
],
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<body className={`${geistSans.variable} ${geistMono.variable} antialiased`}>
|
|
<ThemeProvider>{children}</ThemeProvider>
|
|
<Toaster position="top-right" />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|