2024-11-10 23:12:38 +01:00
|
|
|
import React from "react";
|
2025-07-17 09:28:57 +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-07-17 09:28:57 +02:00
|
|
|
import {Providers} from "./providers";
|
|
|
|
|
import {cn} from "@/lib/utils";
|
2024-11-03 11:30:44 +01:00
|
|
|
|
2025-07-17 09:28:57 +02:00
|
|
|
const inter = Inter({subsets: ["latin"]});
|
2024-11-03 11:30:44 +01:00
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
2025-07-17 09:28:57 +02:00
|
|
|
title: process.env.NEXT_PUBLIC_PROJECT_NAME ?? "App Title",
|
|
|
|
|
description: process.env.NEXT_PUBLIC_PROJECT_DESCRIPTION ?? undefined,
|
2024-11-03 11:30:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
2025-07-17 09:28:57 +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-07-17 09:28:57 +02:00
|
|
|
<head>
|
|
|
|
|
<meta name="apple-mobile-web-app-title" content="Portabase"/>
|
|
|
|
|
</head>
|
|
|
|
|
<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
|
|
|
}
|