"use client";

import SeriesStoryExperience from "@/components/NexusStoryPilot";
import CinematicMotionProvider from "@/components/CinematicMotionProvider";
import type { CollectionLocale, NordenCollection } from "@/lib/collections";

type StoryProduct = {
  id: string;
  slug: string;
  name: string;
  widthCm: number | null;
  surface: string | null;
  image: string;
};

export default function CollectionStory({ collection, locale, products }: { collection: NordenCollection; locale: CollectionLocale; products: StoryProduct[] }) {
  return (
    <CinematicMotionProvider>
      <SeriesStoryExperience collection={collection} locale={locale} products={products} />
    </CinematicMotionProvider>
  );
}
