From 66125473eb9fd8fc09075a3ff3c6a369e4476ca0 Mon Sep 17 00:00:00 2001 From: Mina Choi Date: Sun, 25 Oct 2026 16:22:25 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=BD=94=EB=94=94=20=EC=B9=B4=EB=93=9C?= =?UTF-8?q?=20=EC=98=B7=20=EC=9D=B4=EB=A6=84=ED=91=9C=EB=A5=BC=20=EA=B7=B8?= =?UTF-8?q?=EB=A6=BC=20=EC=9C=84=20=EB=AA=A8=EC=84=9C=EB=A6=AC=20=EB=8C=80?= =?UTF-8?q?=EC=8B=A0=20=EA=B7=B8=EB=A6=BC=20=EC=95=84=EB=9E=98=20=EB=AA=A9?= =?UTF-8?q?=EB=A1=9D=20=EC=A4=84=EB=A1=9C(=EC=83=81=EC=9D=98=C2=B7?= =?UTF-8?q?=EA=B2=89=EC=98=B7=C2=B7=ED=95=98=EC=9D=98=C2=B7=EC=8B=A0?= =?UTF-8?q?=EB=B0=9C=C2=B7=EC=86=8C=ED=92=88=20=EC=88=9C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/src/cards/cards.css | 30 +++++++++++++++++++++++------- admin/src/cards/ootd.ts | 3 ++- admin/src/cards/templates.tsx | 22 ++++++++++++++++------ 3 files changed, 41 insertions(+), 14 deletions(-) diff --git a/admin/src/cards/cards.css b/admin/src/cards/cards.css index 20fd52a..327ecdd 100644 --- a/admin/src/cards/cards.css +++ b/admin/src/cards/cards.css @@ -133,7 +133,7 @@ top: 350px; left: 80px; width: 920px; - height: 840px; + height: 800px; border-radius: 44px; overflow: hidden; background: var(--stage); @@ -156,12 +156,28 @@ .ootd-labels span:nth-child(even) { justify-self: end; } -/* 겉옷(5번째) 이름표는 위 가운데 */ -.ootd-labels span:nth-child(5) { +/* 그림 아래 옷 목록: 그림 속 위치에 기대지 않고 따로 적는다 */ +.ootd-items { position: absolute; - top: 0; - left: 50%; - transform: translateX(-50%); + top: 1168px; + left: 80px; + right: 80px; + margin: 0; + padding: 0; + list-style: none; + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 10px; +} +.ootd-items li { + padding: 8px 18px; + border-radius: 99px; + background: #fff; + font-size: 28px; + font-weight: 700; + box-shadow: 0 6px 16px #28304a1f; + white-space: nowrap; } .ootd-labels span { padding: 8px 20px; @@ -461,7 +477,7 @@ position: absolute; left: 80px; right: 80px; - bottom: 64px; + bottom: 40px; display: flex; align-items: center; gap: 18px; diff --git a/admin/src/cards/ootd.ts b/admin/src/cards/ootd.ts index f01f4c8..c8049c7 100644 --- a/admin/src/cards/ootd.ts +++ b/admin/src/cards/ootd.ts @@ -37,7 +37,8 @@ export function ootdOutfits(maxC: number, style?: string, bandId?: string, withO return { persona: p, label: spec.personas[p].label, - labels: withOuter ? [...o.labels, o.outer] : o.labels, + // 그림 윗줄 순서(상의 · 겉옷 · 하의)와 같게 겉옷을 두 번째에 + labels: withOuter ? [o.labels[0], o.outer, ...o.labels.slice(1)] : o.labels, outer: o.outer, imageId, image: IMAGES[`../assets/ootd/${imageId}.webp`], diff --git a/admin/src/cards/templates.tsx b/admin/src/cards/templates.tsx index d1f2a4f..e2b887d 100644 --- a/admin/src/cards/templates.tsx +++ b/admin/src/cards/templates.tsx @@ -79,13 +79,23 @@ const ootd: Template = {
- {o.image ? : null} -
- {o.labels.map((l) => ( - {l} - ))} -
+ {o.image ? ( + + ) : ( +
+ {o.labels.map((l) => ( + {l} + ))} +
+ )}
+ {o.image ? ( + + ) : null}

= 8 ? 'sun_cloud' : 'sun')} alt="" />