From 415de881c3e8e2933f5e067faac3f5181cbadb8e Mon Sep 17 00:00:00 2001 From: "pwnh4 (@loicttn)" Date: Mon, 28 Oct 2024 22:55:16 +0100 Subject: [PATCH 1/2] feat: init festival #2 --- i18n/en.yaml | 13 +++++ i18n/fr.yaml | 12 +++++ themes/p2pparis/layouts/_default/index.html | 17 +------ themes/p2pparis/layouts/event/festival-2.html | 20 ++++++++ .../layouts/partials/masthead_festival_2.html | 49 +++++++++++++++++++ 5 files changed, 96 insertions(+), 15 deletions(-) create mode 100644 themes/p2pparis/layouts/event/festival-2.html create mode 100644 themes/p2pparis/layouts/partials/masthead_festival_2.html diff --git a/i18n/en.yaml b/i18n/en.yaml index 8ce77f1d..5d4183bf 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -175,6 +175,19 @@ festival_clock_minutes: festival_clock_seconds: other: Seconds + +festival_announcement_part_1: + other: France P2P is coming back next year with the Second edition of the Paris P2P Festival from April 9th to 11th! And an online hackathon from April 4th to 11th. + +festival_announcement_part_2: + other: 'We are looking for sponsors, speakers, and volunteers to help us make this event a success. If you are interested, join the discord and fill the form below!' + +announcement_form_cta: + other: Participate + +announcement_form_sponsor_cta: + other: Become a sponsor + festival_numbers_b1_title: other: Days diff --git a/i18n/fr.yaml b/i18n/fr.yaml index f0ce0fdf..63e53391 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -175,6 +175,18 @@ festival_clock_minutes: festival_clock_seconds: other: Secondes +festival_announcement_part_1: + other: France P2P revient l'année prochaine avec la deuxième édition du Paris P2P Festival du 9 au 11 Avril ! Ainsi qu'un hackathon en ligne du 4 au 11. + +festival_announcement_part_2: + other: 'Nous recherchons des sponsors, des speakers et des bénévoles pour nous aider à faire de cet événement un succès. Si vous êtes intéressé, rejoignez le discord et remplissez le formulaire ci-dessous:' + +announcement_form_cta: + other: Participer + +announcement_form_sponsor_cta: + other: Devenir sponsor + festival_numbers_b1_title: other: Jours diff --git a/themes/p2pparis/layouts/_default/index.html b/themes/p2pparis/layouts/_default/index.html index 08bfcd78..b608c59d 100644 --- a/themes/p2pparis/layouts/_default/index.html +++ b/themes/p2pparis/layouts/_default/index.html @@ -12,7 +12,8 @@

{{ .Params.content.intro_text | markdownify }}

- {{ i18n "festival_cta" | markdownify }} + + {{ i18n "festival_cta" | markdownify }}
@@ -30,20 +31,6 @@

{{ .Params.content.events_title | markdownify }}

- {{ range $index, $item := $.Scratch.Get "upcoming_events" }}
{{ partial "block_event" (dict "ctx" . "status" (index $statuses .File.UniqueID)) }} diff --git a/themes/p2pparis/layouts/event/festival-2.html b/themes/p2pparis/layouts/event/festival-2.html new file mode 100644 index 00000000..0de13e42 --- /dev/null +++ b/themes/p2pparis/layouts/event/festival-2.html @@ -0,0 +1,20 @@ +{{ partial "ldjson/event" (dict "ctx" . "id" .Params.id) }} + +{{.Scratch.Set "body-class" "page-festival-1"}} +{{ partial "header" . }} + +{{ partial "navbar_festival" . }} +{{ partial "masthead_festival_2" . }} +{{ partial "section_numbers" . }} + + + +
+{{ partial "section_about" . }} +{{ partial "section_goals" . }} +
+ + + + +{{ partial "footer" . }} diff --git a/themes/p2pparis/layouts/partials/masthead_festival_2.html b/themes/p2pparis/layouts/partials/masthead_festival_2.html new file mode 100644 index 00000000..958d5ac0 --- /dev/null +++ b/themes/p2pparis/layouts/partials/masthead_festival_2.html @@ -0,0 +1,49 @@ +
+
+
+
+ +

{{ i18n "festival_content_intro_text" | markdownify }}

+
+
+ + + +
+
+ +
+
+
+
+
+
{{ i18n "festival_announcement_part_1" }}
+
+
{{ i18n "festival_announcement_part_2" }}
+
+ {{ i18n "announcement_form_cta" }} + {{ i18n "announcement_form_sponsor_cta" }} +
+
+
+
+
From cd0e0fe22be7f201ceeebc6e3b241c8f82c043ff Mon Sep 17 00:00:00 2001 From: "pwnh4 (@loicttn)" Date: Tue, 29 Oct 2024 21:49:30 +0100 Subject: [PATCH 2/2] trigger ci