diff --git a/src/components/EventRegistrationSuccess/Assets/vote-box.png b/src/components/EventRegistrationSuccess/Assets/vote-box.png new file mode 100644 index 000000000..199290cf5 Binary files /dev/null and b/src/components/EventRegistrationSuccess/Assets/vote-box.png differ diff --git a/src/components/EventRegistrationSuccess/EventRegistrationSuccess.stories.tsx b/src/components/EventRegistrationSuccess/EventRegistrationSuccess.stories.tsx new file mode 100644 index 000000000..d2a8ba4db --- /dev/null +++ b/src/components/EventRegistrationSuccess/EventRegistrationSuccess.stories.tsx @@ -0,0 +1,13 @@ +import EventRegistrationSuccess from '@/components/EventRegistrationSuccess/EventRegistrationSuccess' +import { StoryObj } from '@storybook/react' + +const meta = { + title: 'Modal/Event Registration Success', + component: EventRegistrationSuccess, +} + +type Story = StoryObj + +export const Default: Story = {} + +export default meta diff --git a/src/components/EventRegistrationSuccess/EventRegistrationSuccess.tsx b/src/components/EventRegistrationSuccess/EventRegistrationSuccess.tsx new file mode 100644 index 000000000..f6d97bc4b --- /dev/null +++ b/src/components/EventRegistrationSuccess/EventRegistrationSuccess.tsx @@ -0,0 +1,80 @@ +import React, { NamedExoticComponent } from 'react' +import Text from '@/components/base/Text' +import Button from '@/components/Button' +import { IconProps } from '@tamagui/helpers-icon' +import { CalendarDays, Clock, MapPin, UserCheck } from '@tamagui/lucide-icons' +import { Dialog, Image, Separator, View } from 'tamagui' + +export default function EventRegistrationSuccess() { + return ( + + + + + + + + + + + + Félicitations vous êtes bien inscrit ! + Un mail récapitulatif vient de vous être envoyé. + + + + + Grand Meeting de Lille • + Lancement de campagne (34090) + + + + + + + + + + + + + + + + + + + ) +} + +const EventEntry = ({ text, captionText, Icon }: { text: string; captionText?: string; Icon: NamedExoticComponent }) => ( + + + + + + + {text} {captionText ? {`• ${captionText}`} : null} + + + +)