From 4d0a67fce6519c4e8a222926add64fba26036983 Mon Sep 17 00:00:00 2001 From: analayze Date: Fri, 26 Jul 2024 15:24:26 +0200 Subject: [PATCH] Add new components --- _config.yml | 2 + _data/gallery_images.yml | 16 +++ _data/settings.yml | 14 ++ _includes/countdown.html | 107 +++++++++++++++ _includes/gallery-grid.html | 13 ++ _includes/imports/head.html | 7 + _includes/imports/js.html | 6 +- _includes/modal.html | 10 +- _includes/navigation.html | 60 ++++++--- _includes/testimonials.html | 26 ++++ _sass/_countdown.scss | 113 ++++++++++++++++ _sass/gallery-grid.scss | 19 +++ _sass/main.sass | 15 ++- _sass/testimonials.scss | 131 +++++++++++++++++++ _testimonials/testimonial-four.md | 7 + _testimonials/testimonial-one.md | 7 + _testimonials/testimonial-thre.md | 7 + _testimonials/testimonial-two.md | 7 + assets/css/owl.carousel.min.css | 6 + assets/css/owl.theme.default.min.css | 6 + assets/css/styles.scss | 3 + assets/images/testimonials/1.png | Bin 0 -> 16070 bytes assets/images/testimonials/2.png | Bin 0 -> 15859 bytes assets/images/testimonials/3.png | Bin 0 -> 18341 bytes assets/images/testimonials/4.png | Bin 0 -> 16424 bytes assets/images/testimonials/pro_pic.png | Bin 0 -> 7913 bytes assets/js/fslightbox.js | 1 + assets/js/main.js | 173 ++++++++++++++----------- assets/js/owl.carousel.min.js | 7 + index.html | 20 ++- 30 files changed, 671 insertions(+), 112 deletions(-) create mode 100644 _data/gallery_images.yml create mode 100644 _data/settings.yml create mode 100644 _includes/countdown.html create mode 100644 _includes/gallery-grid.html create mode 100644 _includes/testimonials.html create mode 100644 _sass/_countdown.scss create mode 100644 _sass/gallery-grid.scss create mode 100644 _sass/testimonials.scss create mode 100644 _testimonials/testimonial-four.md create mode 100644 _testimonials/testimonial-one.md create mode 100644 _testimonials/testimonial-thre.md create mode 100644 _testimonials/testimonial-two.md create mode 100644 assets/css/owl.carousel.min.css create mode 100644 assets/css/owl.theme.default.min.css create mode 100644 assets/images/testimonials/1.png create mode 100644 assets/images/testimonials/2.png create mode 100644 assets/images/testimonials/3.png create mode 100644 assets/images/testimonials/4.png create mode 100644 assets/images/testimonials/pro_pic.png create mode 100644 assets/js/fslightbox.js create mode 100644 assets/js/owl.carousel.min.js diff --git a/_config.yml b/_config.yml index 03224a03..c39a4447 100644 --- a/_config.yml +++ b/_config.yml @@ -33,6 +33,8 @@ permalink: pretty collections: participants: output: true + testimonials: + output: true keynotes: output: true trainers: diff --git a/_data/gallery_images.yml b/_data/gallery_images.yml new file mode 100644 index 00000000..18459c3b --- /dev/null +++ b/_data/gallery_images.yml @@ -0,0 +1,16 @@ +- src: 'https://codebeameurope.com/assets/images/CBE-23-pic-1.png' + alt: 'Code BEAM Europe 2024' +- src: 'https://codebeameurope.com/assets/images/CBE-23-pic-2.png' + alt: 'Code BEAM Europe 2024' +- src: 'https://codebeameurope.com/assets/images/CBE-23-pic-3.png' + alt: 'Code BEAM Europe 2024' +- src: 'https://codebeameurope.com/assets/images/CBE-23-pic-4.png' + alt: 'Code BEAM Europe 2024' +- src: 'https://codebeameurope.com/assets/images/CBE-23-pic-5.png' + alt: 'Code BEAM Europe 2024' +- src: 'https://codebeameurope.com/assets/images/CBE-23-pic-6.png' + alt: 'Code BEAM Europe 2024' +- src: 'https://codebeameurope.com/assets/images/CBE-23-pic-7.png' + alt: 'Code BEAM Europe 2024' +- src: 'https://codebeameurope.com/assets/images/CBE-23-pic-8.png' + alt: 'Code BEAM Europe 2024' \ No newline at end of file diff --git a/_data/settings.yml b/_data/settings.yml new file mode 100644 index 00000000..6990c7c2 --- /dev/null +++ b/_data/settings.yml @@ -0,0 +1,14 @@ +homepage_settings: + countdown: + show: false + timezone: Europe/Berlin + deadline: 2024-10-14 12:00 + modal: + show: false + delay: 5000 + testimonials: + show: false + title: "Testimonials" + gallery: + show: false + title: "Code BEAM Europe 2024" \ No newline at end of file diff --git a/_includes/countdown.html b/_includes/countdown.html new file mode 100644 index 00000000..9d4c68e8 --- /dev/null +++ b/_includes/countdown.html @@ -0,0 +1,107 @@ +
+
+
+
Months
+
+
+
+
+ +
+
Days
+
+
+
+
+ +
+
Hours
+
+
+
+
+ +
+
Minutes
+
+
+
+
+ +
+
Seconds
+
+
+
+
+
+ + +
+
+ + + +
+
+
+ + diff --git a/_includes/gallery-grid.html b/_includes/gallery-grid.html new file mode 100644 index 00000000..ba1a6d45 --- /dev/null +++ b/_includes/gallery-grid.html @@ -0,0 +1,13 @@ + \ No newline at end of file diff --git a/_includes/imports/head.html b/_includes/imports/head.html index 9e18b5bb..42cb1f82 100644 --- a/_includes/imports/head.html +++ b/_includes/imports/head.html @@ -50,7 +50,14 @@ })(window, document, "script", "dataLayer", "GTM-NZK2LB5"); + + + +{% if site.data.settings.homepage_settings.testimonials.show %} + + + {% endif %} {% seo %} diff --git a/_includes/imports/js.html b/_includes/imports/js.html index 31e83174..02368785 100644 --- a/_includes/imports/js.html +++ b/_includes/imports/js.html @@ -13,7 +13,7 @@ - + @@ -21,7 +21,9 @@ {% if site.smooth-scroll %} {% endif %} - +{% if site.data.settings.homepage_settings.gallery.show %} + +{% endif %} diff --git a/_includes/navigation.html b/_includes/navigation.html index 3610c032..2971c6f0 100644 --- a/_includes/navigation.html +++ b/_includes/navigation.html @@ -1,24 +1,46 @@