Skip to content
Merged

Main #69

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 1 addition & 23 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ extra_scripts:
</h2>

<div class="cta-buttons d-flex flex-wrap gap-2">
<a href="news.html" class="btn btn-outline-primary button secondary">Upcoming Events</a>
<a href="news.html" class="btn btn-outline-primary button secondary">Upcoming Eclipse Events</a>
<a href="training-modules.html" class="btn btn-outline-primary button secondary">Get Involved</a>
<a href="https://github.com/eclipse-score" target="_blank" rel="noopener noreferrer" class="btn btn-outline-primary button tertiary">Visit Our Github</a>
</div>
Expand Down Expand Up @@ -269,28 +269,6 @@ extra_scripts:
</div>
<!-- ========== End Card ========== -->

<!-- ========== Begin Card ========== -->
<div class="card">
<div class="card-img">
<img src="images/home/2026-02-23_s-corev060_milestone_architecture.jpg" alt="" />
</div>
<div class="card-body p-0 py-4">
<h4 class="title mb-2">Eclipse S-CORE v0.6.0 Released (Revoked)</h4>
<p class="desc">
We're excited to announce the third milestone release of Eclipse S-CORE (v0.6.0), the open-source automotive middleware platform developed within the Eclipse SDV Working Group!
</p>
<h4 class="title mb-2">Eclipse S-CORE: <br>
Open by Choice. Safe by Design.</h4>
</div>
<div class="card-actions">
<a class="learn-more" href="articles.html" rel="noopener noreferrer">Learn More
<div class="icon">
<img src="images/icons/right-arrow.svg" alt="" />
</div>
</a>
</div>
</div>
<!-- ========== End Card ========== -->
<div class="card">
<div class="card-img">
<img src="images/icons/QC joins.png" alt="" />
Expand Down
2 changes: 1 addition & 1 deletion content/articles.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ breadcrumb_html: |
<div class="nav-tabs-wrapper">
<ul class="nav nav-tabs">
<li class="nav-item">
<a class="nav-link" href="news.html">Conferences</a>
<a class="nav-link" href="news.html">Events</a>
</li>
<li class="nav-item">
<a class="nav-link" href="press_releases.html">Press Releases</a>
Expand Down
64 changes: 28 additions & 36 deletions content/news.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ extra_scripts:
- "js/jquery-3.7.1.min.js"
- "js/bootstrap.min.js"
- "js/loading.js"
- "js/news-events-labels.js"
use_shared_header: true
use_shared_footer: true
active_nav: "news"
Expand All @@ -33,7 +34,7 @@ breadcrumb_html: |
class="breadcrumb-item active text-white"
aria-current="page"
>
Conferences
Events
</li>
---

Expand All @@ -43,7 +44,7 @@ breadcrumb_html: |
<div class="nav-tabs-wrapper">
<ul class="nav nav-tabs">
<li class="nav-item">
<a class="nav-link active" href="news.html">Conferences</a>
<a class="nav-link active" href="news.html">Events</a>
</li>
<li class="nav-item">
<a class="nav-link" href="press_releases.html">Press Releases</a>
Expand Down Expand Up @@ -77,39 +78,8 @@ breadcrumb_html: |
<div class="d-flex flex-column gap-3">

<div class="main-blog-item-card d-flex flex-column gap-3">
<h5 class="h5 fw-semibold mb-3">Upcoming Conferences</h5>

<!-- BESTEHENDER UPCOMING EVENT: OCX 2026 -->
<div class="main-blog-item-card d-flex flex-column gap-3">
<div class="blog-img d-flex align-items-center justify-content-center">
<img src="images/news/OCX26.png" alt="" />
</div>
<div class="blog-item-content">
<div
class="top-pick-date d-flex align-items-center gap-2 mb-2"
>
<span class="icon d-flex align-items-center">
<img src="images/icons/calendar.svg" alt="" />
</span>
<span class="date">21-23 Apr, 2026</span>
</div>
<h2 class="h2 mb-3">
OCX 2026 | Open Community Experience, <br> Brussels, Belgium
</h2>
<p>
Presenter: Björn Reistel <br>
Topic: S-CORE | Background, Status and Insights to S-CORE 0.5 "Certifiable"
</p>
<a
class="read-more btn btn-primary main-primary mt-4 d-inline-block text-center"
href="https://www.ocxconf.org/event/2026/summary"
>
Read More
</a>
</div>
</div>

</div> <!-- /main-blog-item-card for Upcoming Conferences -->
<h5 class="h5 fw-semibold mb-3">Upcoming Events (other than Eclipse)</h5>
</div> <!-- /main-blog-item-card for Upcoming Events (other than Eclipse) -->
</div>
<div class="text-center mt-3">
<a
Expand All @@ -124,8 +94,30 @@ breadcrumb_html: |
<div class="main-search-top-picks-card d-flex flex-column gap-4">

