]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove Themes from docs (#41671)
authorMark Otto <markd.otto@gmail.com>
Tue, 26 Aug 2025 01:50:11 +0000 (18:50 -0700)
committerGitHub <noreply@github.com>
Tue, 26 Aug 2025 01:50:11 +0000 (18:50 -0700)
.github/CONTRIBUTING.md
README.md
config.yml
site/src/components/footer/Footer.astro
site/src/components/header/Navigation.astro
site/src/components/home/Themes.astro [deleted file]
site/src/layouts/partials/BsThemes.astro [deleted file]
site/src/libs/config.ts
site/src/pages/docs/[version]/examples/index.astro
site/src/pages/index.astro

index a37b01210b5c8e8023f3e3dc48adbff8eb2d43b6..ee959bcfedf8d454bc0074ac710a14b17ac1d8ea 100644 (file)
@@ -27,9 +27,6 @@ restrictions:
   Use [GitHub's "reactions" feature](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/)
   instead. We reserve the right to delete comments which violate this rule.
 
-- Please **do not** open issues regarding the official themes offered on <https://themes.getbootstrap.com/>.
-  Instead, please email any questions or feedback regarding those themes to `themes AT getbootstrap DOT com`.
-
 
 ## Issues assignment
 
index 0dbcf410920c0ecfdff832018649b8ee7e978b93..febb596366ee4437f4932dd4e5a05eeb409b6a92 100644 (file)
--- a/README.md
+++ b/README.md
@@ -16,8 +16,6 @@
   ·
   <a href="https://github.com/twbs/bootstrap/issues/new?assignees=&labels=feature&template=feature_request.yml">Request feature</a>
   ·
-  <a href="https://themes.getbootstrap.com/">Themes</a>
-  ·
   <a href="https://blog.getbootstrap.com/">Blog</a>
 </p>
 
index 15f1c44ea002d98e4453e8505c15985452b461bd..3a74aeea06ae031d0c333a8fe9ad4be0f74b1bdc 100644 (file)
@@ -16,7 +16,6 @@ repo:                   "https://github.com/twbs/bootstrap"
 x:                      "getbootstrap"
 opencollective:         "https://opencollective.com/bootstrap"
 blog:                   "https://blog.getbootstrap.com/"
-themes:                 "https://themes.getbootstrap.com/"
 icons:                  "https://icons.getbootstrap.com/"
 swag:                   "https://cottonbureau.com/people/bootstrap"
 
index 5232081ede0545c8add4d3e9fd27e7bc22fbb076..ab4e19a1e1dc08a056294301ef356ccf8863643f 100644 (file)
@@ -39,7 +39,6 @@ import { getVersionedDocsPath } from '@libs/path'
           <li class="mb-2"><a href={getVersionedDocsPath('/')}>Docs</a></li>
           <li class="mb-2"><a href={getVersionedDocsPath('examples')}>Examples</a></li>
           <li class="mb-2"><a href={getConfig().icons}>Icons</a></li>
-          <li class="mb-2"><a href={getConfig().themes}>Themes</a></li>
           <li class="mb-2"><a href={getConfig().blog}>Blog</a></li>
           <li class="mb-2"><a href={getConfig().swag} target="_blank" rel="noopener">Swag Store</a></li>
         </ul>
index 4e55d54ff82f06ef3de878825af91ab1d5341508..b1ebe458b21cc4179b5ce78c8f5c361e8c7ca268 100644 (file)
@@ -85,7 +85,6 @@ const { addedIn, layout, title } = Astro.props
           </LinkItem>
           <LinkItem active={title === 'Examples'} href={getVersionedDocsPath('examples/')} track>Examples</LinkItem>
           <LinkItem href={getConfig().icons} target="_blank" rel="noopener" track>Icons</LinkItem>
-          <LinkItem href={getConfig().themes} target="_blank" rel="noopener" track>Themes</LinkItem>
           <LinkItem href={getConfig().blog} target="_blank" rel="noopener" track>Blog</LinkItem>
         </ul>
 
diff --git a/site/src/components/home/Themes.astro b/site/src/components/home/Themes.astro
deleted file mode 100644 (file)
index 68dd5e1..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
----
-import { getConfig } from '@libs/config'
-import DropletFillIcon from '@components/icons/DropletFillIcon.astro'
-import ResponsiveImage from '@layouts/partials/ResponsiveImage.astro'
----
-
-<section class="row g-3 g-md-5 pb-md-5 mb-5 align-items-center">
-  <div class="col-lg-6">
-    <div class="masthead-followup-icon d-inline-block mb-3" style="--bg-rgb: var(--bd-violet-rgb);">
-      <DropletFillIcon height={32} width={32} />
-    </div>
-    <h2 class="display-5 mb-3 fw-semibold lh-sm">Make it yours with official Bootstrap Themes</h2>
-    <p class="lead fw-normal">
-      Take Bootstrap to the next level with premium themes from the <a href={getConfig().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 class="d-flex lead fw-normal mb-md-0">
-      <a href={getConfig().themes} class="icon-link icon-link-hover fw-semibold">
-        Browse Bootstrap Themes
-        <svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg>
-      </a>
-    </p>
-  </div>
-  <div class="col-lg-6">
-    <ResponsiveImage
-      imgPath="/assets/img/bootstrap-themes.png"
-      alt="Bootstrap Themes"
-      width={700}
-      height={500}
-      classes="d-block mt-3"
-    />
-  </div>
-</section>
diff --git a/site/src/layouts/partials/BsThemes.astro b/site/src/layouts/partials/BsThemes.astro
deleted file mode 100644 (file)
index 7aadf80..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
----
-import { getConfig } from '@libs/config'
-import { getVersionedDocsPath } from '@libs/path'
-import DropletFillIcon from '@components/icons/DropletFillIcon.astro'
-import ResponsiveImage from '@layouts/partials/ResponsiveImage.astro'
----
-
-<hr class="my-5" />
-<div class="container">
-  <div class="text-center">
-    <div class="masthead-followup-icon d-inline-block mb-2 text-bg-danger">
-      <DropletFillIcon height={32} width={32} />
-    </div>
-    <h2 class="display-6 fw-normal">Go further with Bootstrap Themes</h2>
-    <p class="col-md-10 col-lg-8 mx-auto lead">
-      Need something more than these examples? Take Bootstrap to the next level with premium themes from the <a
-        href={getConfig().themes}>official Bootstrap Themes marketplace</a
-      >. They’re built as their own extended frameworks, rich with new components and plugins, documentation, and
-      powerful build tools.
-    </p>
-    <a href={getConfig().themes} class="btn btn-lg btn-outline-primary mb-3">Browse themes</a>
-  </div>
-  <ResponsiveImage
-    imgPath="/assets/img/bootstrap-themes-collage.png"
-    alt="Bootstrap Themes"
-    width={1150}
-    height={320}
-    classes="img-fluid mx-auto d-block mt-3"
-  />
-</div>
index 0123e088da84fd39e3665d396fcc32a8f223ded6..be01d8550e61da7b912a47bd8c8a6f541738b700 100644 (file)
@@ -50,7 +50,6 @@ const configSchema = z.object({
   rfs_version: zPrefixedVersionSemver,
   subtitle: z.string(),
   swag: z.string().url(),
-  themes: z.string().url(),
   title: z.string(),
   toc: z.object({
     min: z.number(),
index 2822c4166027aaf95fdebefef3ba9fb4755da836..03ab5af4192b037053b2592001e89364f3a3c944 100644 (file)
@@ -1,7 +1,6 @@
 ---
 import SingleLayout from '@layouts/SingleLayout.astro'
 import { getConfig } from '@libs/config'
-import BsThemes from '@layouts/partials/BsThemes.astro'
 import ExamplesMain from '@layouts/partials/ExamplesMain.astro'
 export function getStaticPaths() {
   return [
@@ -28,6 +27,5 @@ export function getStaticPaths() {
   </div>
   <Fragment slot="main-content">
     <ExamplesMain />
-    <BsThemes />
   </Fragment>
 </SingleLayout>
index a18419f4cfe0898c06b5fb9eefef18276d4b24e0..f5a1fb0024aa8147e5a232e1f4c5601d45e6e4bd 100644 (file)
@@ -7,7 +7,6 @@ import ComponentUtilities from '@components/home/ComponentUtilities.astro'
 import MastHead from '@components/home/MastHead.astro'
 import Plugins from '@components/home/Plugins.astro'
 import Icons from '@components/home/Icons.astro'
-import Themes from '@components/home/Themes.astro'
 ---
 
 <BaseLayout>
@@ -19,6 +18,5 @@ import Themes from '@components/home/Themes.astro'
     <ComponentUtilities />
     <Plugins />
     <Icons />
-    <Themes />
   </div>
 </BaseLayout>