import React from 'react'; import { Header, Avatar, Title, Text, Button, Card, Badge, Divider } from '../components/sketchy'; import type { ScreenProps } from './index'; export function UserProfileScreen({ navigate }: ScreenProps) { const pastEvents = [ { title: 'Forum Ouvert Transition', date: '22 fév.' }, { title: 'Rencontre des Colibris', date: '12 fév.' }, { title: 'Formation CNV', date: '1 mars' }, ]; return (
navigate('event-detail')} style={{ cursor: 'pointer' }}>←} /> {/* Content */}
{/* User profile header */}
Jean Durand @jeandurand
8 Événements
23 Contacts
42 Participations
{/* Common events */}
Événements en commun Vous avez participé à 3 événements ensemble {pastEvents.map((event, i) => ( navigate('event-detail')} style={{ marginBottom: 12 }}> {event.title} {event.date} ))}
{/* Contact form section */}
Envoyer un message
Écrivez votre message ici...
); }