import { motion } from 'framer-motion'; interface SectionTitleProps { tag?: string; title: string; highlight?: string; subtitle?: string; align?: 'left' | 'center'; } export default function SectionTitle({ tag, title, highlight, subtitle, align = 'center', }: SectionTitleProps) { const isCenter = align === 'center'; return (
{tag && ( {tag} )} {title}{' '} {highlight && ( {highlight} )} {subtitle && ( {subtitle} )}
); }