fix: payload building issues

This commit is contained in:
2026-06-17 23:58:51 +05:30
parent d3ab5028af
commit e974313f6d
15 changed files with 264 additions and 271 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ interface Props {
const { variant = 'solid', href, class: className = '', ariaLabel } = Astro.props;
const base =
'inline-flex items-center gap-1.5 rounded-full font-label-md tracking-wider uppercase text-[11px] px-2.5 py-1 transition-colors duration-200';
const variants: Record = {
const variants: Record<Variant, string> = {
solid: 'bg-primary text-white',
outline: 'border border-primary/40 text-primary',
soft: 'bg-primary/10 text-primary',