feat: 코디 카드 옷 이름표를 그림 위 모서리 대신 그림 아래 목록 줄로(상의·겉옷·하의·신발·소품 순)

This commit is contained in:
minaChoi committed 2026-10-25 16:22:25 +09:00
1 parent 242129d036
commit 66125473eb
3 files changed
+41 -14

No files matched your search

+16 -6
View File
@@ -79,13 +79,23 @@ const ootd: Template = {
<Lines text={`*${o.label}* ${styleLabel(c.style)}${c.title ? ` ${c.title}` : ''}`} />
</h1>
<div className="ootd-stage">
{o.image ? <img src={o.image} alt="" /> : null}
<div className={o.image ? 'ootd-labels' : 'ootd-labels only'}>
{o.labels.map((l) => (
<span key={l}>{l}</span>
))}
</div>
{o.image ? (
<img src={o.image} alt="" />
) : (
<div className="ootd-labels only">
{o.labels.map((l) => (
<span key={l}>{l}</span>
))}
</div>
)}
</div>
{o.image ? (
<ul className="ootd-items">
{o.labels.map((l) => (
<li key={l}>{l}</li>
))}
</ul>
) : null}
<p className="ootd-weather">
<img src={iconUrl(d.rainy ? 'rain' : d.maxC - d.morningC >= 8 ? 'sun_cloud' : 'sun')} alt="" />
<span>