0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

feat(announcement): Add End of Life announcement

This commit is contained in:
Edward Ezekiel 2024-03-05 13:37:35 -06:00
parent fa4fbc8798
commit 26f225831a
4 changed files with 30 additions and 0 deletions

View File

@ -69,3 +69,12 @@
background: escape-svg($dropdown-active-icon) no-repeat .4rem .6rem/.75rem .75rem;
}
}
.bd-announcement {
color: $white;
background-color: $bd-purple;
a {
color: $white;
text-decoration: underline;
}
}

View File

@ -6,6 +6,8 @@
<body>
{{ partial "skippy" . }}
{{ partial "announcement" . }}
{{ partial "docs-navbar" . }}
<div class="container-fluid">

View File

@ -6,6 +6,8 @@
<body>
{{ partial "skippy" . }}
{{ partial "announcement" . }}
{{ partial "docs-navbar" . }}
{{ partial "home/masthead" . }}

View File

@ -0,0 +1,17 @@
<div class="d-block px-3 py-2 text-center text-bold bd-announcement">
Bootstrap 4 has reached end of life.
<a
href="https://getbootstrap.com/docs/5.3/migration/"
target="_blank"
rel="noopener"
>Upgrade to the latest</a
>
or consider
<a
href="https://www.herodevs.com/support/nes-bootstrap?utm_source=Bootstrap_site&utm_medium=Banner&utm_campaign=v4_eol"
target="_blank"
rel="noopener"
>Never-Ending-Support</a
>
for your project
</div>