aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2024-04-01 21:54:56 +0300
committerGitHub <[email protected]>2024-04-01 21:54:56 +0300
commitba73ed6906226b9b6be37b01b91bc1a473417b28 (patch)
treed5c55aa14b1661376d296788dda24b93c977aed0
parent4093ed32ee6390223a885a676d0a3086257b8789 (diff)
downloadbootstrap-ba73ed6906226b9b6be37b01b91bc1a473417b28.tar.xz
bootstrap-ba73ed6906226b9b6be37b01b91bc1a473417b28.zip
docs: resize docs bundler images and fix dimensions (#39824)
The dimensions must be of the non-2x image.
-rw-r--r--site/content/docs/5.3/getting-started/parcel.md2
-rw-r--r--site/content/docs/5.3/getting-started/vite.md2
-rw-r--r--site/content/docs/5.3/getting-started/webpack.md2
-rw-r--r--site/static/docs/5.3/assets/img/guides/bootstrap-parcel.pngbin161826 -> 144652 bytes
-rw-r--r--site/static/docs/5.3/assets/img/guides/[email protected]bin564766 -> 511984 bytes
-rw-r--r--site/static/docs/5.3/assets/img/guides/bootstrap-vite.pngbin169189 -> 146772 bytes
-rw-r--r--site/static/docs/5.3/assets/img/guides/[email protected]bin558538 -> 517193 bytes
-rw-r--r--site/static/docs/5.3/assets/img/guides/bootstrap-webpack.pngbin169872 -> 149510 bytes
-rw-r--r--site/static/docs/5.3/assets/img/guides/[email protected]bin572482 -> 533104 bytes
9 files changed, 3 insertions, 3 deletions
diff --git a/site/content/docs/5.3/getting-started/parcel.md b/site/content/docs/5.3/getting-started/parcel.md
index 4291f76cc..73de599c9 100644
--- a/site/content/docs/5.3/getting-started/parcel.md
+++ b/site/content/docs/5.3/getting-started/parcel.md
@@ -7,7 +7,7 @@ toc: true
thumbnail: guides/[email protected]
---
-<img class="mb-4 img-fluid rounded-3" srcset="/docs/{{< param docs_version >}}/assets/img/guides/bootstrap-parcel.png, /docs/{{< param docs_version >}}/assets/img/guides/[email protected] 2x" src="/docs/{{< param docs_version >}}/assets/img/guides/bootstrap-parcel.png" width="2000" height="1000" alt="">
+<img class="d-block mx-auto mb-4 img-fluid rounded-3" srcset="/docs/{{< param docs_version >}}/assets/img/guides/bootstrap-parcel.png, /docs/{{< param docs_version >}}/assets/img/guides/[email protected] 2x" src="/docs/{{< param docs_version >}}/assets/img/guides/bootstrap-parcel.png" width="800" height="400" alt="">
{{< callout >}}
**Want to skip to the end?** Download the source code and working demo for this guide from the [twbs/examples repository](https://github.com/twbs/examples/tree/main/parcel). You can also [open the example in StackBlitz](https://stackblitz.com/github/twbs/examples/tree/main/parcel?file=index.html) but not run it because Parcel isn't currently supported there.
diff --git a/site/content/docs/5.3/getting-started/vite.md b/site/content/docs/5.3/getting-started/vite.md
index 029a22c8a..380f56bc8 100644
--- a/site/content/docs/5.3/getting-started/vite.md
+++ b/site/content/docs/5.3/getting-started/vite.md
@@ -10,7 +10,7 @@ added:
version: "5.2"
---
-<img class="mb-4 img-fluid rounded-3" srcset="/docs/{{< param docs_version >}}/assets/img/guides/bootstrap-vite.png, /docs/{{< param docs_version >}}/assets/img/guides/[email protected] 2x" src="/docs/{{< param docs_version >}}/assets/img/guides/bootstrap-vite.png" width="2000" height="1000" alt="">
+<img class="d-block mx-auto mb-4 img-fluid rounded-3" srcset="/docs/{{< param docs_version >}}/assets/img/guides/bootstrap-vite.png, /docs/{{< param docs_version >}}/assets/img/guides/[email protected] 2x" src="/docs/{{< param docs_version >}}/assets/img/guides/bootstrap-vite.png" width="800" height="400" alt="">
{{< callout >}}
**Want to skip to the end?** Download the source code and working demo for this guide from the [twbs/examples repository](https://github.com/twbs/examples/tree/main/vite). You can also [open the example in StackBlitz](https://stackblitz.com/github/twbs/examples/tree/main/vite?file=index.html) for live editing.
diff --git a/site/content/docs/5.3/getting-started/webpack.md b/site/content/docs/5.3/getting-started/webpack.md
index 01899643d..af1cbfa83 100644
--- a/site/content/docs/5.3/getting-started/webpack.md
+++ b/site/content/docs/5.3/getting-started/webpack.md
@@ -7,7 +7,7 @@ toc: true
thumbnail: guides/[email protected]
---
-<img class="mb-4 img-fluid rounded-3" srcset="/docs/{{< param docs_version >}}/assets/img/guides/bootstrap-webpack.png, /docs/{{< param docs_version >}}/assets/img/guides/[email protected] 2x" src="/docs/{{< param docs_version >}}/assets/img/guides/bootstrap-webpack.png" width="2000" height="1000" alt="">
+<img class="d-block mx-auto mb-4 img-fluid rounded-3" srcset="/docs/{{< param docs_version >}}/assets/img/guides/bootstrap-webpack.png, /docs/{{< param docs_version >}}/assets/img/guides/[email protected] 2x" src="/docs/{{< param docs_version >}}/assets/img/guides/bootstrap-webpack.png" width="800" height="400" alt="">
{{< callout >}}
**Want to skip to the end?** Download the source code and working demo for this guide from the [twbs/examples repository](https://github.com/twbs/examples/tree/main/webpack). You can also [open the example in StackBlitz](https://stackblitz.com/github/twbs/examples/tree/main/webpack?file=index.html) for live editing.
diff --git a/site/static/docs/5.3/assets/img/guides/bootstrap-parcel.png b/site/static/docs/5.3/assets/img/guides/bootstrap-parcel.png
index 4cfa46cf3..50fc79951 100644
--- a/site/static/docs/5.3/assets/img/guides/bootstrap-parcel.png
+++ b/site/static/docs/5.3/assets/img/guides/bootstrap-parcel.png
Binary files differ
diff --git a/site/static/docs/5.3/assets/img/guides/[email protected] b/site/static/docs/5.3/assets/img/guides/[email protected]
index 4f7165879..fe0ec4c63 100644
--- a/site/static/docs/5.3/assets/img/guides/[email protected]
+++ b/site/static/docs/5.3/assets/img/guides/[email protected]
Binary files differ
diff --git a/site/static/docs/5.3/assets/img/guides/bootstrap-vite.png b/site/static/docs/5.3/assets/img/guides/bootstrap-vite.png
index a290110e7..de4cad734 100644
--- a/site/static/docs/5.3/assets/img/guides/bootstrap-vite.png
+++ b/site/static/docs/5.3/assets/img/guides/bootstrap-vite.png
Binary files differ
diff --git a/site/static/docs/5.3/assets/img/guides/[email protected] b/site/static/docs/5.3/assets/img/guides/[email protected]
index 5fe40c526..f8d485808 100644
--- a/site/static/docs/5.3/assets/img/guides/[email protected]
+++ b/site/static/docs/5.3/assets/img/guides/[email protected]
Binary files differ
diff --git a/site/static/docs/5.3/assets/img/guides/bootstrap-webpack.png b/site/static/docs/5.3/assets/img/guides/bootstrap-webpack.png
index 189b7f494..c7be9fc39 100644
--- a/site/static/docs/5.3/assets/img/guides/bootstrap-webpack.png
+++ b/site/static/docs/5.3/assets/img/guides/bootstrap-webpack.png
Binary files differ
diff --git a/site/static/docs/5.3/assets/img/guides/[email protected] b/site/static/docs/5.3/assets/img/guides/[email protected]
index 7006386f0..be6b5fb0a 100644
--- a/site/static/docs/5.3/assets/img/guides/[email protected]
+++ b/site/static/docs/5.3/assets/img/guides/[email protected]
Binary files differ