diff --git a/next.config.mjs b/next.config.mjs index 9f99cf3..3182a51 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,5 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { + output: "export", trailingSlash: true, distDir: "dist", }; diff --git a/src/app/layout.tsx b/src/app/layout.tsx index b2412d3..08dfc65 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -4,6 +4,7 @@ import { Suspense } from "react"; import { Inter } from "next/font/google"; import YandexMetrika from "@components/YandexMetrika"; import "./globals.css"; +import Head from "next/head"; const inter = Inter({ subsets: ["cyrillic", "latin"] }); @@ -19,15 +20,40 @@ export default function RootLayout({ return ( - - }> - -
{children}
+ );