mirror of https://github.com/twbs/bootstrap.git
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;
|
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>
|
<body>
|
||||||
{{ partial "skippy" . }}
|
{{ partial "skippy" . }}
|
||||||
|
|
||||||
|
{{ partial "announcement" . }}
|
||||||
|
|
||||||
{{ partial "docs-navbar" . }}
|
{{ partial "docs-navbar" . }}
|
||||||
|
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
<body>
|
<body>
|
||||||
{{ partial "skippy" . }}
|
{{ partial "skippy" . }}
|
||||||
|
|
||||||
|
{{ partial "announcement" . }}
|
||||||
|
|
||||||
{{ partial "docs-navbar" . }}
|
{{ partial "docs-navbar" . }}
|
||||||
|
|
||||||
{{ partial "home/masthead" . }}
|
{{ partial "home/masthead" . }}
|
||||||
|
|
|
@ -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…
Reference in New Issue