generated from esl/code-beam-america
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e7d598e
commit 4d0a67f
Showing
30 changed files
with
671 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
<div id="countdown" class="countdown-container"> | ||
<div class="countdown-row"> | ||
<div class="countdown-content"> | ||
<div class="countdown-title">Months</div> | ||
<div class="countdown-square"> | ||
<div class="countdown-value" id="countdown-months"></div> | ||
</div> | ||
</div> | ||
|
||
<div class="countdown-content"> | ||
<div class="countdown-title">Days</div> | ||
<div class="countdown-square"> | ||
<div class="countdown-value" id="countdown-days"></div> | ||
</div> | ||
</div> | ||
|
||
<div class="countdown-content"> | ||
<div class="countdown-title">Hours</div> | ||
<div class="countdown-square"> | ||
<div class="countdown-value" id="countdown-hours"></div> | ||
</div> | ||
</div> | ||
|
||
<div class="countdown-content"> | ||
<div class="countdown-title">Minutes</div> | ||
<div class="countdown-square"> | ||
<div class="countdown-value" id="countdown-minutes"></div> | ||
</div> | ||
</div> | ||
|
||
<div class="countdown-content"> | ||
<div class="countdown-title">Seconds</div> | ||
<div class="countdown-square"> | ||
<div class="countdown-value" id="countdown-seconds"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="countdown-cta-container"> | ||
<a class="countdown-cta-button" target="_blank" href="https://codebeameurope.com/#newsletter">Ticket sale starts soon!</a> | ||
</div> | ||
<div class="dismiss-container"> | ||
<div class="countdown-dismiss"> | ||
<svg class="dismiss-icon" onclick="dismissCountdown()" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> | ||
<path fill="#888" d="M19 13H5v-2h14v2z" /> | ||
</svg> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<script> | ||
/*** Sample timezones: ***/ | ||
// "Europe/Lisbon" | ||
// "Europe/London" | ||
// "America/New_York" | ||
// "Asia/Tokyo" | ||
// "Australia/Sydney" | ||
|
||
let UTC = "UTC"; | ||
|
||
// Define the desired timezone here | ||
let timezone = '{{ site.data.settings.homepage_settings.countdown.timezone }}'; | ||
|
||
// Set the target date for your conference with time zone | ||
var targetDate = moment.tz('{{ site.data.settings.homepage_settings.countdown.deadline }}', timezone).valueOf(); | ||
|
||
// Update the countdown every second | ||
var countdownInterval = setInterval(function () { | ||
// Get the current date and time in UTC | ||
var now = moment.utc().valueOf(); | ||
|
||
// Calculate the time remaining | ||
var timeRemaining = targetDate - now; | ||
|
||
// Check if the countdown is complete | ||
if (timeRemaining <= 0) { | ||
clearInterval(countdownInterval); | ||
document.getElementById("countdown").innerHTML = | ||
"Conference is happening now!"; | ||
} else { | ||
// Calculate the months, days, hours, minutes, and seconds | ||
var months = Math.floor(timeRemaining / (1000 * 60 * 60 * 24 * 30)); | ||
var days = Math.floor( | ||
(timeRemaining % (1000 * 60 * 60 * 24 * 30)) / (1000 * 60 * 60 * 24) | ||
); | ||
var hours = Math.floor( | ||
(timeRemaining % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60) | ||
); | ||
var minutes = Math.floor( | ||
(timeRemaining % (1000 * 60 * 60)) / (1000 * 60) | ||
); | ||
var seconds = Math.floor((timeRemaining % (1000 * 60)) / 1000); | ||
|
||
// Update the countdown elements | ||
document.getElementById("countdown-months").innerHTML = months; | ||
document.getElementById("countdown-days").innerHTML = days; | ||
document.getElementById("countdown-hours").innerHTML = hours; | ||
document.getElementById("countdown-minutes").innerHTML = minutes; | ||
document.getElementById("countdown-seconds").innerHTML = seconds; | ||
} | ||
}, 1000); | ||
|
||
function dismissCountdown() { | ||
clearInterval(countdownInterval); | ||
document.getElementById("countdown").style.display = "none"; | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<div class="gallery-wrapper section"> | ||
{% if site.data.settings.homepage_settings.gallery.title %} | ||
<h3 class="title">{{ page.gallery.title }}</h3> | ||
<hr /> | ||
{% endif %} | ||
<div class="gallery-grid my-3"> | ||
{% for image in site.data.gallery_images %} | ||
<a data-fslightbox="gallery" class="gallery-item" href="{{ image.src }}"> | ||
<img src="{{ image.src }}" alt="{{ image.alt }}"> | ||
</a> | ||
{% endfor %} | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{% assign testimonials = site.testimonials %} | ||
{{ testimonial | json }} | ||
{% if testimonials != null %} | ||
<!-- Slider main container --> | ||
<div class="section section--carousel"> | ||
<div class="carousel-wrapper"> | ||
<h3 class="title">{{ site.data.settings.homepage_settings.testimonials.title }}</h3> | ||
<hr/> | ||
<div id="testimonials-carousel-quotes" class="owl-carousel owl-theme"> | ||
{% for testimonial in site.testimonials %} | ||
<figure class="testimonial-item item"> | ||
<blockquote> | ||
{{ testimonial.content | markdownify }} | ||
<div class="arrow"></div> | ||
</blockquote> | ||
<img src="{{ testimonial.profile_pic }}" alt="{{ testimonial.name }}"> | ||
<div class="author"> | ||
<h5>{{ testimonial.name }} <span> {{ testimonial.role }}</span></h5> | ||
</div> | ||
</figure> | ||
|
||
{% endfor %} | ||
|
||
</div></div> | ||
</div> | ||
{% endif %} |
Oops, something went wrong.