From 167fdf4e36bcd37491085b38bf406dc7bb8f6303 Mon Sep 17 00:00:00 2001 From: Nikita Date: Mon, 31 Aug 2026 17:56:11 +0300 Subject: [PATCH 1/6] =?UTF-8?q?feat(storefront):=20404=20=D1=81=20=D1=84?= =?UTF-8?q?=D0=BE=D0=BD=D0=B0=D1=80=D1=91=D0=BC,=20=D0=BB=D0=B0=D0=B1?= =?UTF-8?q?=D0=B8=D1=80=D0=B8=D0=BD=D1=82=D0=BE=D0=BC=20=D0=B8=20=D0=B2?= =?UTF-8?q?=D0=B8=D0=B7=D0=B8=D1=82=D0=BA=D0=BE=D0=B9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Потерянный URL получает экран «заблудился в лабиринте»: луч следует за курсором, визитка проявляется только в свете. Co-authored-by: Cursor --- maze/app/(storefront)/not-found.tsx | 5 + maze/app/not-found.tsx | 46 +-- maze/features/not-found-maze/index.ts | 1 + maze/features/not-found-maze/lib/constants.ts | 15 + .../not-found-maze/ui/NotFoundMaze.tsx | 145 ++++++++ .../not-found-maze/ui/NotFoundVisitCard.tsx | 137 +++++++ .../ui/not-found-visit-card.module.css | 115 ++++++ maze/public/lost-maze.svg | 38 ++ maze/public/maze-card-qr.svg | 1 + .../ui/image-spotlight/ImageSpotlight.tsx | 342 ++++++++++++++++++ maze/shared/ui/image-spotlight/index.ts | 7 + maze/shared/ui/image-spotlight/lib/easing.ts | 43 +++ 12 files changed, 872 insertions(+), 23 deletions(-) create mode 100644 maze/app/(storefront)/not-found.tsx create mode 100644 maze/features/not-found-maze/index.ts create mode 100644 maze/features/not-found-maze/lib/constants.ts create mode 100644 maze/features/not-found-maze/ui/NotFoundMaze.tsx create mode 100644 maze/features/not-found-maze/ui/NotFoundVisitCard.tsx create mode 100644 maze/features/not-found-maze/ui/not-found-visit-card.module.css create mode 100644 maze/public/lost-maze.svg create mode 100644 maze/public/maze-card-qr.svg create mode 100644 maze/shared/ui/image-spotlight/ImageSpotlight.tsx create mode 100644 maze/shared/ui/image-spotlight/index.ts create mode 100644 maze/shared/ui/image-spotlight/lib/easing.ts diff --git a/maze/app/(storefront)/not-found.tsx b/maze/app/(storefront)/not-found.tsx new file mode 100644 index 0000000..1cc5001 --- /dev/null +++ b/maze/app/(storefront)/not-found.tsx @@ -0,0 +1,5 @@ +import { NotFoundMaze } from "@/features/not-found-maze"; + +export default function StorefrontNotFound() { + return ; +} diff --git a/maze/app/not-found.tsx b/maze/app/not-found.tsx index dc30856..dba3c31 100644 --- a/maze/app/not-found.tsx +++ b/maze/app/not-found.tsx @@ -1,28 +1,28 @@ -import Link from "next/link"; +import type { Metadata } from "next"; +import { Background } from "@/components/Background"; +import { Footer } from "@/components/Footer"; +import { Header } from "@/components/Header"; +import { ScrollToTop } from "@/components/ScrollToTop"; +import { StorefrontModals } from "@/components/StorefrontModals"; +import { NotFoundMaze } from "@/features/not-found-maze"; +import { SmoothScroll } from "@/shared/ui/smooth-scroll"; + +export const metadata: Metadata = { + title: "404 — Страница не найдена", + robots: { index: false, follow: false }, +}; export default function NotFound() { return ( -
-
-

- 404 -

-

- Ты заблудился в лабиринте -

-

- Такой страницы нет. Но выход всегда рядом — вернись на главную или - загляни в каталог. -

-
- - На главную - - - В каталог - -
-
-
+ + +
+
+ +
+