Refactor and redesign law firm demo page with new layout

This commit is contained in:
2025-06-07 22:21:11 +02:00
parent 5e5237ab10
commit eb0dfff3a9
7 changed files with 237 additions and 134 deletions

View File

@@ -1,34 +1,23 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import {Inter} from "next/font/google";
import Navbar from "@/components/Navbar";
import Footer from "@/components/Footer";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const inter = Inter({subsets: ["latin"]});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
export const metadata = {
title: "Kanzlei Mustermann",
description: "Kompetente Rechtsberatung in allen Lebenslagen",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
</body>
</html>
);
export default function RootLayout({children}: { children: React.ReactNode }) {
return (
<html lang="de">
<body className={inter.className}>
<Navbar/>
<main>{children}</main>
<Footer/>
</body>
</html>
);
}