chore: update announcement-bar for portal

This commit is contained in:
Thijs Louisse 2025-11-17 13:42:59 +01:00 committed by Thijs Louisse
parent 98f4a65b57
commit 531d86efcd
2 changed files with 13 additions and 3 deletions

View file

@ -130,3 +130,13 @@ rocket-navigation ul > li:nth-child(n + 6).active > ul {
font-size: inherit;
color: inherit;
}
.announcement-bar {
background: var(--primary-color);
color: white;
text-align: center;
& a {
color: white;
}
}

View file

@ -1,8 +1,8 @@
<div style="background: linear-gradient(to right, var(--primary-color-lighter), var(--primary-color)); padding: 2px 20px;">
<p style="color: #fff">A new portal is coming! <a href="/about/astro">Check this out.</a></p>
<div class="announcement-bar">
<p>A new portal is coming! Check out <a href="/about/astro">the technical release of our Astro portal</a></p>
</div>
<header id="main-header" style="top: 20px;">
<header id="main-header">
<div class="content-area">
{% for blockName, blockPath in _joiningBlocks.header %}
{% include blockPath %}