/** * HookSlide.tsx * Slide 1: Identity Hook. * Strong positioning headline, subheading, and subtle role context. * Designed for 1080x1080 square format (LinkedIn carousel safe). */ import React from 'react'; import type { SlideContent } from '../../schema/carouselSchema'; import type { Theme } from '../themes'; interface HookSlideProps { slide: SlideContent; theme: Theme; } export function HookSlide({ slide, theme }: HookSlideProps): React.ReactElement { const { bgColor, accentColor, textColor, subtextColor, fontFamily, borderColor } = theme; return (
{/* Top accent bar */}
{/* Slide number badge */}
01
{/* Tag/label above headline */}
Career Carousel
{/* Main headline — the positioning angle */}

{slide.title}

{/* Subheading */} {slide.subtitle && (

{slide.subtitle}

)} {/* Context line (role target) */} {slide.body && (
{slide.body}
)} {/* Bottom decorative element */}
Swipe to see why →
); } export default HookSlide;