feat: 날씨각 캐릭터 보송·말랑(nalssigak-shorts Three.js)을 3D 릴스·소개 카드에, 카드에서 폰 프레임·스크린샷 제거(3D 스틸 무대·순위·기능 타일)

This commit is contained in:
minaChoi committed 2026-10-24 20:26:03 +09:00
1 parent 615dd27404
commit f2eed74e9d
16 files changed
+265 -57

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 KiB

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

+28 -23
View File
@@ -526,8 +526,8 @@
z-index: 2;
filter: drop-shadow(0 18px 14px #28304a22);
}
.intro-cover .rabbit { left: 250px; top: 810px; transform: rotate(-9deg); }
.intro-cover .bear { right: 235px; top: 830px; transform: rotate(8deg); }
.intro-cover .rabbit { width: 440px; height: 440px; left: 90px; top: 700px; transform: rotate(-6deg); }
.intro-cover .bear { width: 420px; height: 420px; right: 90px; top: 730px; transform: rotate(6deg); }
.intro .intro-turn {
position: absolute;
bottom: 90px;
@@ -581,22 +581,28 @@
.intro-sky .intro-title { top: 205px; }
.intro-home .intro-sub,
.intro-sky .intro-sub { top: 450px; font-size: 42px; }
.intro-phone {
position: absolute;
overflow: hidden;
width: 390px;
height: 844px;
box-sizing: border-box;
padding: 0;
border: 8px solid var(--ink);
border-radius: 44px;
background: var(--ink);
box-shadow: 0 18px 0 var(--soft), 0 30px 58px #28304a28;
}
/* 스크린샷은 자르지 않고 베젤 안에 통째로 (가장자리 칩이 테두리·둥근 모서리에 먹히지 않게) */
.intro-phone img { display: block; width: 100%; height: auto; border-radius: 36px; }
.intro-phone.home,
.intro-phone.sky { top: 620px; left: 345px; }
/* 3D 릴스 스틸 무대: 둥근 모서리, 폰 틀 없음 */
.intro-stage { position: absolute; left: 90px; top: 600px; width: 900px; height: 620px; overflow: hidden; border-radius: 48px; box-shadow: 0 24px 60px #28304a2e; }
.intro-stage img:first-child { display: block; width: 100%; height: 100%; object-fit: cover; }
.intro-stage.cta { top: 640px; height: 560px; }
.intro-stage .intro-app { position: absolute; left: 50%; top: 50%; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 60px; box-shadow: 0 24px 60px #0a0e2866; }
.intro-rank { position: absolute; left: 36px; right: 36px; bottom: 24px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.intro-rank li { display: flex; align-items: center; gap: 14px; padding: 8px 22px 8px 14px; border-radius: 22px; background: #ffffffee; color: var(--ink); font: 800 34px/1 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -1px; }
.intro-rank em { font-style: normal; font-size: 30px; color: var(--muted); min-width: 56px; }
.intro-rank img { width: 52px; height: 52px; }
.intro-rank b { margin-left: auto; font-size: 44px; color: var(--rust); }
.intro-chips { position: absolute; left: 36px; top: 36px; display: flex; flex-direction: column; gap: 12px; }
.intro-chips span { display: inline-flex; align-items: center; gap: 12px; width: max-content; padding: 14px 26px 14px 16px; border-radius: 24px; background: #ffffffee; color: var(--ink); font: 800 40px/1 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -1px; }
.intro-chips img { width: 56px; height: 56px; }
.intro-features { position: absolute; left: 90px; top: 600px; width: 900px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 22px; }
.intro-features li { display: grid; grid-template-columns: 150px 1fr; grid-template-rows: auto auto; column-gap: 24px; align-items: center; padding: 22px 30px; border-radius: 32px; background: #ffffffcc; box-shadow: 0 12px 32px #28304a1a; }
.intro-features img { grid-row: 1 / 3; width: 130px; height: 130px; object-fit: contain; }
.intro-features b { font: 800 50px/1.15 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -1px; color: var(--ink); }
.intro-features span { font: 600 36px/1.3 'Pretendard Variable', Pretendard, sans-serif; color: var(--muted); }
.intro .intro-character { position: absolute; width: 300px; height: 300px; z-index: 3; }
.intro-home .rabbit, .intro-sky .rabbit { left: -10px; top: 1080px; transform: rotate(-8deg); }
.intro-home .bear, .intro-sky .bear { right: -10px; top: 1090px; transform: rotate(8deg); }
.intro-home .intro-note, .intro-sky .intro-note { left: 240px; right: 240px; top: 1262px; font-size: 32px; text-align: center; color: var(--muted); }
.intro-kinds .intro-title { top: 205px; font-size: 88px; }
.intro-gak-grid {
position: absolute;
@@ -624,7 +630,6 @@
.intro-more .intro-sub { top: 455px; font-size: 44px; }
.intro-more-icons { position: absolute; top: 750px; left: 90px; display: flex; flex-direction: column; gap: 34px; }
.intro-more-icons img { width: 105px; height: 105px; object-fit: contain; }
.intro-phone.week { top: 640px; left: 345px; }
.intro-more-icons { display: none; }
.intro .intro-note {
position: absolute;
@@ -634,10 +639,10 @@
letter-spacing: -1px;
word-break: keep-all;
}
.intro-more .intro-note { top: 1205px; width: 880px; z-index: 2; padding: 12px 18px; border-radius: 18px; background: var(--paper); }
.intro-more .intro-note { top: 1240px; font-size: 34px; color: var(--muted); }
.intro-cta .intro-title { top: 220px; font-size: 105px; }
.intro-cta .intro-sub { top: 470px; font-size: 48px; color: var(--rust); }
.intro-phone.gak { top: 650px; left: 400px; width: 280px; height: 560px; border-width: 6px; border-radius: 34px; }
.intro-cta .rabbit { width: 175px; height: 175px; left: 155px; top: 925px; transform: rotate(-8deg); }
.intro-cta .bear { width: 175px; height: 175px; right: 160px; top: 950px; transform: rotate(8deg); }
.intro-cta .rabbit { left: -10px; top: 1080px; transform: rotate(-8deg); }
.intro-cta .bear { right: -10px; top: 1090px; transform: rotate(8deg); }
.intro-cta .intro-note { left: 240px; right: 240px; text-align: center; }
.intro-cta .intro-note { top: 1250px; font-size: 36px; text-align: center; }
+40 -14
View File
@@ -1,9 +1,10 @@
import type { ReactNode } from 'react'
import tarotBack from '../assets/tarot-back.webp'
import shotHome from '../assets/intro/shot-home.webp'
import shotGak from '../assets/intro/shot-gak.webp'
import shotSky from '../assets/intro/shot-sky.webp'
import shotWeek from '../assets/intro/shot-week.webp'
import stillDay from '../assets/intro/still-day.webp'
import bosong from '../assets/intro/bosong.webp'
import malang from '../assets/intro/malang.webp'
import stillSunset from '../assets/intro/still-sunset.webp'
import stillNight from '../assets/intro/still-night.webp'
import type { CardData } from './data'
import { Frame, Lines } from './Frame'
import { tidy } from './text'
@@ -270,7 +271,9 @@ const intro: Template = {
hashtags: '#날씨각 #날씨 #오늘날씨 #날씨앱 #앱인토스 #토스 #오늘뭐하지 #주말뭐하지 #노을 #노을맛집 #한강 #드라이브 #산책 #날씨타로 #오늘의코디 #서울날씨 #주말나들이 #가을 #일상',
}),
slides: (_d, c) => {
const phone = (src: string, name: string) => <div className={`intro-phone ${name}`}><img src={src} alt="" /></div>
// 3D 릴스 장면 스틸을 둥근 무대에 (폰 프레임·앱 스크린샷은 쓰지 않는다)
const stage = (src: string, name: string, children?: ReactNode) => <div className={`intro-stage ${name}`}><img src={src} alt="" />{children}</div>
const chars = <><img className="intro-character rabbit" src={bosong} alt="" /><img className="intro-character bear" src={malang} alt="" /></>
const head = (text: string, name = '') => <h1 className={`intro-title ${name}`}><Lines text={tidy(text)} /></h1>
const sub = (text: string, name = '') => <p className={`intro-sub ${name}`}><Lines text={tidy(text)} /></p>
const frame = (page: number, className: string, children: ReactNode) => <Frame page={page} total={8} theme={c.theme || 'sky'} className={`intro intro-${className}`} key={page}>{children}</Frame>
@@ -278,8 +281,8 @@ const intro: Template = {
frame(0, 'cover', <>
{head(c.t1)}{sub(c.s1)}
<div className="intro-cover-stage" aria-hidden="true" />
<img className="intro-character rabbit" src={iconUrl('rabbit')} alt="" />
<img className="intro-character bear" src={iconUrl('bear')} alt="" />
<img className="intro-character rabbit" src={bosong} alt="" />
<img className="intro-character bear" src={malang} alt="" />
<p className="intro-turn">넘겨 보세요 →</p>
</>),
frame(1, 'problem', <>
@@ -297,7 +300,18 @@ const intro: Template = {
</div>
{sub(c.s3)}
</>),
frame(3, 'home', <>{head(c.t4)}{sub(c.s4)}{phone(shotHome, 'home')}</>),
frame(3, 'home', <>
{head(c.t4)}{sub(c.s4)}
{stage(stillDay, 'home', (
<ol className="intro-rank">
{[['한강각', 84, 'hangang'], ['드라이브각', 82, 'drive'], ['산책각', 79, 'walk']].map(([n, v, ic], i) => (
<li key={n}><em>{i + 1}위</em><img src={iconUrl(String(ic))} alt="" /><span>{n}</span><b>{v}</b></li>
))}
</ol>
))}
{chars}
<p className="intro-note">10.24 서울 중구 · 실제 점수</p>
</>),
frame(4, 'kinds', <>
{head(c.t5)}
<div className="intro-gak-grid">
@@ -308,18 +322,30 @@ const intro: Template = {
</div>
{sub(c.s5)}
</>),
frame(5, 'sky', <>{head(c.t6)}{sub(c.s6)}{phone(shotSky, 'sky')}</>),
frame(5, 'sky', <>
{head(c.t6)}{sub(c.s6)}
{stage(stillSunset, 'sky', (
<div className="intro-chips">
<span><img src={iconUrl('sunset')} alt="" />노을 피크 18:04</span>
<span>골든아워 17:08 ~ 17:44</span>
</div>
))}
{chars}
<p className="intro-note">10.24 서울 마포구 기준</p>
</>),
frame(6, 'more', <>
{head(c.t7)}{sub(c.s7)}
<div className="intro-more-icons" aria-hidden="true"><img src={iconUrl('maple')} alt="" /><img src={iconUrl('camping')} alt="" /><img src={iconUrl('walk')} alt="" /></div>
{phone(shotWeek, 'week')}
<ul className="intro-features">
<li><img src={iconUrl('party')} alt="" /><b>주말 행사</b><span>이번 주말 가까운 축제</span></li>
<li><img src={iconUrl('maple')} alt="" /><b>단풍·계절</b><span>절정 시기와 계절 상식</span></li>
<li><img src={iconUrl('letter')} alt="" /><b>동네 이야기</b><span>우리 동네 날씨 한마디</span></li>
</ul>
<p className="intro-note"><Lines text={tidy(c.n7)} /></p>
</>),
frame(7, 'cta', <>
{head(c.t8)}{sub(c.s8)}
{phone(shotGak, 'gak')}
<img className="intro-character rabbit" src={iconUrl('rabbit')} alt="" />
<img className="intro-character bear" src={iconUrl('bear')} alt="" />
{stage(stillNight, 'cta', <img className="intro-app" src="/apple-touch-icon.png" alt="" />)}
{chars}
<p className="intro-note"><Lines text={tidy(c.n8)} /></p>
</>),
]