From a501a72cef770ba9fdd33530ea447f129fe3d314 Mon Sep 17 00:00:00 2001 From: Jalil Arfaoui Date: Mon, 27 Jan 2025 21:31:08 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20ajoute=20l=E2=80=99inscription=20newsle?= =?UTF-8?q?tter=20en=20suite=20de=20la=20page=20contact?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BrevoForm.astro | 149 ++++++++++++++++++++++++ src/components/Card.astro | 2 +- src/pages/contact.astro | 6 +- src/pages/inscription-newsletter.astro | 152 +------------------------ 4 files changed, 156 insertions(+), 153 deletions(-) create mode 100644 src/components/BrevoForm.astro diff --git a/src/components/BrevoForm.astro b/src/components/BrevoForm.astro new file mode 100644 index 0000000..d97e4f6 --- /dev/null +++ b/src/components/BrevoForm.astro @@ -0,0 +1,149 @@ + + + + + + + +
+
+
+
+ + + + + Nous n'avons pas pu confirmer votre inscription. + +
+
+
+
+
+ + + + + Votre inscription est confirmée. + +
+
+
+
+
+
+
+

Newsletter

+
+
+
+
+
+

Inscrivez-vous à notre newsletter pour suivre nos actualités et être averti·e de tous nos prochains spectacles !

+
+
+
+
+
+
+
+ + +
+ +
+
+ + + +
+
+
+
+
+ +
+
+ + + +
+
+
+
+ + + + + + + + + diff --git a/src/components/Card.astro b/src/components/Card.astro index 2ed140b..67058b3 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -16,7 +16,7 @@ const Wrapper = href ? 'a' : 'div'

{title} 

-

+

diff --git a/src/pages/contact.astro b/src/pages/contact.astro index 083a9dc..29bfae0 100644 --- a/src/pages/contact.astro +++ b/src/pages/contact.astro @@ -1,6 +1,7 @@ --- import Layout from '../layouts/Layout.astro' import Card from "../components/Card.astro"; +import BrevoForm from "../components/BrevoForm.astro"; --- @@ -9,7 +10,7 @@ import Card from "../components/Card.astro"; Contact -