From 122bff5e5877ba16e53ea9e47aa41dc801e238c1 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 25 Aug 2025 18:50:11 -0700 Subject: [PATCH] Remove Themes from docs (#41671) --- .github/CONTRIBUTING.md | 3 -- README.md | 2 -- config.yml | 1 - site/src/components/footer/Footer.astro | 1 - site/src/components/header/Navigation.astro | 1 - site/src/components/home/Themes.astro | 35 ------------------- site/src/layouts/partials/BsThemes.astro | 30 ---------------- site/src/libs/config.ts | 1 - .../pages/docs/[version]/examples/index.astro | 2 -- site/src/pages/index.astro | 2 -- 10 files changed, 78 deletions(-) delete mode 100644 site/src/components/home/Themes.astro delete mode 100644 site/src/layouts/partials/BsThemes.astro diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index a37b01210..ee959bcfe 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -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 . - Instead, please email any questions or feedback regarding those themes to `themes AT getbootstrap DOT com`. - ## Issues assignment diff --git a/README.md b/README.md index 0dbcf4109..febb59636 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,6 @@ · Request feature · - Themes - · Blog

diff --git a/config.yml b/config.yml index 15f1c44ea..3a74aeea0 100644 --- a/config.yml +++ b/config.yml @@ -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" diff --git a/site/src/components/footer/Footer.astro b/site/src/components/footer/Footer.astro index 5232081ed..ab4e19a1e 100644 --- a/site/src/components/footer/Footer.astro +++ b/site/src/components/footer/Footer.astro @@ -39,7 +39,6 @@ import { getVersionedDocsPath } from '@libs/path'
  • Docs
  • Examples
  • Icons
  • -
  • Themes
  • Blog
  • Swag Store
  • diff --git a/site/src/components/header/Navigation.astro b/site/src/components/header/Navigation.astro index 4e55d54ff..b1ebe458b 100644 --- a/site/src/components/header/Navigation.astro +++ b/site/src/components/header/Navigation.astro @@ -85,7 +85,6 @@ const { addedIn, layout, title } = Astro.props Examples Icons - Themes Blog diff --git a/site/src/components/home/Themes.astro b/site/src/components/home/Themes.astro deleted file mode 100644 index 68dd5e12b..000000000 --- a/site/src/components/home/Themes.astro +++ /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' ---- - -
    -
    -
    - -
    -

    Make it yours with official Bootstrap Themes

    -

    - Take Bootstrap to the next level with premium themes from the official Bootstrap Themes marketplace. Themes are built on Bootstrap as their own extended frameworks, rich with new components and plugins, - documentation, and powerful build tools. -

    -

    - - Browse Bootstrap Themes - - -

    -
    -
    - -
    -
    diff --git a/site/src/layouts/partials/BsThemes.astro b/site/src/layouts/partials/BsThemes.astro deleted file mode 100644 index 7aadf8090..000000000 --- a/site/src/layouts/partials/BsThemes.astro +++ /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' ---- - -
    -
    -
    -
    - -
    -

    Go further with Bootstrap Themes

    -

    - Need something more than these examples? Take Bootstrap to the next level with premium themes from the official Bootstrap Themes marketplace. They’re built as their own extended frameworks, rich with new components and plugins, documentation, and - powerful build tools. -

    - Browse themes -
    - -
    diff --git a/site/src/libs/config.ts b/site/src/libs/config.ts index 0123e088d..be01d8550 100644 --- a/site/src/libs/config.ts +++ b/site/src/libs/config.ts @@ -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(), diff --git a/site/src/pages/docs/[version]/examples/index.astro b/site/src/pages/docs/[version]/examples/index.astro index 2822c4166..03ab5af41 100644 --- a/site/src/pages/docs/[version]/examples/index.astro +++ b/site/src/pages/docs/[version]/examples/index.astro @@ -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() { - diff --git a/site/src/pages/index.astro b/site/src/pages/index.astro index a18419f4c..f5a1fb002 100644 --- a/site/src/pages/index.astro +++ b/site/src/pages/index.astro @@ -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' --- @@ -19,6 +18,5 @@ import Themes from '@components/home/Themes.astro' -