aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2024-03-06 10:17:35 +0200
committerGitHub <[email protected]>2024-03-06 10:17:35 +0200
commit192b7f785ee91dd8dde62bc37a8c6fa02cdba194 (patch)
treeeb5d67696a7745b55f2c23149cf035b54bd99592
parent2c4e1cd660ee03e1fc9f2804487ae8c567d8d1e3 (diff)
downloadbootstrap-192b7f785ee91dd8dde62bc37a8c6fa02cdba194.tar.xz
bootstrap-192b7f785ee91dd8dde62bc37a8c6fa02cdba194.zip
docs: use a responsive image for bootstrap-logo-shadow.png (#39745)
-rw-r--r--site/layouts/partials/home/masthead.html8
-rw-r--r--site/static/docs/5.3/assets/brand/bootstrap-logo-shadow.pngbin46112 -> 13177 bytes
-rw-r--r--site/static/docs/5.3/assets/brand/[email protected]bin0 -> 46112 bytes
3 files changed, 7 insertions, 1 deletions
diff --git a/site/layouts/partials/home/masthead.html b/site/layouts/partials/home/masthead.html
index ef89931b3..9509c84b4 100644
--- a/site/layouts/partials/home/masthead.html
+++ b/site/layouts/partials/home/masthead.html
@@ -5,7 +5,13 @@
<strong class="d-sm-inline-block p-2 me-2 mb-2 mb-lg-0 rounded-3 masthead-notice">New in v5.3</strong>
<span class="text-body-secondary">Color mode support, expanded color palette, and more!</span>
</a>
- <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">
+ <img class="d-none d-sm-block mx-auto mb-3"
+ srcset="/docs/{{ .Site.Params.docs_version }}/assets/brand/bootstrap-logo-shadow.png,
+ /docs/{{ .Site.Params.docs_version }}/assets/brand/[email protected] 2x"
+ src="/docs/{{ .Site.Params.docs_version }}/assets/brand/bootstrap-logo-shadow.png"
+ alt="Bootstrap"
+ width="200"
+ height="165">
<h1 class="mb-3 fw-semibold lh-1">Build fast, responsive sites with&nbsp;Bootstrap</h1>
<p class="lead mb-4">
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.
diff --git a/site/static/docs/5.3/assets/brand/bootstrap-logo-shadow.png b/site/static/docs/5.3/assets/brand/bootstrap-logo-shadow.png
index cdd0c8a34..84ecffdb6 100644
--- a/site/static/docs/5.3/assets/brand/bootstrap-logo-shadow.png
+++ b/site/static/docs/5.3/assets/brand/bootstrap-logo-shadow.png
Binary files differ
diff --git a/site/static/docs/5.3/assets/brand/[email protected] b/site/static/docs/5.3/assets/brand/[email protected]
new file mode 100644
index 000000000..cdd0c8a34
--- /dev/null
+++ b/site/static/docs/5.3/assets/brand/[email protected]
Binary files differ