Use basePath for internal links and export from next.config.ts
This commit is contained in:
@@ -2,6 +2,7 @@ import "./globals.css";
|
||||
import {Inter} from "next/font/google";
|
||||
import Navbar from "@/components/Navbar";
|
||||
import Footer from "@/components/Footer";
|
||||
import React from "react";
|
||||
|
||||
const inter = Inter({subsets: ["latin"]});
|
||||
|
||||
@@ -10,7 +11,8 @@ export const metadata = {
|
||||
description: "Kompetente Rechtsberatung in allen Lebenslagen",
|
||||
};
|
||||
|
||||
export default function RootLayout({children}: { children: React.ReactNode }) {
|
||||
export default function RootLayout(
|
||||
{children}: Readonly<{ children: React.ReactNode }>) {
|
||||
return (
|
||||
<html lang="de">
|
||||
<body className={inter.className}>
|
||||
|
||||
Reference in New Issue
Block a user