mernmail-website/components/Hero.jsx

53 lines
1.9 KiB
React
Raw Permalink Normal View History

2024-11-05 21:54:17 +01:00
import Image from "next/image";
import Link from "next/link";
function Hero() {
return (
<section className="flex flex-col md:flex-row mx-auto max-w-screen-xl px-3 py-12">
2024-11-05 21:54:17 +01:00
<div className="md:w-1/2 self-center text-center md:text-start">
<h1 className="font-bold text-5xl md:text-6xl leading-tight md:leading-tight md:text-start">
Streamline your <span className="text-primary">inbox</span> with{" "}
<span className="relative whitespace-nowrap">
2024-11-05 21:54:17 +01:00
<span className="absolute top-0 -left-1 -right-1 bottom-0 -rotate-1 bg-primary"></span>
<span className="relative text-primary-foreground">MERNMail</span>
</span>
</h1>
<p className="text-muted-foreground text-lg my-4 md:w-10/12">
Manage your inbox with MERNMail. Enjoy efficient email management,
powered by the MERN stack for performance and security. Join and take
control of your inbox today!
2024-11-05 21:54:17 +01:00
</p>
<div className="flex flex-row gap-2 justify-center md:justify-start">
<Link
2024-11-08 14:40:18 +01:00
href="/docs/getting-started"
2024-11-05 21:54:17 +01:00
target={"_self"}
className="bg-primary text-primary-foreground rounded-md px-5 py-2 text-lg hover:bg-primary/75 transition-colors"
2024-11-05 21:54:17 +01:00
>
Get started
</Link>
<Link
2024-11-08 14:40:18 +01:00
href="/docs/demo"
2024-11-05 21:54:17 +01:00
target={"_self"}
className="bg-accent text-accent-foreground rounded-md px-5 py-2 text-lg hover:bg-accent/75 transition-colors"
2024-11-05 21:54:17 +01:00
>
View demo
</Link>
</div>
</div>
<div className="md:w-1/2 sm:px-5 py-8 md:py-16 self-center">
2024-11-05 21:54:17 +01:00
<div className="bg-border p-2 rounded-xl">
<Image
src="/screenshot.png"
alt="MERNMail screenshot"
width={1200}
height={900}
2024-11-05 21:54:17 +01:00
className="w-full rounded-lg"
/>
</div>
</div>
</section>
2024-11-05 21:54:17 +01:00
);
}
export default Hero;