Remove decorative icons and update CORS configuration

This commit is contained in:
DaX
2025-06-20 13:05:36 +02:00
parent 18110ab159
commit 62a4891112
51 changed files with 4284 additions and 2385 deletions

View File

@@ -25,15 +25,15 @@ export const MaterialBadge: React.FC<MaterialBadgeProps> = ({ base, modifier, cl
const getModifierIcon = () => {
switch (modifier) {
case 'Silk':
return '';
return 'S';
case 'Matte':
return '🔵';
return 'M';
case 'Glow':
return '💡';
return 'G';
case 'Wood':
return '🪵';
return 'W';
case 'CF':
return '';
return 'CF';
default:
return null;
}
@@ -46,7 +46,7 @@ export const MaterialBadge: React.FC<MaterialBadgeProps> = ({ base, modifier, cl
</span>
{modifier && (
<span className="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-200">
{getModifierIcon()} {modifier}
{getModifierIcon() && <span className="font-bold">{getModifierIcon()}</span>} {modifier}
</span>
)}
</div>