[update] Home Page 수정
This commit is contained in:
1 parent
8e1cc981fa
commit
bac6b9f910
27 files changed
+798
-393
No files matched your search
@@ -1,55 +1,78 @@
|
||||
import bg from "@/assets/home/bg_hero.png";
|
||||
import twinkle from "@/assets/home/twinkle.svg";
|
||||
import InfinityLoopIcon from "@/assets/home/infinity-loop.svg?react";
|
||||
import ArrowRightIcon from "@/assets/home/arrow-right.svg?react";
|
||||
import {
|
||||
HERO_BADGE_TEXT,
|
||||
HERO_CTA_BUTTON_LABEL,
|
||||
HERO_FOOTNOTE,
|
||||
HERO_LEAD_EN,
|
||||
HERO_LEAD_KO,
|
||||
HERO_URL_PLACEHOLDER,
|
||||
} from "@/features/home/constants/hero_contents";
|
||||
import { useAnalyze } from "@/features/home/hooks/useAnalyze";
|
||||
|
||||
export function HeroSection() {
|
||||
return (
|
||||
<div className="flex flex-col items-center justify-center py-[140px] bg-cover bg-center" style={{ backgroundImage: `url(${bg})` }}>
|
||||
<div className="flex flex-col items-center gap-6">
|
||||
const { url, setUrl, handleAnalyze } = useAnalyze();
|
||||
|
||||
{/* 배지 */}
|
||||
<div className="flex items-center gap-2 bg-transparent shadow rounded-[999px] px-4 py-2">
|
||||
<img src={twinkle} alt="twinkle" />
|
||||
<div className="text-[#314158] text-center text-xl font-medium leading-5">
|
||||
Infinite Marketing for Premium Medical Business & Marketing Agency
|
||||
</div>
|
||||
</div>
|
||||
return (
|
||||
<section className="relative pt-16 pb-12 md:pt-16 md:pb-16 overflow-hidden flex flex-col items-center justify-center text-center px-6">
|
||||
|
||||
{/* 타이틀 */}
|
||||
<div className="flex flex-col items-center gap-2">
|
||||
<div
|
||||
className="text-[#0A1128] text-center text-[72px] font-bold leading-[79.2px] tracking-[-1.8px]"
|
||||
style={{ fontFamily: "var(--font-family-display)" }}
|
||||
>
|
||||
Marketing becomes a
|
||||
</div>
|
||||
<div
|
||||
className="bg-gradient-to-r from-[#0A1128] to-[#3B5998] bg-clip-text text-transparent text-[72px] font-bold leading-[96px] tracking-[-1.8px]"
|
||||
style={{ fontFamily: "var(--font-family-display)" }}
|
||||
>
|
||||
self-improving engine.
|
||||
</div>
|
||||
</div>
|
||||
{/* 배경 그라디언트 */}
|
||||
<div className="absolute inset-0 -z-10 opacity-70 bg-[radial-gradient(ellipse_at_top,_var(--tw-gradient-stops))] from-hero-wash-start via-hero-wash-mid to-hero-wash-end" />
|
||||
|
||||
{/* 설명 */}
|
||||
<div className="flex flex-col items-center mb-4 text-[#45556C] text-center text-xl font-normal leading-[32.5px]">
|
||||
<p>AI가 콘텐츠를 만들고 데이터가 마케팅을 개선합니다.</p>
|
||||
<p>콘텐츠 기획, 생성, 영상 제작, 채널 배포, 데이터 분석을 하나의 자동화 엔진으로.</p>
|
||||
</div>
|
||||
<div className="max-w-4xl mx-auto">
|
||||
|
||||
{/* 버튼 */}
|
||||
<div className="flex flex-col items-center gap-4">
|
||||
<button className="flex items-center justify-center w-full h-[56px] border border-[#E2E8F0] bg-white shadow rounded-[999px] text-[#90A1B9] text-base font-medium cursor-pointer hover:bg-[#F1F5F9] hover:text-[#64748B]">
|
||||
Enter Your URL
|
||||
</button>
|
||||
<button className="flex items-center justify-center w-full h-[56px] bg-gradient-to-r from-[#4F1DA1] to-[#021341] rounded-[999px] text-white text-base font-medium leading-6 cursor-pointer">
|
||||
Analyze ➜
|
||||
</button>
|
||||
<div className="text-[#62748E] text-center text-lg font-normal leading-4">
|
||||
네이버 블로그, 플레이스, 소셜미디어 등 Online Presence 종합 분석 리포트를 제공합니다.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{/* 배지 */}
|
||||
<div className="animate-fade-in-up inline-flex items-center gap-2 px-4 py-2 rounded-full bg-white/60 backdrop-blur-sm border border-white/40 shadow-sm mb-8">
|
||||
<InfinityLoopIcon aria-hidden="true" className="text-violet-500 shrink-0" />
|
||||
<span className="body-14-medium text-neutral-80 break-keep">{HERO_BADGE_TEXT}</span>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
{/* 제목 */}
|
||||
<h1 className="animate-fade-in-up animation-delay-100 display-48 md:display-72 tracking-[-0.02em] text-navy-900 mb-6 break-keep">
|
||||
<span className="tracking-[0.05em]">
|
||||
In<span className="ml-[-0.04em]">f</span><span className="ml-[-0.04em]">inite</span>
|
||||
</span>{" "}
|
||||
Growth
|
||||
<br className="hidden md:block" />
|
||||
<span className="text-gradient">Marketing Engine.</span>
|
||||
</h1>
|
||||
|
||||
{/* 설명 */}
|
||||
<p className="animate-fade-in-up animation-delay-200 body-18-md-20 text-neutral-70 mb-10 max-w-3xl mx-auto leading-relaxed break-keep">
|
||||
{HERO_LEAD_EN}
|
||||
<br className="hidden md:block" />
|
||||
{HERO_LEAD_KO}
|
||||
</p>
|
||||
|
||||
{/* CTA */}
|
||||
<div className="animate-fade-in-up animation-delay-300 flex flex-col items-center justify-center gap-5 max-w-lg mx-auto w-full">
|
||||
<div className="relative w-full group">
|
||||
<input
|
||||
type="url"
|
||||
placeholder={HERO_URL_PLACEHOLDER}
|
||||
value={url}
|
||||
onChange={(e) => setUrl(e.target.value)}
|
||||
onKeyDown={(e) => e.key === "Enter" && handleAnalyze()}
|
||||
className="w-full px-8 py-5 body-16-medium bg-white/80 backdrop-blur-sm border border-neutral-30 rounded-2xl focus:outline-none focus:ring-2 focus:ring-violet-500/20 focus:border-violet-500/40 shadow-sm text-center text-navy-900 placeholder:text-neutral-60 transition-all group-hover:border-neutral-40 break-keep"
|
||||
/>
|
||||
</div>
|
||||
<button
|
||||
onClick={handleAnalyze}
|
||||
className="w-full px-8 py-5 body-16-medium text-white rounded-2xl bg-gradient-to-r from-violet-700 to-navy-950 shadow-xl hover:shadow-2xl hover:scale-[1.02] active:scale-[0.98] flex items-center justify-center gap-3 group transition-all cursor-pointer break-keep"
|
||||
>
|
||||
{HERO_CTA_BUTTON_LABEL}
|
||||
<ArrowRightIcon aria-hidden="true" className="group-hover:translate-x-1 transition-transform" />
|
||||
</button>
|
||||
<p className="label-12 text-neutral-70 mt-2 break-keep">{HERO_FOOTNOTE}</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{/* 블롭 데코레이션 */}
|
||||
<div className="absolute top-1/4 left-10 w-64 h-64 bg-lavender-300 rounded-full mix-blend-multiply filter blur-3xl opacity-30 animate-blob pointer-events-none" />
|
||||
<div className="absolute top-1/3 right-10 w-64 h-64 bg-marketing-blush rounded-full mix-blend-multiply filter blur-3xl opacity-30 animate-blob animation-delay-2000 pointer-events-none" />
|
||||
<div className="absolute -bottom-8 left-1/2 -translate-x-1/2 w-64 h-64 bg-hero-wash-start rounded-full mix-blend-multiply filter blur-3xl opacity-30 animate-blob animation-delay-4000 pointer-events-none" />
|
||||
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user