From 86e145515ee3b3b0a63be9d1802d1d9b7463f524 Mon Sep 17 00:00:00 2001 From: Matthias Puchstein Date: Thu, 17 Jul 2025 01:29:35 +0200 Subject: [PATCH] added `chip` icon to `DreamCard` and `DreamCardCompact` for visual representation of `chip` input type Signed-off-by: Matthias Puchstein --- src/components/DreamCard.tsx | 9 ++++++++- src/components/DreamCardCompact.tsx | 7 +++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/components/DreamCard.tsx b/src/components/DreamCard.tsx index 18a5ebc..b061723 100644 --- a/src/components/DreamCard.tsx +++ b/src/components/DreamCard.tsx @@ -5,6 +5,7 @@ import {NavLink} from "react-router-dom"; import {useEffect, useState} from "react"; import {getTextStyle} from '../styles/StyleUtils'; import {formatDateWithTime} from '../utils/DateUtils'; +import {FaMicrochip} from 'react-icons/fa6'; interface DreamCardProps { dream: Dream; @@ -24,11 +25,17 @@ export default function DreamCard({dream, user, animationDelay = 0}: DreamCardPr }, [animationDelay]); return ( -
  • + {dream.input.inputType === 'chip' && ( +
    + +
    + )}
    + {dream.input.inputType === 'chip' && ( +
    + +
    + )}
    {showUser && user && (