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:
parent
fa4fbc8798
commit
26f225831a
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -6,6 +6,8 @@
|
||||
<body>
|
||||
{{ partial "skippy" . }}
|
||||
|
||||
{{ partial "announcement" . }}
|
||||
|
||||
{{ partial "docs-navbar" . }}
|
||||
|
||||
<div class="container-fluid">
|
||||
|
@ -6,6 +6,8 @@
|
||||
<body>
|
||||
{{ partial "skippy" . }}
|
||||
|
||||
{{ partial "announcement" . }}
|
||||
|
||||
{{ partial "docs-navbar" . }}
|
||||
|
||||
{{ partial "home/masthead" . }}
|
||||
|
17
site/layouts/partials/announcement.html
Normal file
17
site/layouts/partials/announcement.html
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user