ui 디자인 수정 .
This commit is contained in:
1 parent
24d61f925a
commit
07ba65cca6
27 files changed
+2738
-725
No files matched your search
@@ -7,7 +7,11 @@ interface DisplaySectionProps {
|
||||
}
|
||||
|
||||
const DisplaySection: React.FC<DisplaySectionProps> = ({ onStartClick }) => {
|
||||
const videoIds = ['dM8_d6Aud68', 'bb8nKmKcT0c', 'dM8_d6Aud68'];
|
||||
const frames = [
|
||||
{ id: 1, image: '/assets/images/display-frame-1.png' },
|
||||
{ id: 2, image: '/assets/images/display-frame-1.png' },
|
||||
{ id: 3, image: '/assets/images/display-frame-1.png' },
|
||||
];
|
||||
|
||||
return (
|
||||
<div className="display-section">
|
||||
@@ -15,27 +19,13 @@ const DisplaySection: React.FC<DisplaySectionProps> = ({ onStartClick }) => {
|
||||
|
||||
<div className="content-safe-area" style={{ paddingTop: '7rem' }}>
|
||||
{/* Main visual frames container */}
|
||||
<div className="video-frames">
|
||||
{videoIds.map((videoId, index) => (
|
||||
<div className="display-frames">
|
||||
{frames.map((frame, index) => (
|
||||
<div
|
||||
key={`${videoId}-${index}`}
|
||||
className={`phone-frame ${index === 2 ? 'hidden-mobile' : ''}`}
|
||||
key={frame.id}
|
||||
className={`display-frame ${index === 2 ? 'display-frame-hidden-mobile' : ''}`}
|
||||
>
|
||||
{/* YouTube Embed Container */}
|
||||
<div className="phone-video-container">
|
||||
<iframe
|
||||
src={`https://www.youtube.com/embed/${videoId}?autoplay=1&mute=1&loop=1&playlist=${videoId}&controls=0&showinfo=0&rel=0&modestbranding=1&iv_load_policy=3&disablekb=1&playsinline=1`}
|
||||
title="YouTube video player"
|
||||
frameBorder="0"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||
allowFullScreen
|
||||
></iframe>
|
||||
</div>
|
||||
|
||||
{/* Device Bezel/Frame */}
|
||||
<div className="phone-bezel"></div>
|
||||
{/* Notch */}
|
||||
<div className="phone-notch"></div>
|
||||
<img src={frame.image} alt={`Display ${frame.id}`} />
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
@@ -12,17 +12,23 @@ const WelcomeSection: React.FC<WelcomeSectionProps> = ({ onStartClick, onNext })
|
||||
{
|
||||
id: 1,
|
||||
title: '비즈니스 핵심 정보 분석',
|
||||
description: '홈페이지, 네이버 지도, 블로그 등의 URL을 입력하세요',
|
||||
description: '홈페이지, 네이버 지도, 블로그 등의\nURL을 입력하세요',
|
||||
icon: '/assets/images/icon-analysis.svg',
|
||||
iconBg: '#9BCACC'
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
title: '홍보 콘텐츠 자동 제작',
|
||||
description: '분석 정보를 바탕으로 제작합니다',
|
||||
description: '분석된 정보를 바탕으로\n비즈니스에 맞는 음악, 자막, 노래, 영상을\n자동으로 제작해요',
|
||||
icon: '/assets/images/icon-content.svg',
|
||||
iconBg: '#DFC7FD'
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
title: '멀티채널 자동 배포',
|
||||
description: '다운로드 또는 SNS 즉시 업로드',
|
||||
description: '완성된 영상은 다운로드하거나\n바로 SNS에 업로드 할 수 있어요',
|
||||
icon: '/assets/images/icon-deploy.svg',
|
||||
iconBg: '#D4FDF3'
|
||||
},
|
||||
];
|
||||
|
||||
@@ -33,34 +39,28 @@ const WelcomeSection: React.FC<WelcomeSectionProps> = ({ onStartClick, onNext })
|
||||
<div className="content-safe-area" style={{ paddingTop: '5rem' }}>
|
||||
<div className="welcome-header">
|
||||
<div className="welcome-icon">
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor">
|
||||
<path d="M12 2l2.4 7.2L22 12l-7.6 2.4L12 22l-2.4-7.2L2 12l7.6-2.4z" />
|
||||
</svg>
|
||||
<img src="/assets/images/star-icon.svg" alt="star" />
|
||||
</div>
|
||||
<h2 className="welcome-title">CASTAD에 오신 것을 환영합니다.</h2>
|
||||
<p className="welcome-subtitle">분석, 제작, 배포까지 콘텐츠 마케팅 자동화</p>
|
||||
<p className="welcome-subtitle">분석, 제작, 배포까지 콘텐츠 마케팅의 전과정을 자동화</p>
|
||||
</div>
|
||||
|
||||
<div className="feature-grid">
|
||||
{features.map((feature) => (
|
||||
<div key={feature.id} className="feature-item">
|
||||
<div className="feature-number">{feature.id}</div>
|
||||
<div className="feature-content">
|
||||
<h3 className="feature-title">{feature.title}</h3>
|
||||
<p className="feature-description">{feature.description}</p>
|
||||
<h3 className="feature-title">{feature.title}</h3>
|
||||
<div className="feature-icon" style={{ backgroundColor: feature.iconBg }}>
|
||||
<img src={feature.icon} alt={feature.title} />
|
||||
</div>
|
||||
<p className="feature-description">{feature.description}</p>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
<div className="welcome-buttons">
|
||||
<button onClick={onStartClick} className="btn-ghost">
|
||||
처음으로
|
||||
</button>
|
||||
<button onClick={onNext} className="btn-cta">
|
||||
시작하기
|
||||
</button>
|
||||
</div>
|
||||
<button onClick={onNext} className="btn-start">
|
||||
시작하기
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user