Skip to content

Commit

Permalink
PXC-4327 Add EOL banner for PXС 5.7 (#125)
Browse files Browse the repository at this point in the history
modified:   _resource/overrides/main.html
	modified:   docs/css/percona.css
  • Loading branch information
alina-derkach-oaza authored Dec 26, 2023
1 parent ba4837c commit d833781
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions _resource/overrides/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ <h3>Contact us </h3>
</div>

{%- endmacro %}

{% block outdated %}
<div><strong>Starting November 2023, MySQL 5.7 has reached EOL status.</strong></p></div>
<div>Do you need help upgrading to MySQL 8.0? Do you need to stay on MySQL 5.7 a bit longer? We will support you either way. <a href="https://www.percona.com/navigating-mysql-5-7-end-of-life"> <strong> Learn more </strong></a></div>
{% endblock %}

{% block extrahead %}
{{ super() }}
Expand Down
5 changes: 5 additions & 0 deletions docs/css/percona.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ section {
page-break-inside: auto !important;
}

.md-banner--warning {
--md-warning-bg-color: #F0B336;
--md-warning-fg-color: black;
}

/*.git-revision-date-localized-plugin:before {
content: url('https://api.iconify.design/mdi/clock-edit-outline.svg');
}*/

0 comments on commit d833781

Please sign in to comment.