castad front 작업
This commit is contained in:
1 parent
aa39cde4c6
commit
a42562279e
30 files changed
+4332
No files matched your search
Executable
+87
@@ -0,0 +1,87 @@
|
||||
|
||||
import React from 'react';
|
||||
import Header from '../../components/Header';
|
||||
|
||||
interface WelcomeSectionProps {
|
||||
onStartClick?: () => void;
|
||||
onNext?: () => void;
|
||||
}
|
||||
|
||||
const WelcomeSection: React.FC<WelcomeSectionProps> = ({ onStartClick, onNext }) => {
|
||||
const features = [
|
||||
{
|
||||
id: 1,
|
||||
title: '비즈니스 핵심 정보 분석',
|
||||
description: '홈페이지, 네이버 지도, 블로그 등의 URL을 입력하세요',
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
title: '홍보 콘텐츠 자동 제작',
|
||||
description: '분석 정보를 바탕으로 제작합니다',
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
title: '멀티채널 자동 배포',
|
||||
description: '다운로드 또는 SNS 즉시 업로드',
|
||||
},
|
||||
];
|
||||
|
||||
return (
|
||||
<div className="w-full h-full flex flex-col bg-[#121a1d] text-white overflow-hidden">
|
||||
<Header />
|
||||
|
||||
<div className="content-safe-area pt-20 md:pt-24">
|
||||
<div className="mb-6 md:mb-10 text-center">
|
||||
<div className="inline-block mb-2 text-[#a682ff]">
|
||||
<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>
|
||||
</div>
|
||||
<h2 className="text-xl sm:text-2xl md:text-3xl lg:text-4xl font-bold mb-2">
|
||||
CASTAD에 오신 것을 환영합니다.
|
||||
</h2>
|
||||
<p className="text-gray-400 text-xs sm:text-sm md:text-base">
|
||||
분석, 제작, 배포까지 콘텐츠 마케팅 자동화
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-1 md:grid-cols-3 gap-3 sm:gap-4 md:gap-6 w-full max-w-5xl mb-8 overflow-y-auto md:overflow-visible pr-1">
|
||||
{features.map((feature) => (
|
||||
<div
|
||||
key={feature.id}
|
||||
className="relative bg-[#1c2a2e] rounded-2xl md:rounded-3xl p-4 sm:p-6 md:p-8 flex flex-row md:flex-col items-center md:items-center text-left md:text-center transition-all border border-transparent"
|
||||
>
|
||||
<div className="w-6 h-6 sm:w-8 sm:h-8 shrink-0 rounded-full border border-gray-600 flex items-center justify-center mr-4 md:mr-0 md:mb-6 text-[10px] sm:text-xs font-bold text-gray-400">
|
||||
{feature.id}
|
||||
</div>
|
||||
|
||||
<div className="flex flex-col md:items-center">
|
||||
<h3 className="text-sm sm:text-base md:text-lg font-bold mb-1 md:mb-4">{feature.title}</h3>
|
||||
<p className="text-gray-400 text-[10px] sm:text-xs md:text-sm leading-tight md:leading-relaxed">
|
||||
{feature.description}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
<div className="flex gap-4">
|
||||
<button
|
||||
onClick={onStartClick}
|
||||
className="py-3 px-8 rounded-full border border-gray-700 hover:bg-white/5 transition-all text-white font-bold text-xs sm:text-sm mb-4"
|
||||
>
|
||||
처음으로
|
||||
</button>
|
||||
<button
|
||||
onClick={onNext}
|
||||
className="py-3 px-10 md:px-14 rounded-full bg-[#a682ff] hover:bg-[#9570f0] transition-all transform active:scale-95 text-white font-bold text-xs sm:text-sm shadow-lg shadow-[#a682ff33] mb-4"
|
||||
>
|
||||
시작하기
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default WelcomeSection;
|
||||
Reference in new issue
Block a user