<div class="top-picks-container">
<h5 class="h5 fw-semibold mb-3">Previous Conferences</h5>
<h5 class="h5 fw-semibold mb-3">Past Events (other than Eclipse)</h5>
<aside class="top-picks-our-blogs">
<!-- MOVED EVENT: OCX 2026 -->
<a href="https://www.ocxconf.org/event/2026/summary"
class="top-pick-item d-flex align-items-start gap-3" target="_blank" rel="noopener noreferrer">
<div class="top-pick-img">
<img src="images/news/OCX26.png" alt="OCX 2026" />
</div>
<div class="top-pick-content">
<div
class="top-pick-date d-flex align-items-center gap-2 mb-2"
>
<span class="icon d-flex align-items-center">
<img src="images/icons/calendar.svg" alt="" />
</span>
<span class="date">21-23 Apr, 2026</span>
</div>
<h3>OCX 2026 | Open Community Experience, <br> Brussels, Belgium</h3>
<p class="text-muted">
Presenter: Björn Reistel <br>
Topic: S-CORE | Background, Status and Insights to S-CORE 0.5 "Certifiable"
</p>
</div>
</a>
<!-- MOVED EVENT: Open Chain and Friends in Stuttgart -->
<a href="https://openchainproject.org/news/2025/12/09/openchain-and-friends-2026"
class="top-pick-item d-flex align-items-start gap-3" target="_blank" rel="noopener noreferrer">
Expand Down
2 changes: 1 addition & 1 deletion content/press_releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ breadcrumb_html: |
<div class="nav-tabs-wrapper">
<ul class="nav nav-tabs">
<li class="nav-item">
<a class="nav-link" href="news.html">Conferences</a>
<a class="nav-link" href="news.html">Events</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="press_releases.html">Press Releases</a>
Expand Down
2 changes: 1 addition & 1 deletion content/townhalls.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ breadcrumb_html: |
<div class="nav-tabs-wrapper">
<ul class="nav nav-tabs">
<li class="nav-item">
<a class="nav-link" href="news.html">Conferences</a>
<a class="nav-link" href="news.html">Events</a>
</li>
<li class="nav-item">
<a class="nav-link" href="press_releases.html">Press Releases</a>
Expand Down
54 changes: 54 additions & 0 deletions static/js/news-events-labels.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
(function () {
const replacements = {
"Upcoming Events": "Upcoming Eclipse Events",
"Past Events": "Past Eclipse Events",
};

function replaceLabels(root) {
if (!root) return;

const elements = root.querySelectorAll("button, a, [role='button'], .btn, span, label");
elements.forEach((el) => {
const text = (el.textContent || "").trim();
const replacement = replacements[text];
if (replacement) {
el.textContent = replacement;
}
});
}

function applyReplacements() {
replaceLabels(document);

document
.querySelectorAll("efsc-event-filters, efsc-collection, efsc-event-list")
.forEach((el) => {
if (el.shadowRoot) {
replaceLabels(el.shadowRoot);
}
});
}

function init() {
applyReplacements();

const observer = new MutationObserver(function () {
applyReplacements();
});

observer.observe(document.body, {
childList: true,
subtree: true,
});

window.setTimeout(applyReplacements, 1000);
window.setTimeout(applyReplacements, 2500);
window.setTimeout(applyReplacements, 5000);
}

if (document.readyState === "loading") {
document.addEventListener("DOMContentLoaded", init);
} else {
init();
}
})();
51 changes: 24 additions & 27 deletions static/js/news.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,31 @@ $(function () {
const $carousel = $(".news-slider");
const $carouselWrapper = $carousel.closest(".owl-carousel-wrapper");
const $navButtons = $carouselWrapper.find(".custom-prev, .custom-next");
const totalEntries = $carousel.children(".card").length;
const maxItems = Math.max(1, totalEntries);

const responsiveConfig = {
0: { items: 1 },
992: { items: 2 },
1200: { items: 3 },
};

const newsOwl = $carousel.owlCarousel({
loop: true,
margin: 16,
nav: false,
responsive: responsiveConfig,
autoplay: true,
autoplayTimeout: 3000,
autoplayHoverPause: true,
});

function updateNavVisibility() {
const data = $carousel.data("owl.carousel");
if (!data) return;
992: { items: Math.min(2, maxItems) },
1200: { items: Math.min(3, maxItems) },
};

const totalItems = data._items.length;
$carousel.owlCarousel({
loop: false,
margin: 16,
nav: false,
responsive: responsiveConfig,
autoplay: false,
autoplayTimeout: 3000,
autoplayHoverPause: true,
mouseDrag: false,
touchDrag: false,
pullDrag: false,
rewind: false,
});

if (totalItems <= 1) {
$navButtons.hide();
} else {
$navButtons.show();
}
function updateNavVisibility() {
$navButtons.hide();
}

$carouselWrapper.find(".custom-next").on("click", function () {
Expand All @@ -39,7 +36,7 @@ $(function () {
$carouselWrapper.find(".custom-prev").on("click", function () {
$carousel.trigger("prev.owl.carousel");
});
updateNavVisibility();
$(window).on("resize", updateNavVisibility);
});

updateNavVisibility();
$(window).on("resize", updateNavVisibility);
});
Loading