Add a banner for Nest 2021

See https://pagure.io/fedora-websites/issue/1095

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2021-07-21 10:16:31 +02:00
parent 6490c755b2
commit 9331c5341b
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,8 @@
<!-- This markup will be inserted after the navbar -->
<!-- https://pagure.io/fedora-websites/issue/1095 -->
<div class="banner">
<a href="https://hopin.com/events/nest-with-fedora-2021" target="_blank">
<img src="https://pagure.io/fedora-websites/issue/raw/files/c561c84a77b2b9288294505d2845e2549f0943907609bb4945ee9e870d2f7d7f-nestbanner.png">
</a>
</div>

View file

@ -0,0 +1,14 @@
<!-- This markup will be inserted at the end of the <head> -->
<!-- Banners -->
<style nonce="{{ csp_nonce() }}">
div.banner {
padding-top: 1em;
background-color: white;
width: auto;
text-align: center;
}
div.banner img {
max-width: 100%;
}
</style>