diff --git a/app/[lang]/HomeClient.tsx b/app/[lang]/HomeClient.tsx index af0502d..3a46d7e 100644 --- a/app/[lang]/HomeClient.tsx +++ b/app/[lang]/HomeClient.tsx @@ -2,7 +2,7 @@ import { useState } from "react"; import Image from "next/image"; -import { motion, type Variants } from "framer-motion"; +import { m, type Variants } from "framer-motion"; import Link from "next/link"; import { Utensils, Umbrella, Home, Wind, Hotel, Star, MapPin, ArrowRight } from "lucide-react"; import { Button } from "@/app/components/ui/button"; @@ -128,30 +128,30 @@ export default function HomeClient({ lang, dict }: { lang: string; dict: any })
{/* Eyebrow */} - {dict.hero.eyebrow} - + {/* Main heading */}

- {dict.hero.subtitle} - + - - +
{/* Scroll indicator */} - {dict.hero.scroll} - - + {/* ── Marquee Strip ── */} @@ -203,7 +203,7 @@ export default function HomeClient({ lang, dict }: { lang: string; dict: any })
{STATS.map((s, i) => ( - {s.label}

-
+ ))}
@@ -236,7 +236,7 @@ export default function HomeClient({ lang, dict }: { lang: string; dict: any })
{SERVICES.map((service, i) => ( -
-
+ ))} @@ -281,7 +281,7 @@ export default function HomeClient({ lang, dict }: { lang: string; dict: any })
{VENUES.map((venue, i) => ( -
- + ))} @@ -341,7 +341,7 @@ export default function HomeClient({ lang, dict }: { lang: string; dict: any })
{TESTIMONIALS.map((t, i) => ( - {t.origin}

- + ))} diff --git a/app/[lang]/galeri/GaleriClient.tsx b/app/[lang]/galeri/GaleriClient.tsx index 14642b3..2ab2058 100644 --- a/app/[lang]/galeri/GaleriClient.tsx +++ b/app/[lang]/galeri/GaleriClient.tsx @@ -2,7 +2,7 @@ import { useState } from "react"; import Image from "next/image"; -import { motion, AnimatePresence } from "framer-motion"; +import { m, AnimatePresence } from "framer-motion"; import { X, ZoomIn } from "lucide-react"; import { Badge } from "@/app/components/ui/badge"; @@ -60,13 +60,13 @@ export default function GaleriClient({ lang, dict }: { lang: string; dict: any } {/* Grid */}
- {filtered.map((img) => ( - {img.cat} - + ))} - +
{/* Lightbox */} {lightbox && ( - -

{lightbox.title}

-
-
+ + )}
diff --git a/app/[lang]/layout.tsx b/app/[lang]/layout.tsx index b1a8574..4fd8817 100644 --- a/app/[lang]/layout.tsx +++ b/app/[lang]/layout.tsx @@ -2,6 +2,7 @@ import type { Metadata } from "next"; import { Cormorant_Garamond, Montserrat } from "next/font/google"; import Navbar from "../components/Navbar"; import Footer from "../components/Footer"; +import { MotionProvider } from "../components/MotionProvider"; import "../globals.css"; import { Locale, getDictionary } from "../dictionaries"; @@ -66,9 +67,11 @@ export default async function RootLayout({ /> - -
{children}
-