This repository has been archived on 2024-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Frontend/src/app/layout.tsx

32 lines
723 B
TypeScript
Raw Normal View History

import "./globals.css";
2024-04-23 01:42:30 +01:00
import type { Metadata } from "next";
2024-04-23 03:22:31 +01:00
import { ThemeProvider } from "@/app/components/theme-provider";
import { ReactNode } from "react";
2024-04-23 03:22:31 +01:00
import { jetbrainsMono } from "@/app/common/font/font";
2024-04-23 01:42:30 +01:00
export const metadata: Metadata = {
2024-04-23 03:22:31 +01:00
title: "Paste",
description: "A simple Pastebin service",
2024-04-23 01:42:30 +01:00
};
export default function RootLayout({
children,
}: Readonly<{
children: ReactNode;
2024-04-23 01:42:30 +01:00
}>) {
return (
<html lang="en">
2024-04-23 03:22:31 +01:00
<body className={jetbrainsMono.className}>
<ThemeProvider
attribute="class"
defaultTheme="dark"
enableSystem
disableTransitionOnChange
>
{children}
</ThemeProvider>
</body>
2024-04-23 01:42:30 +01:00
</html>
);
}