- Added "@tailwindcss/postcss" to package.json dependencies. - Updated "tailwindcss" version to "^4.3.0" in package.json. - Modified postcss.config.mjs to use "@tailwindcss/postcss" instead of "tailwindcss". - Changed darkMode configuration in tailwind.config.ts to a string format.
32 lines
701 B
TypeScript
32 lines
701 B
TypeScript
import type { Metadata } from "next";
|
|
import "./globals.css";
|
|
import { Geist } from "next/font/google";
|
|
import { cn } from "@/lib/utils";
|
|
import { Toaster } from "react-hot-toast";
|
|
|
|
const geist = Geist({ subsets: ["latin"], variable: "--font-sans" });
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Cognis",
|
|
description: "Self-hosted freelancer operating dashboard",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html
|
|
lang="tr"
|
|
className={cn("font-sans", geist.variable)}
|
|
suppressHydrationWarning
|
|
>
|
|
<body>
|
|
{children}
|
|
<Toaster position="top-right" />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|