2024-11-10 23:12:38 +01:00
|
|
|
import React from "react";
|
2024-11-03 15:29:30 +01:00
|
|
|
import type {Metadata} from "next";
|
2024-11-10 23:12:38 +01:00
|
|
|
import {Inter} from "next/font/google";
|
|
|
|
|
|
2024-11-03 11:30:44 +01:00
|
|
|
import "./globals.css";
|
2024-11-03 15:29:30 +01:00
|
|
|
import {Providers} from "./providers";
|
|
|
|
|
import {cn} from "@/lib/utils";
|
2024-11-03 11:30:44 +01:00
|
|
|
|
2024-11-03 15:29:30 +01:00
|
|
|
|
|
|
|
|
const inter = Inter({subsets: ["latin"]});
|
2024-11-03 11:30:44 +01:00
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
2024-11-03 21:12:40 +01:00
|
|
|
title: "Portabase",
|
|
|
|
|
description: "Manage all your database instances from one place !",
|
2024-11-03 11:30:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
2024-11-03 15:29:30 +01:00
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
children: React.ReactNode;
|
2024-11-03 11:30:44 +01:00
|
|
|
}>) {
|
2024-11-03 15:29:30 +01:00
|
|
|
return (
|
2025-01-01 20:00:11 +01:00
|
|
|
<html lang="en" suppressHydrationWarning>
|
2025-01-12 12:30:32 +01:00
|
|
|
<body
|
|
|
|
|
className={cn(inter.className, "h-full")}
|
|
|
|
|
>
|
2024-11-10 23:12:38 +01:00
|
|
|
<Providers>
|
|
|
|
|
{children}
|
|
|
|
|
</Providers>
|
|
|
|
|
</body>
|
2024-11-03 15:29:30 +01:00
|
|
|
</html>
|
|
|
|
|
);
|
2024-11-03 11:30:44 +01:00
|
|
|
}
|