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
Liam 4cfc368f96
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m13s
Publish Docker Image / docker (ubuntu-latest) (push) Successful in 51s
cleanup and cache the paste response 5 mins
2024-04-23 16:37:33 +01:00

32 lines
723 B
TypeScript

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