UX: Add new preview links to Popular Themes (#27518)

* UX: Add new preview links to Popular Themes

Replace previews for 'Discourse' based ones

* prettier

---------

Co-authored-by: Jarek Radosz <jradosz@gmail.com>
This commit is contained in:
JimmyJammyDodger 2024-06-18 23:12:36 +01:00 committed by GitHub
parent e81b84c66e
commit 709509f8f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 27 additions and 28 deletions

View File

@ -2,85 +2,83 @@ export const POPULAR_THEMES = [
{
name: "Air",
value: "https://github.com/discourse/discourse-air",
preview: "https://discourse.theme-creator.io/theme/awesomerobot/air-theme",
preview: "https://discourse.theme-creator.io/theme/Discourse/air-theme",
description: "A clean and modern theme for Discourse.",
meta_url: "https://meta.discourse.org/t/discourse-air-theme/197703",
meta_url: "https://meta.discourse.org/t/air-theme/197703",
},
{
name: "Graceful",
value: "https://github.com/discourse/graceful",
preview: "https://discourse.theme-creator.io/theme/awesomerobot/graceful",
preview:
"https://discourse.theme-creator.io/theme/Discourse/graceful-theme",
description: "A light and graceful theme for Discourse.",
meta_url:
"https://meta.discourse.org/t/a-graceful-theme-for-discourse/93040",
meta_url: "https://meta.discourse.org/t/graceful-theme/93040",
},
{
name: "Material Design Theme",
value: "https://github.com/discourse/material-design-stock-theme",
preview: "https://discourse.theme-creator.io/theme/tshenry/material-design",
preview:
"https://discourse.theme-creator.io/theme/Discourse/material-design-theme",
description:
"Inspired by Material Design, this theme comes with several color palettes.",
meta_url: "https://meta.discourse.org/t/material-design-stock-theme/47142",
meta_url: "https://meta.discourse.org/t/material-design-theme/47142",
},
{
name: "Mint",
value: "https://github.com/discourse/discourse-mint-theme",
preview: "https://discourse.theme-creator.io/theme/awesomerobot/mint",
preview: "https://discourse.theme-creator.io/theme/Discourse/mint-theme",
description:
"A minty colored theme with featured homepage categories and a search banner.",
meta_url:
"https://meta.discourse.org/t/mint-a-modern-theme-for-discourse/202822",
meta_url: "https://meta.discourse.org/t/mint-theme/202822",
},
{
name: "Sam's Simple Theme",
value: "https://github.com/discourse/discourse-simple-theme",
preview: "https://discourse.theme-creator.io/theme/sam/simple",
preview:
"https://discourse.theme-creator.io/theme/Discourse/sams-simple-theme",
description:
"Simplified front page design with classic colors and typography.",
meta_url:
"https://meta.discourse.org/t/sams-personal-minimal-topic-list-design/23552",
meta_url: "https://meta.discourse.org/t/sams-simple-theme/23552",
},
{
name: "Brand Header",
value: "https://github.com/discourse/discourse-brand-header",
preview:
"https://discourse.theme-creator.io/theme/vinothkannans/brand-header",
preview: "https://discourse.theme-creator.io/theme/Discourse/brand-header",
description:
"Add an extra top header with your logo, navigation links and social icons.",
meta_url: "https://meta.discourse.org/t/brand-header-theme-component/77977",
meta_url: "https://meta.discourse.org/t/brand-header/77977",
component: true,
},
{
name: "Custom Header Links",
value: "https://github.com/discourse/discourse-custom-header-links",
preview:
"https://discourse.theme-creator.io/theme/awesomerobot/custom-header-links",
"https://discourse.theme-creator.io/theme/Discourse/custom-header-links",
description: "Easily add custom text-based links to the header.",
meta_url: "https://meta.discourse.org/t/custom-header-links/90588",
component: true,
},
{
name: "GIFs Search",
name: "Discourse GIFS",
value: "https://github.com/discourse/discourse-gifs",
description: "Adds a button to easily search and insert GIFs in posts.",
meta_url: "https://meta.discourse.org/t/discourse-gifs-component/158738",
meta_url: "https://meta.discourse.org/t/discourse-gifs/158738",
component: true,
},
{
name: "Category Banners",
value: "https://github.com/discourse/discourse-category-banners",
preview:
"https://discourse.theme-creator.io/theme/awesomerobot/discourse-category-banners",
"https://discourse.theme-creator.io/theme/Discourse/category-banners",
description:
"Show banners on category pages using your existing category details.",
meta_url: "https://meta.discourse.org/t/discourse-category-banners/86241",
meta_url: "https://meta.discourse.org/t/category-banners/86241",
component: true,
},
{
name: "Tag Banners",
value: "https://github.com/discourse/discourse-tag-banners",
preview:
"https://discourse.theme-creator.io/theme/awesomerobot/tag-banners",
preview: "https://discourse.theme-creator.io/theme/Discourse/tag-banners",
description: "Show banners on tag pages using your existing tag details.",
meta_url: "https://meta.discourse.org/t/tag-banners/124240",
component: true,
@ -88,10 +86,9 @@ export const POPULAR_THEMES = [
{
name: "Kanban Board",
value: "https://github.com/discourse/discourse-kanban-theme",
preview: "https://discourse.theme-creator.io/theme/david/kanban",
preview: "https://discourse.theme-creator.io/theme/Discourse/kanban-board",
description: "Display and organize topics using a Kanban board interface.",
meta_url:
"https://meta.discourse.org/t/kanban-board-theme-component/118164",
meta_url: "https://meta.discourse.org/t/kanban-board/118164",
component: true,
},
{
@ -106,7 +103,7 @@ export const POPULAR_THEMES = [
name: "Header Submenus",
value: "https://github.com/discourse/discourse-header-submenus",
preview:
"https://discourse.theme-creator.io/theme/awesomerobot/header-submenus",
"https://discourse.theme-creator.io/theme/Discourse/header-submenus",
description: "Lets you build a header menu with submenus (dropdowns).",
meta_url: "https://meta.discourse.org/t/header-submenus/94584",
component: true,
@ -114,6 +111,7 @@ export const POPULAR_THEMES = [
{
name: "Automatic Table of Contents",
value: "https://github.com/discourse/DiscoTOC",
preview: "https://discourse.theme-creator.io/theme/Discourse/discotoc",
description:
"Generates an interactive table of contents on the sidebar of your topic with a simple click in the composer.",
meta_url:
@ -123,7 +121,8 @@ export const POPULAR_THEMES = [
{
name: "Easy Responsive Footer",
value: "https://github.com/discourse/Discourse-easy-footer",
preview: "https://discourse.theme-creator.io/theme/Johani/easy-footer",
preview:
"https://discourse.theme-creator.io/theme/Discourse/easy-responsive-footer",
description: "Add a fully responsive footer without writing any HTML.",
meta_url: "https://meta.discourse.org/t/easy-responsive-footer/95818",
component: true,