Skip to content

Commit af8bbc5

Browse files
committed
enhance onboarding
1 parent 4e859ef commit af8bbc5

21 files changed

Lines changed: 721 additions & 378 deletions

‎apps/codebility/app/auth/onboarding/_components/Expect/ExpectSection.tsx‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,21 @@ export default function ExpectSection() {
5454
}, []);
5555

5656
return (
57-
<section className="flex w-full items-center justify-center bg-[#10131a] px-6 py-24 text-white lg:min-h-screen">
57+
<section className="relative flex w-full items-center justify-center overflow-hidden bg-gradient-to-br from-zinc-900 via-zinc-950 to-black px-6 py-24 text-white lg:min-h-screen">
58+
{/* soft pastel glows for light motif */}
59+
<div className="pointer-events-none absolute inset-0 bg-[radial-gradient(900px_520px_at_85%_20%,rgba(236,72,153,0.15),transparent_60%),radial-gradient(800px_480px_at_10%_80%,rgba(20,184,166,0.15),transparent_60%)]" />
60+
5861
<div className="w-full max-w-5xl">
5962
{/* Heading */}
6063
<motion.h2
6164
initial={{ opacity: 0, y: 30 }}
6265
whileInView={{ opacity: 1, y: 0 }}
6366
transition={{ duration: 0.8 }}
6467
viewport={{ once: true }}
65-
className="mb-20 text-center text-4xl font-bold leading-tight md:text-5xl"
68+
className="mb-20 text-center text-4xl font-bold leading-tight text-purple-500 md:text-5xl"
6669
>
6770
What we expect from{" "}
68-
<span className="text-[3.5rem] font-black text-pink-400 drop-shadow-lg md:text-[4.5rem]">
71+
<span className="bg-gradient-to-r from-pink-400 via-purple-500 to-teal-600 bg-clip-text text-[3.5rem] font-black text-transparent drop-shadow-lg md:text-[4.5rem]">
6972
YOU
7073
</span>
7174
</motion.h2>

‎apps/codebility/app/auth/onboarding/_components/ExpectFromUs/ExpectFromUsSection.tsx‎

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,19 @@ const expectations = [
1414

1515
export default function ExpectFromUs() {
1616
return (
17-
<section className="relative z-10 min-h-screen w-full bg-gradient-to-br from-white via-slate-100 to-gray-200 px-6 py-20 text-gray-800">
17+
<section className="relative z-10 min-h-screen w-full overflow-hidden bg-gradient-to-br from-white via-slate-100 to-gray-200 px-6 py-20 text-gray-800">
18+
{/* soft vignette + motif glow */}
19+
<div className="pointer-events-none absolute inset-0">
20+
<div className="absolute -left-24 -top-24 h-72 w-72 rounded-full bg-teal-400/30 blur-3xl" />
21+
<div className="absolute -right-32 top-1/2 h-80 w-80 rounded-full bg-teal-500/25 blur-3xl" />
22+
<div className="absolute bottom-0 left-1/2 h-32 w-[120%] -translate-x-1/2 bg-gradient-to-t from-purple-400 to-transparent" />
23+
</div>
1824
<div className="mx-auto flex min-h-[calc(100vh-160px)] max-w-6xl flex-col items-center justify-center">
1925
{/* Heading */}
2026
<div className="text-center">
2127
<h2 className="mb-20 text-center text-4xl font-bold leading-tight md:text-5xl">
2228
What you can{" "}
23-
<span className="text-[3.5rem] font-black text-pink-600 drop-shadow-lg md:text-[4.5rem]">
29+
<span className="text-[3.5rem] font-black text-purple-600 drop-shadow-lg md:text-[4.5rem]">
2430
EXPECT
2531
</span>
2632
</h2>
@@ -31,7 +37,7 @@ export default function ExpectFromUs() {
3137
className="mb-10 flex justify-center"
3238
>
3339
<Sparkles
34-
className="h-12 w-12 text-pink-400 drop-shadow-[0_0_20px_rgba(236,72,153,0.6)]"
40+
className="h-12 w-12 text-purple-400 drop-shadow-[0_0_20px_rgba(236,72,153,0.6)]"
3541
strokeWidth={1.5}
3642
/>
3743
</m.div>
@@ -48,7 +54,7 @@ export default function ExpectFromUs() {
4854
transition={{ duration: 0.5, delay: index * 0.1 }}
4955
className="group relative rounded-xl border border-gray-200 bg-white p-6 shadow-md transition hover:shadow-xl"
5056
>
51-
<span className="absolute -left-3 -top-3 flex h-10 w-10 items-center justify-center rounded-full bg-pink-500 font-bold text-white shadow-lg ring-4 ring-white">
57+
<span className="absolute -left-3 -top-3 flex h-10 w-10 items-center justify-center rounded-full bg-purple-500 font-bold text-white shadow-lg ring-4 ring-white">
5258
{`0${index + 1}`}
5359
</span>
5460
<p className="mt-4 text-[15px] font-medium leading-relaxed text-gray-700">

0 commit comments

Comments
 (0)