Skip to content

Commit 35aeb7e

Browse files
Landing page improved
1 parent 2b82987 commit 35aeb7e

1 file changed

Lines changed: 84 additions & 18 deletions

File tree

frontend/app/page.tsx

Lines changed: 84 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,91 @@
1-
import { Header } from "@/components/Header";
2-
import { Hero } from "@/components/Hero";
3-
import { ProblemAndSolution } from "@/components/ProblemAndSolution";
4-
import { Features } from "@/components/Features";
5-
import { Pricing } from "@/components/Pricing";
6-
import { FAQ } from "@/components/FAQ";
7-
import { FinalCTA } from "@/components/FinalCTA";
8-
import { Footer } from "@/components/Footer";
1+
import Link from "next/link";
2+
import { BookOpenText, PencilLine, Sparkles } from "lucide-react";
93

104
export default function Home() {
115
return (
12-
<div className="flex min-h-screen flex-col">
13-
<Header />
14-
<main className="mx-auto flex w-full max-w-7xl flex-col px-4 sm:px-6 lg:px-8">
15-
<Hero />
16-
<Features />
17-
<ProblemAndSolution />
18-
{/* <Pricing /> */}
19-
<FAQ />
20-
{/* <FinalCTA /> */}
6+
<div className="min-h-screen bg-[#efeeed] text-[#0e0e0f]">
7+
<main className="mx-auto w-full max-w-6xl px-6 py-8 sm:px-10 lg:px-12">
8+
<header className="flex items-center justify-between border-b border-black/15 pb-6">
9+
<Link href="/" className="text-2xl font-semibold tracking-tight">
10+
What to read AI
11+
</Link>
12+
13+
<nav className="hidden items-center gap-8 text-sm text-black/75 md:flex">
14+
<Link href="#" className="transition-colors hover:text-black">
15+
Discover
16+
</Link>
17+
<Link href="#" className="transition-colors hover:text-black">
18+
Bookstore
19+
</Link>
20+
<Link href="#" className="transition-colors hover:text-black">
21+
Self study
22+
</Link>
23+
<Link href="#" className="transition-colors hover:text-black">
24+
Contacts
25+
</Link>
26+
<Link href="#" className="transition-colors hover:text-black">
27+
Blog
28+
</Link>
29+
</nav>
30+
31+
<Link
32+
href="/signup"
33+
className="rounded-full border border-black px-5 py-2 text-sm font-semibold transition-colors hover:bg-black hover:text-white"
34+
>
35+
Sign Up
36+
</Link>
37+
</header>
38+
39+
<section className="grid gap-10 border-b border-black/15 py-12 md:grid-cols-2 md:items-center">
40+
<div className="space-y-7">
41+
<h1 className="max-w-md text-5xl font-bold leading-[1.05] tracking-tight sm:text-6xl">
42+
Welcome to What to read AI where you can find the best books for you.
43+
</h1>
44+
<p className="max-w-md text-lg leading-relaxed text-black/70">
45+
Explore the best books for you in no time.
46+
</p>
47+
<Link
48+
href="/signup"
49+
className="inline-flex rounded-xl bg-black px-8 py-3 text-base font-semibold text-white transition-colors hover:bg-black/85"
50+
>
51+
Get Started
52+
</Link>
53+
</div>
54+
55+
<div className="relative mx-auto flex h-[360px] w-full max-w-[460px] items-center justify-center overflow-hidden rounded-3xl border border-black/10 bg-white/70">
56+
<div className="absolute inset-0 bg-[radial-gradient(circle_at_25%_20%,rgba(0,0,0,0.06),transparent_45%),radial-gradient(circle_at_90%_85%,rgba(0,0,0,0.08),transparent_45%)]" />
57+
<div className="relative z-10 flex w-full max-w-[360px] flex-col items-center gap-5">
58+
<div className="flex items-end gap-3">
59+
<BookOpenText className="size-16 text-black" strokeWidth={1.8} />
60+
<PencilLine className="size-14 -rotate-12 text-black" strokeWidth={1.8} />
61+
<Sparkles className="size-8 text-black/80" strokeWidth={1.8} />
62+
</div>
63+
<div className="w-full space-y-3">
64+
<div className="h-5 rounded-full border border-black/20 bg-black/10" />
65+
<div className="h-5 rounded-full border border-black/20 bg-black/10" />
66+
<div className="h-5 w-4/5 rounded-full border border-black/20 bg-black/10" />
67+
</div>
68+
<div className="grid w-full grid-cols-2 gap-3">
69+
<div className="h-20 rounded-2xl border border-black/20 bg-[#ff7a1a]" />
70+
<div className="h-20 rounded-2xl border border-black/20 bg-white" />
71+
</div>
72+
</div>
73+
</div>
74+
</section>
75+
76+
<section className="py-14">
77+
<div className="rounded-3xl border border-black/10 bg-white/55 px-8 py-12 text-center sm:px-12">
78+
<h2 className="text-4xl font-semibold tracking-tight">
79+
Have you ever walked into a bookstore and felt overwhelmed by
80+
hundreds of books in front of you?
81+
</h2>
82+
<p className="mx-auto mt-4 max-w-2xl text-lg leading-relaxed text-black/70">
83+
What to read AI cuts through the noise with personalized
84+
recommendations, so you can quickly find your next favorite read.
85+
</p>
86+
</div>
87+
</section>
2188
</main>
22-
<Footer />
2389
</div>
2490
);
2591
}

0 commit comments

Comments
 (0)