add banner

This commit is contained in:
2025-09-05 13:51:55 +02:00
parent 1c97bdb039
commit 2c2e0e20a1
2 changed files with 25 additions and 2 deletions

View File

@@ -42,7 +42,8 @@
<!-- End Twitter universal website tag code -->
{% include "partials/header.html" %}
<div id="content" class="px-4 lg:px-0 pt-12 overflow-hidden">
<div id="content" class="px-4 lg:px-0 pt-12 mt-4 overflow-hidden">
{% include "partials/banner.html" %}
{% block content %}{% endblock %}
</div>
@@ -60,4 +61,4 @@
background: rgb(15,15,15);
background: radial-gradient(circle, rgba(15,15,15,1) 0%, rgb(24, 24, 24) 50%, rgba(15,15,15,1) 100%);
}
</style>
</style>

View File

@@ -0,0 +1,22 @@
<style>
@keyframes blink {
from { opacity: 1; }
to { opacity: 0.7; }
}
.blink {
animation: blink 2s infinite alternate;
}
</style>
<div class="relative isolate flex items-center gap-x-6 overflow-hidden mt-4 bg-gray-50 px-6 py-2 sm:before:flex-1 dark:bg-gray-800/50 dark:after:pointer-events-none dark:after:absolute dark:after:inset-x-0 dark:after:bottom-0 dark:after:h-px dark:after:bg-white/10" style="background: #f5e4ed; background: radial-gradient(circle, rgba(245, 228, 237, 1) 0%, rgba(176, 213, 255, 1) 100%);">
<p class="text-sm/6 text-gray-900 dark:text-gray-100 blink">
Threefold is going commercial with the <a href="https://www.threefold.io/newsroom/kubecloud/" target="_blank" rel="noopener" class="underline font-semibold whitespace-nowrap text-gray-900 hover:text-gray-700 dark:text-white dark:hover:text-gray-300" style="text-decoration: underline;">KubeCloud Launch</a>! Read our <a href="https://www.threefold.io/newsroom/summer-2025-roundup/" target="_blank" rel="noopener" class="underline font-semibold whitespace-nowrap text-gray-900 hover:text-gray-700 dark:text-white dark:hover:text-gray-300" style="text-decoration: underline;">2025 Summer Round Up</a> <span aria-hidden="true">&rarr;</span>
</p>
<div class="flex flex-1 justify-end">
<button type="button" class="-m-3 p-3 focus-visible:-outline-offset-4" style="border: none; outline: none; box-shadow: none;">
<span class="sr-only">Dismiss</span>
<svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="size-5 text-gray-900 dark:text-gray-100">
<path d="M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z" />
</svg>
</button>
</div>
</div>