Skip to content

Commit

Permalink
fix tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria committed Oct 19, 2024
1 parent 019d766 commit 07eb199
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/ui/Tag.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import { twMerge } from 'tailwind-merge';
const { tag = 'v6', classes = {} } = Astro.props;
const { tag = '<span class="hidden sm:inline">New in </span>V6', classes = {} } = Astro.props;
---

<span class={twMerge("rounded-full text-xs text-white bg-sky-300 dark:text-neutral-300 dark:bg-sky-600 px-2 shadow-sm shadow-black/20 ml-2", classes)}>{ tag }</span>
<span class={twMerge("rounded-full text-xs text-white bg-sky-300 dark:text-neutral-300 dark:bg-sky-600 px-2 shadow-sm shadow-black/20 ml-2", classes)}><Fragment set:html={tag} /></span>
3 changes: 2 additions & 1 deletion src/pages/get-supporter-edition.astro
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,9 @@ const metadata = {
available: [true, true],
},
{
feature: 'Statistics on your installation <span class="rounded-full text-xs text-white bg-sky-300 dark:text-neutral-300 dark:bg-sky-600 px-2 shadow-sm shadow-black/20">v6</span>',
feature: 'Statistics on your installation',
available: [false, true],
isV6: true,
}

]}
Expand Down

0 comments on commit 07eb199

Please sign in to comment.