/** * ValuePropSlide.tsx * Slide 6: Value Proposition. * Closing argument for hiring this candidate for this role. */ import React from 'react'; import type { SlideContent } from '../../schema/carouselSchema'; import type { Theme } from '../themes'; interface ValuePropSlideProps { slide: SlideContent; theme: Theme; } export function ValuePropSlide({ slide, theme }: ValuePropSlideProps): React.ReactElement { const { bgColor, accentColor, textColor, subtextColor, fontFamily, cardBg, borderColor } = theme; // Invert colors for a bold "closer" feel — accent bg with light text const isCleanTheme = theme.name === 'clean'; return (
{slide.body}
)} {/* Subheading — the positioning angle echo */} {slide.subtitle && (