diff options
Diffstat (limited to 'site')
-rw-r--r-- | site/assets/scss/_footer.scss | 6 | ||||
-rw-r--r-- | site/layouts/partials/footer.html | 65 |
2 files changed, 57 insertions, 14 deletions
diff --git a/site/assets/scss/_footer.scss b/site/assets/scss/_footer.scss index 48ad349de0..87cee6d2bd 100644 --- a/site/assets/scss/_footer.scss +++ b/site/assets/scss/_footer.scss @@ -3,16 +3,14 @@ // .bd-footer { - @include font-size(.875rem); - color: #63707c; - a { - font-weight: 600; color: $gray-700; + text-decoration: none; &:hover, &:focus { color: $link-color; + text-decoration: underline; } } } diff --git a/site/layouts/partials/footer.html b/site/layouts/partials/footer.html index 45f8010157..96beebb492 100644 --- a/site/layouts/partials/footer.html +++ b/site/layouts/partials/footer.html @@ -1,12 +1,57 @@ -<footer class="bd-footer p-3 p-md-5 mt-5 bg-light text-center text-sm-start"> - <div class="container"> - <ul class="bd-footer-links ps-0 mb-3"> - <li class="d-inline-block"><a href="{{ .Site.Params.github_org }}">GitHub</a></li> - <li class="d-inline-block ms-3"><a href="https://twitter.com/{{ .Site.Params.twitter }}">Twitter</a></li> - <li class="d-inline-block ms-3"><a href="/docs/{{ .Site.Params.docs_version }}/examples/">Examples</a></li> - <li class="d-inline-block ms-3"><a href="/docs/{{ .Site.Params.docs_version }}/about/overview/">About</a></li> - </ul> - <p class="mb-0">Designed and built with all the love in the world by the <a href="/docs/{{ .Site.Params.docs_version }}/about/team/">Bootstrap team</a> with the help of <a href="{{ .Site.Params.repo }}/graphs/contributors">our contributors</a>.</p> - <p class="mb-0">Currently v{{ .Site.Params.current_version }}. Code licensed <a href="{{ .Site.Params.repo }}/blob/main/LICENSE" target="_blank" rel="license noopener">MIT</a>, docs <a href="https://creativecommons.org/licenses/by/3.0/" target="_blank" rel="license noopener">CC BY 3.0</a>.</p> +<footer class="bd-footer py-5 mt-5 bg-light"> + <div class="container py-5"> + <div class="row"> + <div class="col-lg-3 mb-3"> + <a class="d-inline-flex align-items-center mb-2 link-dark text-decoration-none" href="/" aria-label="Bootstrap"> + {{ partial "icons/bootstrap-white-fill.svg" (dict "class" "d-block me-2" "width" "40" "height" "32") }} + <span class="fs-5">Bootstrap</span> + </a> + <ul class="list-unstyled small text-muted"> + <li class="mb-2">Designed and built with all the love in the world by the <a href="/docs/{{ .Site.Params.docs_version }}/about/team/">Bootstrap team</a> with the help of <a href="{{ .Site.Params.repo }}/graphs/contributors">our contributors</a>.</li> + <li class="mb-2">Code licensed <a href="{{ .Site.Params.repo }}/blob/main/LICENSE" target="_blank" rel="license noopener">MIT</a>, docs <a href="https://creativecommons.org/licenses/by/3.0/" target="_blank" rel="license noopener">CC BY 3.0</a>.</li> + <li class="mb-2">Currently v{{ .Site.Params.current_version }}.</li> + </ul> + </div> + <div class="col-6 col-lg-2 offset-lg-1 mb-3"> + <h5>Links</h5> + <ul class="list-unstyled"> + <li class="mb-2"><a href="/">Home</a></li> + <li class="mb-2"><a href="/docs/{{ .Site.Params.docs_version }}/">Docs</a></li> + <li class="mb-2"><a href="/docs/{{ .Site.Params.docs_version }}/examples/">Examples</a></li> + <li class="mb-2"><a href="{{ .Site.Params.opencollective }}">Themes</a></li> + <li class="mb-2"><a href="{{ .Site.Params.blog }}">Blog</a></li> + </ul> + </div> + <div class="col-6 col-lg-2 mb-3"> + <h5>Guides</h5> + <ul class="list-unstyled"> + <li class="mb-2"><a href="/docs/{{ .Site.Params.docs_version }}/getting-started/">Getting started</a></li> + <li class="mb-2"><a href="/docs/{{ .Site.Params.docs_version }}/examples/starter-template/">Starter template</a></li> + <li class="mb-2"><a href="/docs/{{ .Site.Params.docs_version }}/getting-started/webpack/">Webpack</a></li> + <li class="mb-2"><a href="/docs/{{ .Site.Params.docs_version }}/getting-started/parcel/">Parcel</a></li> + </ul> + </div> + <div class="col-6 col-lg-2 mb-3"> + <h5>Projects</h5> + <ul class="list-unstyled"> + <li class="mb-2"><a href="{{ .Site.Params.github_org }}/bootstrap" rel="noopener">Bootstrap 5</a></li> + <li class="mb-2"><a href="{{ .Site.Params.github_org }}/bootstrap/tree/v4-dev" rel="noopener">Bootstrap 4</a></li> + <li class="mb-2"><a href="{{ .Site.Params.github_org }}/icons" rel="noopener">Icons</a></li> + <li class="mb-2"><a href="{{ .Site.Params.github_org }}/rfs" rel="noopener">RFS</a></li> + <li class="mb-2"><a href="{{ .Site.Params.github_org }}/bootstrap-npm-starter" rel="noopener">npm starter</a></li> + </ul> + </div> + <div class="col-6 col-lg-2 mb-3"> + <h5>Community</h5> + <ul class="list-unstyled"> + <li class="mb-2"><a href="{{ .Site.Params.github_org }}/bootstrap/issues" rel="noopener">Issues</a></li> + <li class="mb-2"><a href="{{ .Site.Params.github_org }}/bootstrap/discussions" rel="noopener">Discussions</a></li> + <li class="mb-2"><a href="https://github.com/sponsors/twbs" rel="noopener">Corporate sponsors</a></li> + <li class="mb-2"><a href="{{ .Site.Params.opencollective }}" rel="noopener">Open Collective</a></li> + <li class="mb-2"><a href="{{ .Site.Params.slack }}" rel="noopener">Slack</a></li> + <li class="mb-2"><a href="https://stackoverflow.com/questions/tagged/bootstrap-5" rel="noopener">Stack Overflow</a></li> + </ul> + </div> + </div> </div> </footer> |