Files
portabase/app/layout.tsx
T

32 lines
753 B
TypeScript
Raw Normal View History

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 (
<html lang="en">
2024-11-10 23:12:38 +01: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
}