initial webapp
This commit is contained in:
@@ -1,22 +1,23 @@
|
||||
import type { Metadata, Viewport } from "next";
|
||||
import { Inter } from "next/font/google";
|
||||
import PlausibleProvider from "next-plausible";
|
||||
import "./globals.css";
|
||||
import { cn } from "@/lib/utils";
|
||||
import type { Metadata, Viewport } from 'next';
|
||||
import { Inter } from 'next/font/google';
|
||||
import PlausibleProvider from 'next-plausible';
|
||||
import './globals.css';
|
||||
import { cn } from '@/lib/utils';
|
||||
import { Providers } from './providers';
|
||||
|
||||
const inter = Inter({ subsets: ["latin"], variable: "--font-sans" });
|
||||
const inter = Inter({ subsets: ['latin'], variable: '--font-sans' });
|
||||
|
||||
export const viewport: Viewport = {
|
||||
colorScheme: "dark",
|
||||
colorScheme: 'dark',
|
||||
themeColor: [
|
||||
//{ media: "(prefers-color-scheme: light)", color: "#f5f5f5" },
|
||||
//{ media: "(prefers-color-scheme: dark)", color: "#171717" },
|
||||
{ color: "#052e16" },
|
||||
{ color: '#052e16' },
|
||||
],
|
||||
};
|
||||
export const metadata: Metadata = {
|
||||
title: "Track Every Day!",
|
||||
description: "A web app for tracking habits, activities and vices.",
|
||||
title: 'Track Every Day!',
|
||||
description: 'A web app for tracking habits, activities and vices.',
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
@@ -35,13 +36,8 @@ export default function RootLayout({
|
||||
trackOutboundLinks={true}
|
||||
/>
|
||||
</head>
|
||||
<body
|
||||
className={cn(
|
||||
"min-h-screen bg-background font-sans antialiased",
|
||||
inter.variable
|
||||
)}
|
||||
>
|
||||
{children}
|
||||
<body className={cn('bg-background min-h-screen font-sans antialiased', inter.variable)}>
|
||||
<Providers>{children}</Providers>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
Reference in New Issue
Block a user