diff --git a/index.html b/index.html index e0340d71..195b51a2 100644 --- a/index.html +++ b/index.html @@ -2,8 +2,9 @@ - - + + + Vite + React + TS diff --git a/src/app/icon.ico b/src/app/icon.ico new file mode 100644 index 00000000..d311a548 Binary files /dev/null and b/src/app/icon.ico differ diff --git a/src/app/layout.tsx b/src/app/layout.tsx index da15ffd3..3e4a289e 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -22,10 +22,23 @@ export const metadata: Metadata = { "интерактивный инструмент", "интерактивная презентация", ], - icons: { - shortcut: "https://graff.estate/icon.svg", - icon: "https://graff.estate/icon.svg", - }, + // icons: { + // shortcut: "https://graff.estate/icon.svg", + // icon: "https://graff.estate/icon.svg", + // }, + icons: [ + { rel: "icon", url: "https://graff.estate/icon.ico" }, + { + rel: "shortcut icon", + type: "image/svg+xml", + url: "https://graff.estate/icon.svg", + }, + { + rel: "icon", + type: "image/svg+xml", + url: "https://graff.estate/icon.svg", + }, + ], openGraph: { title: "Интерактивные решения для застройщиков", description: @@ -70,29 +83,36 @@ export default function RootLayout({ - - + {process.env.NODE_ENV === "production" && ( + + )} + + {process.env.NODE_ENV === "production" && ( + + )} ); diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx index 9932cb2b..a04dc746 100644 --- a/src/app/not-found.tsx +++ b/src/app/not-found.tsx @@ -1,5 +1,11 @@ -import { redirect, RedirectType } from 'next/navigation'; +import { redirect, RedirectType } from "next/navigation"; +import MainLayout from "./(main)/layout"; +import { NotFoundPage } from "@/components/pages/NotFoundPage"; export default function Page() { - return redirect('/not-found', RedirectType.replace); + return ( + + + + ); } diff --git a/src/components/Layout/Footer.tsx b/src/components/Layout/Footer.tsx index 38380bf6..bd6a036e 100644 --- a/src/components/Layout/Footer.tsx +++ b/src/components/Layout/Footer.tsx @@ -100,7 +100,7 @@ export function Footer() { Политика конфиденциальности и обработки персональных данных

- © 2025 GRAFF interactive. Все права защищены + © 2026 GRAFF interactive. Все права защищены