]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add links to Webpack, Parcel, and Vite guides on homepage (#36760)
authorMark Otto <markd.otto@gmail.com>
Mon, 18 Jul 2022 03:52:30 +0000 (20:52 -0700)
committerGitHub <noreply@github.com>
Mon, 18 Jul 2022 03:52:30 +0000 (20:52 -0700)
site/layouts/partials/home/masthead-followup.html
site/static/docs/5.2/assets/img/parcel.png [new file with mode: 0644]
site/static/docs/5.2/assets/img/vite.png [new file with mode: 0644]
site/static/docs/5.2/assets/img/webpack.png [new file with mode: 0644]

index 3dc8cb482392cc05c2f010f3bc9f378a352125e9..00a9e3367d6d993fdfeb97341753d5a6b4df6d5e 100644 (file)
 <script src="%s" integrity=%q crossorigin="anonymous"></script>
 `) .Site.Params.cdn.js_bundle (.Site.Params.cdn.js_bundle_hash | safeHTMLAttr)) "html" "" }}
     </div>
+
+    <div class="col-md-8 mx-auto text-center">
+      <h4 class="fw-semibold">Read our getting started guides</h4>
+      <p>Get a jump on including Bootstrap's source files in a new project with our official guides.</p>
+      <div class="d-flex flex-wrap align-items-center justify-content-center gap-4 mt-4">
+        <a class="d-flex flex-column align-items-center text-decoration-none" href="/docs/{{ .Site.Params.docs_version }}/getting-started/webpack">
+          <img class="d-block mb-2" src="/docs/{{ .Site.Params.docs_version }}/assets/img/webpack.png" alt="" width="72" height="72" loading="lazy">
+          <span class="text-muted">Webpack</span>
+        </a>
+        <a class="d-flex flex-column align-items-center text-decoration-none" href="/docs/{{ .Site.Params.docs_version }}/getting-started/parcel">
+          <img class="d-block mb-2" src="/docs/{{ .Site.Params.docs_version }}/assets/img/parcel.png" alt="" width="72" height="72" loading="lazy">
+          <span class="text-muted">Parcel</span>
+        </a>
+        <a class="d-flex flex-column align-items-center text-decoration-none" href="/docs/{{ .Site.Params.docs_version }}/getting-started/vite">
+          <img class="d-block mb-2" src="/docs/{{ .Site.Params.docs_version }}/assets/img/vite.png" alt="" width="72" height="72" loading="lazy">
+          <span class="text-muted">Vite</span>
+        </a>
+      </div>
+    </div>
   </section>
 
   <section class="col-lg-7 mb-5">
diff --git a/site/static/docs/5.2/assets/img/parcel.png b/site/static/docs/5.2/assets/img/parcel.png
new file mode 100644 (file)
index 0000000..899b29c
Binary files /dev/null and b/site/static/docs/5.2/assets/img/parcel.png differ
diff --git a/site/static/docs/5.2/assets/img/vite.png b/site/static/docs/5.2/assets/img/vite.png
new file mode 100644 (file)
index 0000000..87b844b
Binary files /dev/null and b/site/static/docs/5.2/assets/img/vite.png differ
diff --git a/site/static/docs/5.2/assets/img/webpack.png b/site/static/docs/5.2/assets/img/webpack.png
new file mode 100644 (file)
index 0000000..ed1719b
Binary files /dev/null and b/site/static/docs/5.2/assets/img/webpack.png differ