feat: news crop editor — natural drag, zoom slider, force-dynamic page

- Rewrite crop preview: drag moves image naturally (inverted focal)
- Add zoom slider (1x-3x) + mouse wheel zoom
- Apply imageZoom on user side (featured, compact, modal)
- Force-dynamic on main page to prevent stale cache
This commit is contained in:
2026-03-26 11:11:39 +03:00
parent 4b6443c867
commit 4c8c6eb0d2
7 changed files with 77 additions and 20 deletions

View File

@@ -13,6 +13,8 @@ import { FloatingContact } from "@/components/ui/FloatingContact";
import { Header } from "@/components/layout/Header";
import { Footer } from "@/components/layout/Footer";
import { getContent } from "@/lib/content";
export const dynamic = "force-dynamic";
import { OpenDay } from "@/components/sections/OpenDay";
import { getActiveOpenDay } from "@/lib/openDay";
import { getAllMcRegistrations } from "@/lib/db";