0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Merge branch 'main' into main

This commit is contained in:
ac-mmi 2024-10-07 18:44:45 +05:30 committed by GitHub
commit f12cc2c525
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 11 additions and 11 deletions

View File

@ -18,7 +18,7 @@
<svg class="bi fs-5 flex-shrink-0 mt-1" aria-hidden="true"><use xlink:href="#box-seam"></use></svg> <svg class="bi fs-5 flex-shrink-0 mt-1" aria-hidden="true"><use xlink:href="#box-seam"></use></svg>
<div> <div>
<h3 class="h5 mb-1"> <h3 class="h5 mb-1">
<a class="d-block link-offset-1" href="{{ urls.JoinPath $.Site.Params.github_org $example.url }}" target="_blank" rel="noopener"> <a class="d-block link-offset-1" href="{{ urls.JoinPath $.Site.Params.github_org $example.url }}" target="_blank" rel="noopener" id="starter-{{ $i }}">
{{ $example.name }} {{ $example.name }}
</a> </a>
</h3> </h3>
@ -26,9 +26,9 @@
<p> <p>
{{- $indexPath := default "index.html" $example.indexPath -}} {{- $indexPath := default "index.html" $example.indexPath -}}
{{- $stackBlitzUrl := printf "%s%s%s" (urls.JoinPath "https://stackblitz.com/github/twbs" $example.url) "?file=" ($indexPath | urlquery) }} {{- $stackBlitzUrl := printf "%s%s%s" (urls.JoinPath "https://stackblitz.com/github/twbs" $example.url) "?file=" ($indexPath | urlquery) }}
<a class="icon-link small link-secondary link-offset-1" href="{{ $stackBlitzUrl }}" target="_blank" rel="noopener"> <a class="icon-link small link-secondary link-offset-1" href="{{ $stackBlitzUrl }}" target="_blank" rel="noopener" aria-labelledby="edit-{{ $i }} starter-{{ $i }}">
<svg class="bi flex-shrink-0" aria-hidden="true"><use xlink:href="#lightning-charge-fill"></use></svg> <svg class="bi flex-shrink-0" aria-hidden="true"><use xlink:href="#lightning-charge-fill"></use></svg>
Edit in StackBlitz <span id="edit-{{ $i }}">Edit in StackBlitz</span>
</a> </a>
</p> </p>
</div> </div>

View File

@ -52,7 +52,7 @@
</li> </li>
</ul> </ul>
`) "html" "" }} `) "html" "" }}
<p class="d-flex justify-content-start mb-md-0"> <p class="d-flex mb-md-0">
<a href="/docs/{{ .Site.Params.docs_version }}/examples/#snippets" class="icon-link icon-link-hover fw-semibold"> <a href="/docs/{{ .Site.Params.docs_version }}/examples/#snippets" class="icon-link icon-link-hover fw-semibold">
Explore customized components Explore customized components
<svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg> <svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg>
@ -77,7 +77,7 @@ $utilities: map-merge(
); );
`) "scss" "" }} `) "scss" "" }}
<p class="d-flex justify-content-start mb-md-0"> <p class="d-flex mb-md-0">
<a href="/docs/{{ .Site.Params.docs_version }}/utilities/api/" class="icon-link icon-link-hover fw-semibold mb-3"> <a href="/docs/{{ .Site.Params.docs_version }}/utilities/api/" class="icon-link icon-link-hover fw-semibold mb-3">
Explore the utility API Explore the utility API
<svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg> <svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg>

View File

@ -7,7 +7,7 @@
<p class="lead fw-normal"> <p class="lead fw-normal">
Bootstrap 5 is evolving with each release to better utilize CSS variables for global theme styles, individual components, and even utilities. We provide dozens of variables for colors, font styles, and more at a <code>:root</code> level for use anywhere. On components and utilities, CSS variables are scoped to the relevant class and can easily be modified. Bootstrap 5 is evolving with each release to better utilize CSS variables for global theme styles, individual components, and even utilities. We provide dozens of variables for colors, font styles, and more at a <code>:root</code> level for use anywhere. On components and utilities, CSS variables are scoped to the relevant class and can easily be modified.
</p> </p>
<p class="d-flex align-items-start flex-column lead fw-normal mb-0"> <p class="d-flex flex-column lead fw-normal mb-0">
<a href="/docs/{{ .Site.Params.docs_version }}/customize/css-variables/" class="icon-link icon-link-hover fw-semibold mb-3"> <a href="/docs/{{ .Site.Params.docs_version }}/customize/css-variables/" class="icon-link icon-link-hover fw-semibold mb-3">
Learn more about CSS variables Learn more about CSS variables
<svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg> <svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg>

View File

