css 정리 .

This commit is contained in:
HyeongBaeYang committed 2025-12-24 13:09:05 +09:00
1 parent 97577b6ba3
commit ecbd81d091
16 files changed
+3778 -485

No files matched your search

+20 -28
View File
@@ -40,20 +40,18 @@ const HeroSection: React.FC<HeroSectionProps> = ({ onAnalyze, onNext, error: ext
};
return (
<div className="w-full h-full flex flex-col items-center justify-center bg-[#121a1d] text-white px-4 relative">
<div className="hero-section">
<div className="content-safe-area">
{/* Title */}
<h1 className="font-serif-logo italic text-6xl sm:text-7xl md:text-8xl lg:text-9xl font-bold mb-4 tracking-tight text-center leading-none">
CASTAD
</h1>
<h1 className="hero-title">CASTAD</h1>
{/* Subtitle */}
<p className="text-sm sm:text-base md:text-xl font-light mb-12 opacity-80 text-center max-w-lg">
<p className="hero-subtitle">
Marketing Automation for Location Based Business
</p>
{/* Input Form */}
<div className="w-full max-w-sm flex flex-col gap-3">
<div className="hero-form">
<input
type="text"
value={url}
@@ -62,36 +60,30 @@ const HeroSection: React.FC<HeroSectionProps> = ({ onAnalyze, onNext, error: ext
if (localError) setLocalError('');
}}
placeholder="URL 입력"
className={`w-full py-3 sm:py-4 px-6 rounded-full bg-white text-gray-800 text-center focus:outline-none placeholder:text-gray-400 font-medium text-sm sm:text-base ${error ? 'ring-2 ring-red-500' : ''}`}
className={`hero-input ${error ? 'error' : ''}`}
/>
{error && (
<p className="text-red-400 text-xs text-center">{error}</p>
<p className="hero-error">{error}</p>
)}
<button
onClick={handleStart}
className="w-full py-3 sm:py-4 px-6 rounded-full bg-[#a682ff] hover:bg-[#9570f0] transition-all transform active:scale-95 text-white font-bold text-sm sm:text-base shadow-lg shadow-[#a682ff33]"
>
<button onClick={handleStart} className="hero-button">
시작하기
</button>
</div>
</div>
{/* Footer Indicator - Now a button */}
<button
onClick={onNext}
className="absolute bottom-6 sm:bottom-10 flex flex-col items-center gap-2 opacity-40 hover:opacity-100 transition-opacity cursor-pointer animate-bounce"
>
<span className="text-[10px] sm:text-xs font-light">더 알아보기</span>
<div className="w-8 h-8 sm:w-10 sm:h-10 border border-white rounded-full flex items-center justify-center">
<svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
{/* Footer Indicator */}
<button onClick={onNext} className="scroll-indicator">
<span className="scroll-indicator-text">더 알아보기</span>
<div className="scroll-indicator-icon">
<svg
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
>
<path d="M7 13l5 5 5-5M7 6l5 5 5-5" />