Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOISSUE - Add more CTA buttons #19

Merged
merged 1 commit into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { heroData } from '@/lib/constants';

export default function Home() {
return (
<div className="min-h-screen constant mx-auto">
<div className="min-h-screen constant mx-auto py-8 md:py-20">
{/* Hero Section */}
<Hero
title={heroData.title}
Expand Down
2 changes: 1 addition & 1 deletion src/components/section-hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function Hero({
<section className="py-20 md:h-[95vh]">
<div className="container mx-auto px-6 grid grid-cols-1 md:grid-cols-2 space-y-2">
<div className="text-center md:text-left space-y-8">
<h2 className="lg:text-7xl text-5xl font-bold mb-4 text-blue-950 tracking-tight">
<h2 className="lg:text-6xl text-5xl font-bold mb-4 text-blue-950 tracking-tight">
{title}
</h2>
<p className=" text-2xl text-gray-800">{subtitle}</p>
Expand Down
33 changes: 26 additions & 7 deletions src/components/ui/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,24 @@ export default function Header() {

{/* CTA Button Section */}
<div className="hidden md:flex items-center gap-6">
<Link href="#pricing">
<a href="#pricing">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why have you changed from Link

<Button
variant="default"
aria-label="Try for free"
className="bg-blue-800 text-white hover:bg-blue-600 px-4 py-2 rounded"
>
Try For Free
</Button>
</Link>
</a>
<a href="#pricing">
<Button
variant="outline"
aria-label="Request for demo"
className=" px-4 py-4 rounded"
>
Request For Demo
</Button>
</a>
</div>

{/* Mobile Menu Button */}
Expand All @@ -80,7 +89,7 @@ export default function Header() {
</SheetHeader>
<Separator className="my-4 mt-8" />
<nav className="flex flex-col gap-4 mt-8">
<ul className="flex flex-col space-y-4">
<ul className="flex flex-col space-y-4 items-center">
{navigationLinks.map((link) => (
<li key={link.label}>
<Link
Expand All @@ -92,17 +101,27 @@ export default function Header() {
</Link>
</li>
))}
<Separator className="my-4" />
<li className="pt-4">
<Link href="#pricing">
<a href="#pricing">
<Button
variant="default"
aria-label="Try for free"
className="bg-blue-800 text-white hover:bg-blue-600 px-4 py-4 rounded w-full text-lg"
className="bg-blue-800 text-white px-4 py-4 rounded-lg text-lg "
>
Try For Free
</Button>
</Link>
</a>
</li>
<li className="pt-4">
<a href="#pricing">
<Button
variant="default"
aria-label="Request for demo"
className="bg-blue-800 text-white px-4 py-4 rounded-lg text-lg"
>
Request For Demo
</Button>
</a>
</li>
</ul>
</nav>
Expand Down
Loading