mirror of
https://codeberg.org/MarkusThielker/finances.git
synced 2025-04-12 05:08:43 +00:00
32 lines
777 B
TypeScript
32 lines
777 B
TypeScript
import type { Metadata } from 'next';
|
|
import { Inter } from 'next/font/google';
|
|
import './globals.css';
|
|
import { cn } from '@/lib/utils';
|
|
import { Toaster } from '@/components/ui/sonner';
|
|
import React from 'react';
|
|
import Navigation from '@/components/navigation';
|
|
|
|
const inter = Inter({subsets: ['latin']});
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Finances',
|
|
description: 'Track your finances with ease',
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={cn('dark', inter.className)}>
|
|
<Navigation/>
|
|
<main className="p-4 sm:p-8">
|
|
{children}
|
|
</main>
|
|
<Toaster/>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|