'use client'; import { FC } from 'react'; import Image from 'next/image'; interface Story { accusation: { description: string; alibi: string[]; problematic: string[]; }; } interface IntroSceneProps { intro: { fr: { title: string; description: string; start: string; }; en: { title: string; description: string; start: string; }; es: { title: string; description: string; start: string; }; }, language: 'fr' | 'en' | 'es'; setNextScene: () => void; story: Story | null; } const IntroScene: FC = ({ intro, language, setNextScene, story, }) => { const handleContinue = () => { setNextScene(); }; return (
{/* Image de fond */} Background {/* Overlay noir */}
{/* Contenu */}

{intro[language].description}

); }; export default IntroScene;