feat: implement Sleepy sleep diary

This commit is contained in:
2026-10-11 12:45:09 +07:00
commit a0fa0e0e56
27 changed files with 8356 additions and 0 deletions

17
app/layout.tsx Normal file
View File

@@ -0,0 +1,17 @@
import type { Metadata, Viewport } from 'next';
import { ServiceWorker } from '@/components/ServiceWorker';
import './globals.css';
export const metadata: Metadata = {
title: 'Sleepy - дневник сна',
description: 'Простой дневник сна для наблюдения за динамикой.',
manifest: '/manifest.webmanifest',
icons: { icon: '/favicon.svg', apple: '/favicon.svg' },
appleWebApp: { capable: true, title: 'Sleepy', statusBarStyle: 'default' },
};
export const viewport: Viewport = { themeColor: '#f5f4ed' };
export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
return <html lang="ru"><body><ServiceWorker />{children}</body></html>;
}