modcomms/frontend/components/Hero.tsx
michael a67236af73 Remove 'View Documentation' button from Hero section
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:33:15 -06:00

48 lines
2.1 KiB
TypeScript
Executable file

import React from 'react';
import { ArrowLeftIcon } from './icons/ArrowLeftIcon';
interface HeroProps {
onGetStarted?: () => void;
}
const ArrowRightIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => (
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth={2} stroke="currentColor" {...props}>
<path strokeLinecap="round" strokeLinejoin="round" d="M4.5 12h15m0 0l-6.75-6.75M19.5 12l-6.75 6.75" />
</svg>
);
export const Hero: React.FC<HeroProps> = ({ onGetStarted }) => {
return (
<div className="relative overflow-hidden bg-white min-h-[350px] sm:min-h-[400px] md:min-h-[500px] flex items-center">
<div className="max-w-screen-2xl mx-auto px-4 sm:px-6 lg:px-8 py-16 md:py-24 relative z-10 w-full">
<div className="max-w-3xl">
<div className="text-teal-brand text-xs font-bold uppercase tracking-widest mb-6">
AI-Powered Compliance
</div>
<h1 className="text-5xl md:text-7xl font-semibold text-teal-brand leading-tight mb-6">
Mod Comms <br/>
<span className="text-electric-violet">
Intelligent Review
</span>
</h1>
<p className="text-lg md:text-xl text-teal-brand mb-10 leading-relaxed max-w-2xl">
Streamline your creative approval process. Mod Comms analyses your proofs against guidelines and best practice in seconds, not days.
</p>
<div className="flex flex-col sm:flex-row gap-4">
<button
onClick={onGetStarted}
className="group inline-flex items-center justify-center px-8 py-4 text-base font-bold text-white bg-active-blue rounded-full hover:bg-active-blue/90 transition-all duration-300"
>
Start Analysis
<ArrowRightIcon className="ml-2 h-5 w-5 transform group-hover:translate-x-1 transition-transform" />
</button>
</div>
</div>
</div>
</div>
);
};