Skip to content

Commit 786f5f0

Browse files
committed
Add Percona Live Banner (17)
This PR adds the percona live banner for psp 17.
1 parent 1d5bd35 commit 786f5f0

3 files changed

Lines changed: 62 additions & 1 deletion

File tree

_resource/overrides/main.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,31 @@
66
{# Import the theme's layout. #}
77
{% extends "base.html" %}
88

9+
{% block announce %}
10+
<div class="md-banner" style="text-align: center;">
11+
Where the open source database community meets:
12+
Use code <strong>PERCONA75</strong> and secure your spot for Percona Live.
13+
14+
<a
15+
class="breakdance-link button-atom button-atom--primary bde-button__button"
16+
href="https://perconalive.com/2026-usa/"
17+
target="_blank"
18+
data-type="url"
19+
style="
20+
padding: 5px 20px;
21+
display: inline-block;
22+
margin-left: 10px;
23+
background-color: #005ed6;
24+
border-radius: 999px;
25+
text-decoration: none;
26+
"
27+
>
28+
<span class="button-atom__text" style="font-size: 16px; color: #ffffff;">
29+
Register
30+
</span>
31+
</a>
32+
</div>
33+
{% endblock %}
934

1035
{% block scripts %}
1136
<script src="https://cmp.osano.com/Azqe5vTyLOSbN3OuT/49ad85b5-0418-4794-ab81-7599dddd534c/osano.js"></script>

_resourcepdf/overrides/main.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,32 @@
1212
</div>
1313
{% endblock %}
1414

15+
{% block announce %}
16+
<div class="md-banner" style="text-align: center;">
17+
Where the open source database community meets:
18+
Use code <strong>PERCONA75</strong> and secure your spot for Percona Live.
19+
20+
<a
21+
class="breakdance-link button-atom button-atom--primary bde-button__button"
22+
href="https://perconalive.com/2026-usa/"
23+
target="_blank"
24+
data-type="url"
25+
style="
26+
padding: 5px 20px;
27+
display: inline-block;
28+
margin-left: 10px;
29+
background-color: #005ed6;
30+
border-radius: 999px;
31+
text-decoration: none;
32+
"
33+
>
34+
<span class="button-atom__text" style="font-size: 16px; color: #ffffff;">
35+
Register
36+
</span>
37+
</a>
38+
</div>
39+
{% endblock %}
40+
1541
{% block scripts %}
1642
<script src="https://cmp.osano.com/Azqe5vTyLOSbN3OuT/49ad85b5-0418-4794-ab81-7599dddd534c/osano.js"></script>
1743
{{ super() }}

docs/css/extra.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,14 @@
5959
font-size: 0.6rem !important; /* smaller font */
6060
color: var(--md-typeset-a-color);
6161
}
62-
62+
63+
/* Percona live announcement banner */
64+
65+
.md-banner {
66+
text-align: center;
67+
}
68+
69+
.md-banner,
70+
.md-banner * {
71+
font-family: "Poppins", sans-serif !important;
72+
}

0 commit comments

Comments
 (0)