export const dynamic = "force-dynamic"; // Prevents static rendering import { LocationCard } from "@/components/locations/location-card"; import { Badge } from "@/components/ui/badge"; import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"; import { Info } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/components/ui/card"; import { SITE_NAME } from "@/lib/constants"; import getShortcode from "@/lib/getShortcode"; import request from "@/lib/request"; import { Location } from "@/types/types"; import { CheckIcon } from "lucide-react"; // Define props interface for PricingCard interface PricingCardProps { title: string; price: number; description: string; features: string[]; isPopular?: boolean; ctaText?: string; ctaLink?: string; } const UnderConstructionBanner = () => { return (
Attention Cette page est encore en cours de construction et les informations listées peuvent ne pas être exactes pour le moment.
); }; // Reusable Pricing Card Component const PricingCard: React.FC = ({ title, price, description, features, isPopular = false, ctaText = "Prendre contact", ctaLink = "/contact", }) => ( {isPopular && ( Le plus populaire )} {title} {price}€ {description}
    {features.map((feature, index) => (
  • {feature}
  • ))}
); export default async function About() { const profileImage = await getShortcode("profile_image"); const locations = await request("/locations/all", { requiresAuth: false, }); return (
{/* Hero Section */}
{/* Text Section - Takes 2/3 on large screens */}
Nicolas GORUK Président de l'association française de{" "} {SITE_NAME}

Notre mission

Chez {SITE_NAME}, nous nous engageons à promouvoir l'excellence. Nous offrons un environnement dynamique pour tous nos membres, avec des événements réguliers et des opportunités uniques.

Notre histoire

Fondée en [année], notre association a grandi pour devenir un acteur clé dans [domaine]. Nous avons organisé [nombre] événements et touché plus de [nombre] personnes grâce à nos initiatives.

{/* Image Section - Takes 1/3 on large screens */}
Portrait de Nicolas GORUK, président de l'association
{/* Locations Section */} {locations.data && locations.data.length > 0 && (

Retrouvez-nous

{locations.data.map((l: Location) => ( ))}
)} {/* Pricing Section */}

Tarifs

Adhésion à partir de [prix]€.

Équipement (gants, casque) fourni. Prévoir une tenue sportive adaptée.

); }