53 lines
1.3 KiB
TypeScript
53 lines
1.3 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Inter } from "next/font/google";
|
|
import "./globals.css";
|
|
import Navbar from "@/components/Navbar";
|
|
import Footer from "@/components/Footer";
|
|
|
|
const inter = Inter({
|
|
subsets: ["latin"],
|
|
variable: "--font-inter",
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "CiMa Progetti | Digital Architecture & Integration",
|
|
description:
|
|
"Progettiamo la struttura digitale del vostro business. Portali, database, e-commerce, automazioni IA e cybersicurezza.",
|
|
icons: {
|
|
icon: [
|
|
{
|
|
url: "/favicon-light.svg",
|
|
type: "image/svg+xml",
|
|
media: "(prefers-color-scheme: light)",
|
|
},
|
|
{
|
|
url: "/favicon-dark.svg",
|
|
type: "image/svg+xml",
|
|
media: "(prefers-color-scheme: dark)",
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="it" className={`${inter.variable} scroll-smooth`}>
|
|
<head>
|
|
<link
|
|
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
</head>
|
|
<body className="min-h-screen flex flex-col">
|
|
<Navbar />
|
|
<main className="flex-1">{children}</main>
|
|
<Footer />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|