2024-11-10 23:12:38 +01:00
|
|
|
import React from "react";
|
2025-05-16 15:54:17 +02:00
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Inter } from "next/font/google";
|
2024-11-10 23:12:38 +01:00
|
|
|
|
2024-11-03 11:30:44 +01:00
|
|
|
import "./globals.css";
|
2025-05-16 15:54:17 +02:00
|
|
|
import { Providers } from "./providers";
|
|
|
|
|
import { cn } from "@/lib/utils";
|
2024-11-03 11:30:44 +01:00
|
|
|
|
2025-05-16 15:54:17 +02: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({
|
2025-05-16 15:54:17 +02:00
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
2024-11-03 15:29:30 +01:00
|
|
|
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-05-16 15:54:17 +02:00
|
|
|
<body className={cn(inter.className, "h-full")}>
|
|
|
|
|
<Providers>{children}</Providers>
|
|
|
|
|
</body>
|
2024-11-03 15:29:30 +01:00
|
|
|
</html>
|
|
|
|
|
);
|
2024-11-03 11:30:44 +01:00
|
|
|
}
|