Skip to content

Commit 52b19ae

Browse files
committed
🎨 improve project-page for "tonightpass" with additional content and call-to-action buttons
1 parent 7495ab3 commit 52b19ae

1 file changed

Lines changed: 90 additions & 2 deletions

File tree

  • src/screens/marketing/projects/details

‎src/screens/marketing/projects/details/index.tsx‎

Lines changed: 90 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,67 @@ interface ProjectPageProps {
2929
const ProjectPage: React.FC<ProjectPageProps> = ({ project }) => {
3030
return (
3131
<main className="min-h-screen pt-32 pb-16">
32+
{project.id === "tonightpass" ? (
33+
<div className="relative min-h-screen flex flex-col items-center justify-center px-4 -mt-32 pt-32">
34+
<div className="max-w-4xl mx-auto text-center space-y-8">
35+
<h1 className="font-semibold text-4xl md:text-6xl text-foreground">
36+
La billetterie qui simplifie vos événements
37+
</h1>
38+
39+
<h2 className="text-xl md:text-2xl text-muted-foreground font-medium">
40+
De la création à l&apos;entrée, gérez tout en 5 minutes
41+
</h2>
42+
43+
<p className="text-lg text-muted-foreground max-w-2xl mx-auto leading-relaxed">
44+
Solution complète de billetterie pour organisateurs d&apos;événements.
45+
Créez vos événements, vendez vos billets et gérez l&apos;accès avec des outils professionnels et un support dédié.
46+
</p>
47+
48+
<div className="flex flex-col sm:flex-row gap-4 justify-center pt-6">
49+
<Link href="https://tonightpass.com/fr/auth?continue=%2Fnew">
50+
<Button size="lg" className="w-full sm:w-auto">
51+
Créer mon événement
52+
<ArrowRight className="ml-2 w-4 h-4" />
53+
</Button>
54+
</Link>
55+
<Link href="https://tonightpass.com/fr/ticketing">
56+
<Button variant="outline" size="lg" className="w-full sm:w-auto">
57+
Découvrir la solution
58+
<Globe className="ml-2 w-4 h-4" />
59+
</Button>
60+
</Link>
61+
</div>
62+
63+
<div className="grid grid-cols-3 gap-8 pt-12 max-w-md mx-auto text-center">
64+
<div>
65+
<div className="text-2xl font-bold text-foreground">5min</div>
66+
<div className="text-sm text-muted-foreground">Configuration</div>
67+
</div>
68+
<div>
69+
<div className="text-2xl font-bold text-foreground">0€</div>
70+
<div className="text-sm text-muted-foreground">Installation</div>
71+
</div>
72+
<div>
73+
<div className="text-2xl font-bold text-foreground">24/7</div>
74+
<div className="text-sm text-muted-foreground">Support</div>
75+
</div>
76+
</div>
77+
</div>
78+
79+
<DotPattern
80+
width={30}
81+
height={30}
82+
className={cn(
83+
"absolute z-[-1] inset-0",
84+
"[mask-image:radial-gradient(400px_circle_at_center,white,transparent)]"
85+
)}
86+
/>
87+
</div>
88+
) : null}
89+
3290
<div className="px-4 md:px-0 max-w-5xl mx-auto space-y-24">
33-
<div className="relative w-full flex flex-col items-center gap-8">
91+
{project.id !== "tonightpass" && (
92+
<div className="relative w-full flex flex-col items-center gap-8">
3493
<div className="max-w-2xl text-center space-y-6">
3594
<Image
3695
src={project.iconUrl}
@@ -85,7 +144,8 @@ const ProjectPage: React.FC<ProjectPageProps> = ({ project }) => {
85144
"[mask-image:radial-gradient(300px_circle_at_center,white,transparent)]"
86145
)}
87146
/>
88-
</div>
147+
</div>
148+
)}
89149

90150
<div className="w-full">
91151
<Safari width={1200} height={750} imageSrc={project.showcaseUrl} url={new URL(project.website || env.NEXT_PUBLIC_APP_URL || "").hostname} />
@@ -128,6 +188,34 @@ const ProjectPage: React.FC<ProjectPageProps> = ({ project }) => {
128188
</div>
129189
</div>
130190

191+
{project.id === "tonightpass" && (
192+
<div className="relative overflow-hidden rounded-lg border bg-card p-8">
193+
<div className="max-w-3xl mx-auto text-center space-y-6 relative z-10">
194+
<h2 className="text-2xl md:text-3xl font-semibold text-foreground">
195+
Prêt à simplifier votre billetterie ?
196+
</h2>
197+
<p className="text-lg text-muted-foreground">
198+
Simplifiez la gestion de vos événements avec une solution complète et intuitive
199+
</p>
200+
<div className="flex flex-col sm:flex-row gap-4 justify-center">
201+
<Link href="https://tonightpass.com/fr/auth?continue=%2Fnew">
202+
<Button size="lg" className="w-full sm:w-auto">
203+
Commencer maintenant
204+
<ArrowRight className="ml-2 w-4 h-4" />
205+
</Button>
206+
</Link>
207+
<Link href="https://tonightpass.com/fr/ticketing">
208+
<Button variant="outline" size="lg" className="w-full sm:w-auto">
209+
Voir toutes les fonctionnalités
210+
</Button>
211+
</Link>
212+
</div>
213+
</div>
214+
215+
<div className="absolute right-0 top-0 bottom-0 w-1/3 bg-gradient-to-l from-onruntime-blue/10 to-transparent" />
216+
</div>
217+
)}
218+
131219
<div className="prose prose-neutral dark:prose-invert max-w-none">
132220
<h2 className="text-3xl font-semibold text-foreground mb-6">
133221
À propos du projet

0 commit comments

Comments
 (0)