Skip to content
Merged
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
12 changes: 11 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,17 @@

<a class="skip-link" href="#main-content">Skip to main content</a>

<div class="banner" id="event-banner">
<div class="banner banner-rebrand" id="rebrand-banner">
<div class="container">
<p>
<span class="rebrand-pill">New name</span>
<strong>Kagenti is becoming Rosso</strong><span class="banner-detail"> — you'll see the new name reflected across all project sites soon.</span>
</p>
<button class="banner-close" aria-label="Dismiss rebrand announcement" onclick="dismissRebrandBanner()">×</button>
</div>
</div>

<div class="banner hidden" id="event-banner">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion (non-blocking) — this adds hidden to the live KubeCon #event-banner so the rebrand message stands alone. Just confirming that's intended: KubeCon NA (Nov 9–12) is still upcoming, so you're trading the event promo for the rename notice. The markup is kept (only the class added), so restoring it later is a one-line revert — no concern there. Mentioning only so the event-banner drop is a conscious call, not a side effect.

<div class="container">
<p>
<strong>Find Kagenti at KubeCon NA</strong><span class="banner-detail"> — Nov 9–12.</span>
Expand Down
11 changes: 11 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,23 @@ function dismissBanner() {
try { sessionStorage.setItem('kagenti-banner-dismissed', '1'); } catch (e) {}
}

function dismissRebrandBanner() {
var banner = document.getElementById('rebrand-banner');
if (!banner) return;
banner.classList.add('hidden');
try { sessionStorage.setItem('kagenti-rebrand-dismissed', '1'); } catch (e) {}
}

(function () {
try {
if (sessionStorage.getItem('kagenti-banner-dismissed') === '1') {
var banner = document.getElementById('event-banner');
if (banner) banner.classList.add('hidden');
}
if (sessionStorage.getItem('kagenti-rebrand-dismissed') === '1') {
var rebrand = document.getElementById('rebrand-banner');
if (rebrand) rebrand.classList.add('hidden');
}
} catch (e) {}
})();

Expand Down
23 changes: 23 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,29 @@ body {
.banner-close:hover { opacity: 1; }
.banner.hidden { display: none; }

/* Rebrand announcement banner (Kagenti → Rosso) */
.banner-rebrand {
background: #fdecec; /* light red tint — distinct from the dark event banner */
color: var(--c-text);
border-bottom: 2px solid #ee0000;
}
.banner-rebrand .banner-close { color: var(--c-text); }
.banner-rebrand a { color: #cc0000; border-bottom-color: rgba(204,0,0,0.4); }
.banner-rebrand a:hover { border-bottom-color: #cc0000; }
.rebrand-pill {
display: inline-block;
background: #cc0000;
color: #f9f9f7;
font-weight: 700;
font-size: 0.6875rem;
letter-spacing: 0.04em;
text-transform: uppercase;
padding: 0.15rem 0.5rem;
border-radius: 999px;
margin-right: var(--sp-3);
vertical-align: middle;
}

/* --------------------------------------------------------------------------
Header
-------------------------------------------------------------------------- */
Expand Down