fixed mobile view

This commit is contained in:
2026-04-09 17:17:34 +02:00
parent d3f9496c05
commit c7011c5574
10 changed files with 32 additions and 27 deletions
+7 -2
View File
@@ -1,4 +1,4 @@
import type { Metadata } from "next";
import type { Metadata, Viewport } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import Navbar from "@/components/Navbar";
@@ -9,6 +9,12 @@ const inter = Inter({
variable: "--font-inter",
});
export const viewport: Viewport = {
width: "device-width",
initialScale: 1,
viewportFit: "cover",
};
export const metadata: Metadata = {
title: "CiMa Progetti | Digital Architecture & Integration",
description:
@@ -64,7 +70,6 @@ export default function RootLayout({
/>
{/* Optimize LCP by reducing render-blocking resources */}
<meta name="viewport" content="viewport-fit=cover" />
</head>
<body className="min-h-screen flex flex-col">
<Navbar />