]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
docs: use a responsive image for bootstrap-logo-shadow.png (#39745)
authorXhmikosR <xhmikosr@gmail.com>
Wed, 6 Mar 2024 08:17:35 +0000 (10:17 +0200)
committerGitHub <noreply@github.com>
Wed, 6 Mar 2024 08:17:35 +0000 (10:17 +0200)
site/layouts/partials/home/masthead.html
site/static/docs/5.3/assets/brand/bootstrap-logo-shadow.png
site/static/docs/5.3/assets/brand/bootstrap-logo-shadow@2x.png [new file with mode: 0644]

index ef89931b3b5197980ebe2e552b21086e25600fde..9509c84b4f76cee367bbf96338ac107b561f957f 100644 (file)
@@ -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/bootstrap-logo-shadow@2x.png 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.
index cdd0c8a34dc022ccc694b2115e8006f476f8d104..84ecffdb6af6b836c3cdf31f28dda3aab502e1c5 100644 (file)
Binary files a/site/static/docs/5.3/assets/brand/bootstrap-logo-shadow.png and b/site/static/docs/5.3/assets/brand/bootstrap-logo-shadow.png differ
diff --git a/site/static/docs/5.3/assets/brand/bootstrap-logo-shadow@2x.png b/site/static/docs/5.3/assets/brand/bootstrap-logo-shadow@2x.png
new file mode 100644 (file)
index 0000000..cdd0c8a
Binary files /dev/null and b/site/static/docs/5.3/assets/brand/bootstrap-logo-shadow@2x.png differ