"use client"; import React from "react"; import clsx from "clsx"; interface StarterHeroProps { title?: string; subtitle?: string; ctaText?: string; ctaLink?: string; backgroundImage?: string; className?: string; theme?: { primaryColor?: string; secondaryColor?: string; fontFamily?: string; }; } export function StarterHero({ title = "환영합니다", subtitle = "귀하의 비즈니스를 위한 완벽한 솔루션을 제공합니다", ctaText = "시작하기", ctaLink = "#contact", backgroundImage, className, theme = {}, }: StarterHeroProps) { const { primaryColor = "#3b82f6", secondaryColor = "#64748b", fontFamily = "Inter, sans-serif", } = theme; const heroStyles = { fontFamily, "--primary-color": primaryColor, "--secondary-color": secondaryColor, } as React.CSSProperties; return (
{/* 배경 이미지 */} {backgroundImage && (
)} {/* 오버레이 */}
{/* 콘텐츠 */}

{title}

{subtitle}

{ctaText}
{/* 장식 요소 */}
); } export default StarterHero;