Merge branch 'fixesAfterMerge' of https://progit.zikor.pl/hamx/ArtisanConnectFrontend into fixesAfterMerge

This commit is contained in:
Patryk
2025-06-11 07:48:43 +02:00
4 changed files with 183 additions and 88 deletions

View File

@@ -391,6 +391,21 @@ export default function NoticeDetails() {
</Text>
</Text>
</Box>
{notice.attributes && notice.attributes.length > 0 && (
<Box className="mt-4 bg-gray-50 p-3 rounded-lg shadow-sm">
{notice.attributes.map((attribute, index) => (
<Text
key={index}
className="text-sm text-typography-500 mb-1"
>
{attribute.name}:{" "}
<Text className="font-bold text-gray-950">
{attribute.value}
</Text>
</Text>
))}
</Box>
)}
<Box className="mt-4 bg-gray-50 p-3 rounded-lg shadow-sm">
<Text className="text-2xl text-gray-950">Opis ogloszenia</Text>
<Text className="text-sm text-typography-700">