@ -6,7 +6,7 @@
<p class="lead fw-normal"> <p class="lead fw-normal">
Bootstrap utilizes Sass for a modular and customizable architecture. Import only the components you need, enable global options like gradients and shadows, and write your own CSS with our variables, maps, functions, and mixins. Bootstrap utilizes Sass for a modular and customizable architecture. Import only the components you need, enable global options like gradients and shadows, and write your own CSS with our variables, maps, functions, and mixins.
</p> </p>
<p class="d-flex justify-content-start lead fw-normal"> <p class="d-flex lead fw-normal">
<a href="/docs/{{ .Site.Params.docs_version }}/customize/overview/" class="icon-link icon-link-hover fw-semibold"> <a href="/docs/{{ .Site.Params.docs_version }}/customize/overview/" class="icon-link icon-link-hover fw-semibold">
Learn more about customizing Learn more about customizing
<svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg> <svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg>

View File

@ -6,7 +6,7 @@
<p class="lead fw-normal"> <p class="lead fw-normal">
Jump right into building with Bootstrap—use the CDN, install it via package manager, or download the source code. Jump right into building with Bootstrap—use the CDN, install it via package manager, or download the source code.
</p> </p>
<p class="d-flex justify-content-md-start justify-content-md-center lead fw-normal"> <p class="d-flex justify-content-md-center lead fw-normal">
<a href="/docs/{{ .Site.Params.docs_version }}/getting-started/download/" class="icon-link icon-link-hover fw-semibold ps-md-4"> <a href="/docs/{{ .Site.Params.docs_version }}/getting-started/download/" class="icon-link icon-link-hover fw-semibold ps-md-4">
Read installation docs Read installation docs
<svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg> <svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg>

View File

@ -7,7 +7,7 @@
<p class="lead fw-normal"> <p class="lead fw-normal">
<a href="{{ .Site.Params.icons }}">Bootstrap Icons</a> is an open source SVG icon library featuring over 1,800 glyphs, with more added every release. They're designed to work in any project, whether you use Bootstrap itself or not. Use them as SVGs or icon fonts—both options give you vector scaling and easy customization via CSS. <a href="{{ .Site.Params.icons }}">Bootstrap Icons</a> is an open source SVG icon library featuring over 1,800 glyphs, with more added every release. They're designed to work in any project, whether you use Bootstrap itself or not. Use them as SVGs or icon fonts—both options give you vector scaling and easy customization via CSS.
</p> </p>
<p class="d-flex justify-content-start lead fw-normal mb-md-0"> <p class="d-flex lead fw-normal mb-md-0">
<a href="{{ .Site.Params.icons }}" class="icon-link icon-link-hover fw-semibold"> <a href="{{ .Site.Params.icons }}" class="icon-link icon-link-hover fw-semibold">
Get Bootstrap Icons Get Bootstrap Icons
<svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg> <svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg>

View File

@ -7,7 +7,7 @@
<p class="lead fw-normal"> <p class="lead fw-normal">
Add toggleable hidden elements, modals and offcanvas menus, popovers and tooltips, and so much more—all without jQuery. Bootstrap's JavaScript is HTML-first, meaning most plugins are added with <code>data</code> attributes in your HTML. Need more control? Include individual plugins programmatically. Add toggleable hidden elements, modals and offcanvas menus, popovers and tooltips, and so much more—all without jQuery. Bootstrap's JavaScript is HTML-first, meaning most plugins are added with <code>data</code> attributes in your HTML. Need more control? Include individual plugins programmatically.
</p> </p>
<p class="d-flex justify-content-start lead fw-normal mb-md-0"> <p class="d-flex lead fw-normal mb-md-0">
<a href="/docs/{{ .Site.Params.docs_version }}/getting-started/javascript/" class="icon-link icon-link-hover fw-semibold"> <a href="/docs/{{ .Site.Params.docs_version }}/getting-started/javascript/" class="icon-link icon-link-hover fw-semibold">
Learn more about Bootstrap JavaScript Learn more about Bootstrap JavaScript
<svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg> <svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg>

View File

@ -7,7 +7,7 @@
<p class="lead fw-normal"> <p class="lead fw-normal">
Take Bootstrap to the next level with premium themes from the <a href="{{ .Site.Params.themes }}">official Bootstrap Themes marketplace</a>. Themes are built on Bootstrap as their own extended frameworks, rich with new components and plugins, documentation, and powerful build tools. Take Bootstrap to the next level with premium themes from the <a href="{{ .Site.Params.themes }}">official Bootstrap Themes marketplace</a>. Themes are built on Bootstrap as their own extended frameworks, rich with new components and plugins, documentation, and powerful build tools.
</p> </p>
<p class="d-flex justify-content-start lead fw-normal mb-md-0"> <p class="d-flex lead fw-normal mb-md-0">
<a href="{{ .Site.Params.themes }}" class="icon-link icon-link-hover fw-semibold"> <a href="{{ .Site.Params.themes }}" class="icon-link icon-link-hover fw-semibold">
Browse Bootstrap Themes Browse Bootstrap Themes
<svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg> <svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg>