import { useState } from "react";
import AnimatedContent from "../components/AnimatedContent";
import Stepper, { Step } from "../components/Stepper";
import FacebookCarousel from "../components/FacebookCarousel";
import SEO from "../components/SEO";
const StepWithBackground = ({
date,
title,
text,
imageSrc,
children,
}: {
date: string;
title: string;
text: string;
imageSrc: string;
children?: React.ReactNode;
}) => (
{date}
{title}
{children &&
{children}
}
{text}
);
const Historic = () => {
const [isTimelineCompleted, setIsTimelineCompleted] = useState(false);
return (
Notre histoire
D'une urgence
à une association unie
Découvrez comment Cœur UA PAM est née d'un élan de solidarité
spontané pour devenir un véritable pont culturel et humanitaire.
{/* =======================
SECTION STEPPER
========================*/}
{!isTimelineCompleted ? (
setIsTimelineCompleted(true)}
backButtonText="Précédent"
nextButtonText="Continuer l'histoire"
contentClassName="!px-0 md:!px-0"
stepContainerClassName="!pb-4"
>
{/* ETAPE 1 */}
{/* ETAPE 2 */}
{/* ETAPE 3 */}
"Il nous fallait un cadre légal pour agir plus fort et plus
loin."
{/* ETAPE 4 */}
) : (
/* MESSAGE DE FIN (Remplace le Stepper une fois terminé) */
L'histoire continue avec vous
Chaque jour, de nouvelles pages s'écrivent grâce à nos bénévoles
et nos donateurs.
Soutenir nos actions
)}
);
};
export default Historic;