diff --git a/packages/react-native/src/components/common/Card.tsx b/packages/react-native/src/components/common/Card.tsx index 6d063fff..2653e7c9 100644 --- a/packages/react-native/src/components/common/Card.tsx +++ b/packages/react-native/src/components/common/Card.tsx @@ -9,6 +9,7 @@ import { getDisplayRegion } from '@/utils/getDisplayRegionName'; import useSpotLikeMutation from '@/apis/mutations/useSpotLikeMutation'; import MutationLoadingModal from './MutationLoadingModal'; import { MySpotResponse } from '@/apis/queries/mypage/useMySpotsQuery'; +import SPOTLogo from '@/assets/SPOTLogo'; interface CardProps { data: SpotCardData | MySpotResponse; @@ -74,7 +75,7 @@ function Default({ data, size = 260 }: CardProps) { return ( + {!posterUrl && ( + + + + )} )} + {!image && ( + + + + )} {title} diff --git a/packages/react-native/src/components/gamification/QuizCard.tsx b/packages/react-native/src/components/gamification/QuizCard.tsx index ef15be66..e012dce2 100644 --- a/packages/react-native/src/components/gamification/QuizCard.tsx +++ b/packages/react-native/src/components/gamification/QuizCard.tsx @@ -6,6 +6,7 @@ import { StackNavigation } from '@/types/navigation'; import { getDisplayRegion } from '@/utils/getDisplayRegionName'; import useToggle from '@/hooks/useToggle'; import FilterExperienceModal from './FilterExperienceModal'; +import SPOTLogo from '@/assets/SPOTLogo'; interface QuizCardProps { quizData: QuizzesResponse; @@ -57,7 +58,13 @@ export default function QuizCard({ quizData }: QuizCardProps) { borderTopLeftRadius: 25, borderTopRightRadius: 25, }} + className="bg-SPOT-red/30" /> + {!quizData.imageUrl && ( + + + + )} diff --git a/packages/react-native/src/components/mypage/MySpotBlock.tsx b/packages/react-native/src/components/mypage/MySpotBlock.tsx index bb1662ec..9049b59c 100644 --- a/packages/react-native/src/components/mypage/MySpotBlock.tsx +++ b/packages/react-native/src/components/mypage/MySpotBlock.tsx @@ -8,6 +8,7 @@ import HeartIcon from '@/assets/HeartIcon'; import { StackNavigation } from '@/types/navigation'; import { getDisplayRegion } from '@/utils/getDisplayRegionName'; import MutationLoadingModal from '../common/MutationLoadingModal'; +import SPOTLogo from '@/assets/SPOTLogo'; interface MySpotBlockProps { mySpot: MySpotResponse; @@ -78,7 +79,7 @@ export default function MySpotBlock({ mySpot, width, gap }: MySpotBlockProps) { + + + } /> - {nearbySpots.length > 0 && ( - - } - /> - - )} + + } + /> +