refactor: 캐릭터 이름을 구름·물방울로, 카드 스틸을 글자 없는 3D 장면으로, 앱 스크린샷 파일 삭제
This commit is contained in:
1 parent
f2eed74e9d
commit
c1d2d7c74a
18 files changed
+33
-34
No files matched your search
@@ -1,8 +1,8 @@
|
||||
import type { ReactNode } from 'react'
|
||||
import tarotBack from '../assets/tarot-back.webp'
|
||||
import stillDay from '../assets/intro/still-day.webp'
|
||||
import bosong from '../assets/intro/bosong.webp'
|
||||
import malang from '../assets/intro/malang.webp'
|
||||
import cloudChar from '../assets/intro/cloud-char.webp'
|
||||
import dropChar from '../assets/intro/drop-char.webp'
|
||||
import stillSunset from '../assets/intro/still-sunset.webp'
|
||||
import stillNight from '../assets/intro/still-night.webp'
|
||||
import type { CardData } from './data'
|
||||
@@ -273,7 +273,7 @@ const intro: Template = {
|
||||
slides: (_d, c) => {
|
||||
// 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 chars = <><img className="intro-character char-cloud" src={cloudChar} alt="" /><img className="intro-character char-drop" src={dropChar} 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>
|
||||
@@ -281,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={bosong} alt="" />
|
||||
<img className="intro-character bear" src={malang} alt="" />
|
||||
<img className="intro-character char-cloud" src={cloudChar} alt="" />
|
||||
<img className="intro-character char-drop" src={dropChar} alt="" />
|
||||
<p className="intro-turn">넘겨 보세요 →</p>
|
||||
</>),
|
||||
frame(1, 'problem', <>
|
||||
|
||||
Reference in new issue
Block a user