--- import { siteConfig } from '@/config'; import Icon from './Icon.astro'; export interface Props { categories: string[]; currentCategory?: string; showCount?: boolean; variant?: 'default' | 'outline' | 'minimal'; } const { categories, currentCategory, showCount = false, variant = 'default' } = Astro.props; // Sort categories alphabetically const sortedCategories = [...categories].sort(); --- {sortedCategories.length > 0 && (