61 lines
3.3 KiB
TypeScript
Executable file
61 lines
3.3 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-slate-900 min-h-[500px] flex items-center">
|
|
{/* Abstract background elements */}
|
|
<div className="absolute top-[-20%] right-[-10%] w-[600px] h-[600px] rounded-full bg-brand-accent/20 blur-3xl pointer-events-none"></div>
|
|
<div className="absolute bottom-[-20%] left-[-10%] w-[500px] h-[500px] rounded-full bg-brand-dark-blue/40 blur-3xl pointer-events-none"></div>
|
|
|
|
{/* Grid Pattern Overlay */}
|
|
<div className="absolute inset-0 bg-[url('https://grainy-gradients.vercel.app/noise.svg')] opacity-20 pointer-events-none"></div>
|
|
|
|
<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="inline-flex items-center px-3 py-1 rounded-full bg-brand-accent/10 border border-brand-accent/20 text-brand-light-blue text-xs font-bold uppercase tracking-widest mb-6">
|
|
<span className="w-2 h-2 rounded-full bg-brand-light-blue mr-2 animate-pulse"></span>
|
|
AI-Powered Compliance
|
|
</div>
|
|
|
|
<h1 className="text-5xl md:text-7xl font-extrabold text-white leading-tight mb-6">
|
|
Mod Comms <br/>
|
|
<span className="text-transparent bg-clip-text bg-gradient-to-r from-brand-light-blue to-white">
|
|
Intelligent Review
|
|
</span>
|
|
</h1>
|
|
|
|
<p className="text-lg md:text-xl text-slate-300 mb-10 leading-relaxed max-w-2xl">
|
|
Streamline your creative approval process. Mod Comms analyses your assets 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-brand-accent rounded-xl shadow-lg shadow-brand-accent/30 hover:bg-white hover:text-brand-dark-blue transition-all duration-300"
|
|
>
|
|
Start Analysis
|
|
<ArrowRightIcon className="ml-2 h-5 w-5 transform group-hover:translate-x-1 transition-transform" />
|
|
</button>
|
|
<button
|
|
className="inline-flex items-center justify-center px-8 py-4 text-base font-bold text-white bg-white/5 border border-white/10 rounded-xl hover:bg-white/10 transition-all duration-300 backdrop-blur-sm"
|
|
>
|
|
View Documentation
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|