Skip to content

Commit 1ac19ae

Browse files
fix(Home): enhance layout by adding background color and removing unused image components
1 parent 3417ebc commit 1ac19ae

File tree

1 file changed

+5
-40
lines changed

1 file changed

+5
-40
lines changed

src/app/page.tsx

Lines changed: 5 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import { auth } from "@/auth";
22
import Link from "next/link";
3-
import Image from "next/image";
43

54
export default async function Home() {
65
const session = await auth();
76

87
return (
9-
<div className="mx-auto flex w-full max-w-6xl flex-col items-center px-6 pb-16 pt-14 text-default">
8+
<div className="mx-auto flex w-full max-w-6xl flex-col items-center bg-default-100 px-6 pb-16 pt-14 text-default">
109
<p className="text-sm font-semibold uppercase tracking-[0.22em] text-default-500">
1110
Find your person
1211
</p>
@@ -57,44 +56,10 @@ export default async function Home() {
5756
)}
5857
</div>
5958

60-
<div className="mt-12 w-full max-w-4xl rounded-[2rem] border border-black/10 bg-white/80 p-6 shadow-sm md:p-8">
61-
<div className="flex flex-col items-center gap-5">
62-
<div className="flex items-center justify-center">
63-
<Image
64-
src="/images/f1.jpg"
65-
alt="Match profile"
66-
width={112}
67-
height={112}
68-
className="h-24 w-24 rounded-full border-4 border-white object-cover shadow-sm md:h-28 md:w-28"
69-
/>
70-
<Image
71-
src="/images/m1.jpg"
72-
alt="Match profile"
73-
width={112}
74-
height={112}
75-
className="-ml-5 h-24 w-24 rounded-full border-4 border-white object-cover shadow-sm md:h-28 md:w-28"
76-
/>
77-
<Image
78-
src="/images/f2.jpg"
79-
alt="Match profile"
80-
width={112}
81-
height={112}
82-
className="-ml-5 h-24 w-24 rounded-full border-4 border-white object-cover shadow-sm md:h-28 md:w-28"
83-
/>
84-
<Image
85-
src="/images/m2.jpg"
86-
alt="Match profile"
87-
width={112}
88-
height={112}
89-
className="-ml-5 h-24 w-24 rounded-full border-4 border-white object-cover shadow-sm md:h-28 md:w-28"
90-
/>
91-
</div>
92-
<p className="max-w-2xl text-center text-base text-default-600 md:text-lg">
93-
Thousands of meaningful introductions start with one hello.
94-
Your next favorite person could be one swipe away.
95-
</p>
96-
</div>
97-
</div>
59+
<p className="mt-12 max-w-2xl text-center text-base text-default-600 md:text-lg">
60+
Thousands of meaningful introductions start with one hello.
61+
Your next favorite person could be one swipe away.
62+
</p>
9863
</div>
9964
);
10065
}

0 commit comments

Comments
 (0)