Skip to content

Commit 5a7d8ae

Browse files
Landing page improved
1 parent 7ed57c5 commit 5a7d8ae

2 files changed

Lines changed: 19 additions & 19 deletions

File tree

frontend/app/page.tsx

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Link from "next/link";
2-
import { BookOpenText, PencilLine, Sparkles } from "lucide-react";
2+
import Image from "next/image";
33

44
const steps = [
55
{
@@ -55,24 +55,15 @@ export default function Home() {
5555
</Link>
5656
</div>
5757

58-
<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">
59-
<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%)]" />
60-
<div className="relative z-10 flex w-full max-w-[360px] flex-col items-center gap-5">
61-
<div className="flex items-end gap-3">
62-
<BookOpenText className="size-16 text-black" strokeWidth={1.8} />
63-
<PencilLine className="size-14 -rotate-12 text-black" strokeWidth={1.8} />
64-
<Sparkles className="size-8 text-black/80" strokeWidth={1.8} />
65-
</div>
66-
<div className="w-full space-y-3">
67-
<div className="h-5 rounded-full border border-black/20 bg-black/10" />
68-
<div className="h-5 rounded-full border border-black/20 bg-black/10" />
69-
<div className="h-5 w-4/5 rounded-full border border-black/20 bg-black/10" />
70-
</div>
71-
<div className="grid w-full grid-cols-2 gap-3">
72-
<div className="h-20 rounded-2xl border border-black/20 bg-[#ff7a1a]" />
73-
<div className="h-20 rounded-2xl border border-black/20 bg-white" />
74-
</div>
75-
</div>
58+
<div className="relative mx-auto flex h-[500px] w-full max-w-[500px] items-center justify-center overflow-hidden p-4">
59+
<Image
60+
src="/hero-image.svg"
61+
alt="Reader discovering personalized book recommendations"
62+
width={500}
63+
height={500}
64+
className="h-full w-full object-contain"
65+
priority
66+
/>
7667
</div>
7768
</section>
7869

0 commit comments

Comments
 (0)