diff --git a/public/images/characters/character-case.png b/public/images/characters/character-case.png new file mode 100644 index 0000000..41588cf Binary files /dev/null and b/public/images/characters/character-case.png differ diff --git a/src/components/home/ActiveCasesSection.module.scss b/src/components/home/ActiveCasesSection.module.scss index 9d575a6..a3d5c7a 100644 --- a/src/components/home/ActiveCasesSection.module.scss +++ b/src/components/home/ActiveCasesSection.module.scss @@ -64,10 +64,23 @@ color: v.$color-black-400; } +.emptyState { + display: flex; + flex-direction: column; + align-items: center; + gap: fn.r(12); + padding: fn.r(24) 0; +} + +.emptyImage { + width: fn.r(80); + height: fn.r(80); + object-fit: contain; +} + .empty { @include m.text-body-s; color: v.$color-black-400; text-align: center; - padding: fn.r(24) 0; } diff --git a/src/components/home/ActiveCasesSection.tsx b/src/components/home/ActiveCasesSection.tsx index 0d28f6f..cc50edc 100644 --- a/src/components/home/ActiveCasesSection.tsx +++ b/src/components/home/ActiveCasesSection.tsx @@ -1,5 +1,6 @@ 'use client' +import Image from 'next/image' import { useRouter } from 'next/navigation' import CaseCard from '@/components/ui/CaseCard' import Avatar, { AvatarGroup } from '@/components/ui/Avatar' @@ -28,7 +29,17 @@ export default function ActiveCasesSection() {

진행중인 사건

{cases.length === 0 ? ( -

아직 진행중인 사건이 없어요

+
+ +

아직 진행중인 사건이 없어요

+
) : (