Skip to content

Commit 97ef8a1

Browse files
authored
Merge pull request #2370 from insectengine/QuarkusInsights_upcominglist
add session and reconfig upcoming band for better user experience
2 parents 9c01123 + 82cc243 commit 97ef8a1

File tree

5 files changed

+62
-22
lines changed

5 files changed

+62
-22
lines changed

_data/insights-videos.yaml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
1+
#titles for page
2+
13
sectiontitle: "Upcoming Podcast"
24
socialdescription: "View the Podcast on these platforms"
35
futureheadline: "Scheduled Podcasts"
46

5-
futurevideos:
7+
# Next upcoming session (update weekly)
8+
nextsessiontitle: "EPISODE #214: Quarkus and build reproducibility: are we there yet?"
9+
nextsessiondate: "2025-08-04T13:00Z"
10+
nextsessionguest: "Guillaume Smet"
611

7-
- title: "No Session - Holidays"
8-
link:
9-
date: "July 28, 2025"
10-
authors: "None"
12+
13+
# upcoming session list (update weekly)
14+
15+
futurevideos:
1116

1217
- title: "EPISODE #214: Quarkus and build reproducibility: are we there yet?"
1318
link:
@@ -24,10 +29,10 @@ futurevideos:
2429
date: "August 18, 2025"
2530
authors: "None"
2631

27-
- title: "EPISODE #216: To Be Scheduled"
32+
- title: "EPISODE #216: What's new with Leyden"
2833
link:
2934
date: "August 25, 2025"
30-
authors: "To Be Announced"
35+
authors: "Andrew Dinn"
3136

3237
- title: "No Session - Holidays"
3338
link:
@@ -55,7 +60,7 @@ futurevideos:
5560
authors: "Willem Jan Glerum"
5661

5762

58-
63+
# past session list (move last upcoming to this list weekly)
5964

6065
pastheadline: "Archived Podcast Videos"
6166

_includes/insights-band.html

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,30 @@
1-
<div class="full-width-bg component awards-band">
1+
<div class="full-width-bg component">
22
<div class="grid-wrapper">
33
<div class="width-12-12">
44
<h3 class="mt-0">{{ site.data.insights-videos.sectiontitle }}</h3>
5-
<h5>{{ site.data.insights-videos.sectionsubhead }}</h5>
65
</div>
7-
<div class="width-7-12 width-12-12-m">
6+
<div class="width-6-12 width-12-12-m">
87
<div class="iframe-container">
98
<iframe src="https://player.restream.io/?token=f07d2d026ed3464da2396dd5f2ffbd86" allow="autoplay" allowfullscreen frameborder="0" style="position:absolute;top:0;left:0;width:100%;height:100%;"></iframe>
109
</div>
1110
</div>
12-
<div class="width-5-12 width-12-12-m">
11+
<div class="width-6-12 width-12-12-m">
1312
<div class="streamingiconblock">
14-
<h4 class="mt-0">{{ site.data.insights-videos.socialdescription }}</h4>
13+
<h4>Join us for our next upcoming session</h4>
14+
<h5>{{ site.data.insights-videos.nextsessiontitle }}</h5>
15+
<p>Special Guest: {{ site.data.insights-videos.nextsessionguest }}</p>
16+
<p id="convertedTime" data-utc="{{ site.data.insights-videos.nextsessiondate }}"></p>
17+
18+
<p>Have a topic idea or want to propose a guest? Add your <a href="https://github.com/quarkusio/quarkus-insights">suggestion to our github issues</a> with the label of "Insights".</p>
19+
20+
<h5>{{ site.data.insights-videos.socialdescription }}</h5>
1521
<ul>
16-
<li><a href="https://facebook.com/quarkusio" target="_blank"><i class="fab fa-facebook-square fa-3x"></i></a></li>
17-
<li><a href="https://twitch.tv/quarkusio" target="_blank"><i class="fab fa-twitch fa-3x"></i></a></li>
18-
<li><a href="https://youtube.com/quarkusio" target="_blank"><i class="fab fa-youtube fa-3x"></i></a></li>
19-
<li><a href="https://www.linkedin.com/company/quarkusio/" target="_blank"><i class="fab fa-linkedin fa-3x"></i></a></li>
20-
</ul>
21-
<!--
22-
<p><a href="https://feeds.listenbox.app/rss/9w4VBtq9s1v/audio.rss" target="_blank">RSS Audio Feed</a>&nbsp;|&nbsp;<a href="https://feeds.listenbox.app/rss/9w4VBtq9s1v/video.rss" target="_blank">RSS Video Feed</a></p>
23-
-->
22+
<li><a href="https://facebook.com/quarkusio" target="_blank"><i class="fab fa-facebook-square fa-3x"></i></a></li>
23+
<li><a href="https://twitch.tv/quarkusio" target="_blank"><i class="fab fa-twitch fa-3x"></i></a></li>
24+
<li><a href="https://youtube.com/quarkusio" target="_blank"><i class="fab fa-youtube fa-3x"></i></a></li>
25+
<li><a href="https://www.linkedin.com/company/quarkusio/" target="_blank"><i class="fab fa-linkedin fa-3x"></i></a></li>
26+
</ul>
27+
2428
</div>
2529
</div>
2630
</div>

_layouts/base.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
<script src="{{ '/assets/javascript/asciidoc-tabs.js' | relative_url }}" type="text/javascript"></script>
106106
<script src="{{ '/assets/javascript/future-date.js' | relative_url }}" type="text/javascript"></script>
107107
<script src="{{ '/assets/javascript/randomize.js' | relative_url }}" type="text/javascript"></script>
108+
<script src="{{ '/assets/javascript/time.js' | relative_url }}" type="text/javascript"></script>
108109
</body>
109110

110111
</html>

_sass/quarkus.scss

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,10 +782,19 @@ ol.bibliography li {
782782
// Insights page
783783

784784
.streamingiconblock {
785-
margin: 50px auto;
785+
margin: 0px auto;
786786
text-align: center;
787787

788+
@media screen and (max-width: 768px) {
789+
margin-top: 50px;
790+
}
791+
788792
h4 {
793+
margin-top: 0px !important;
794+
padding-top: 0px;
795+
}
796+
797+
h5 {
789798
font-weight: 800;
790799
}
791800

assets/javascript/time.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// Option 1: Get from a data attribute
2+
const utcDateString = document.getElementById('convertedTime').dataset.utc;
3+
4+
// Convert to user's local date and time
5+
const localDate = new Date(utcDateString);
6+
7+
// Format the output
8+
const options = {
9+
weekday: 'long',
10+
year: 'numeric',
11+
month: 'long',
12+
day: 'numeric',
13+
hour: '2-digit',
14+
minute: '2-digit',
15+
timeZoneName: 'short'
16+
};
17+
18+
const localDateTimeString = localDate.toLocaleString(undefined, options);
19+
20+
// Set the readable local date as content
21+
document.getElementById("convertedTime").textContent = `Date & Time: ${localDateTimeString}`;

0 commit comments

Comments
 (0)