From 33f68a7e49a95ce59aa79b3ac99c0a0a64467b1c Mon Sep 17 00:00:00 2001 From: Matthias Puchstein Date: Wed, 16 Jul 2025 21:13:08 +0200 Subject: [PATCH] replaced single dream type tag with dynamic tags display in `DreamCard` for improved categorization and flexibility in UI rendering Signed-off-by: Matthias Puchstein --- src/components/DreamCard.tsx | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/components/DreamCard.tsx b/src/components/DreamCard.tsx index 9252845..21e6e15 100644 --- a/src/components/DreamCard.tsx +++ b/src/components/DreamCard.tsx @@ -55,15 +55,17 @@ export default function DreamCard({dream, user, animationDelay = 0}: DreamCardPr {formatDateWithTime(dream.date)}

- {/* Display dream type as a tag */} - - {dream.input.inputType} - + {/* Display dream tags */} + {dream.tags.map((tag, index) => ( + + {tag} + + ))}