website refactor

This commit is contained in:
2026-01-18 16:18:18 +01:00
parent 0b301feb61
commit 13567d51af
329 changed files with 4701 additions and 4750 deletions

View File

@@ -1,7 +1,7 @@
import React from 'react';
import { Box } from '@/ui/Box';
import { Text } from '@/ui/Text';
import { Stack } from '@/ui/Stack';
import { Card } from '@/ui/Card';
interface AchievementCardProps {
title: string;
@@ -26,13 +26,13 @@ export function AchievementCard({
rarity,
}: AchievementCardProps) {
return (
<Box
<Card
p={4}
rounded="lg"
border
variant="outline"
className={rarityColors[rarity]}
>
<Box display="flex" alignItems="start" gap={3}>
<Stack direction="row" align="start" gap={3}>
<Text size="3xl">{icon}</Text>
<Stack gap={1} flexGrow={1}>
<Text weight="medium" color="text-white">{title}</Text>
@@ -45,7 +45,7 @@ export function AchievementCard({
})}
</Text>
</Stack>
</Box>
</Box>
</Stack>
</Card>
);
}