Skip to content

Commit ae59a6c

Browse files
committed
docs: use a responsive image for bootstrap-logo-shadow.png
1 parent ea6957c commit ae59a6c

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

site/layouts/partials/home/masthead.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
<strong class="d-sm-inline-block p-2 me-2 mb-2 mb-lg-0 rounded-3 masthead-notice">New in v5.3</strong>
66
<span class="text-body-secondary">Color mode support, expanded color palette, and more!</span>
77
</a>
8-
<img src="/docs/{{ .Site.Params.docs_version }}/assets/brand/bootstrap-logo-shadow.png" width="200" height="165" alt="Bootstrap" class="d-none d-sm-block mx-auto mb-3">
8+
<img srcset="/docs/{{ .Site.Params.docs_version }}/assets/brand/bootstrap-logo-shadow.png, /docs/{{ .Site.Params.docs_version }}/assets/brand/bootstrap-logo-shadow@2x.png 2x"
9+
src="/docs/{{ .Site.Params.docs_version }}/assets/brand/bootstrap-logo-shadow.png"
10+
class="d-none d-sm-block mx-auto mb-3"
11+
alt="Bootstrap" width="200" height="165">
912
<h1 class="mb-3 fw-semibold lh-1">Build fast, responsive sites with&nbsp;Bootstrap</h1>
1013
<p class="lead mb-4">
1114
Powerful, extensible, and feature-packed frontend toolkit. Build and customize with Sass, utilize prebuilt grid system and components, and bring projects to life with powerful JavaScript plugins.
-32.2 KB
Loading
45.1 KB
Loading

0 commit comments

Comments
 (0)