Skip to content

Commit 8f63c80

Browse files
Zeff01claude
andcommitted
style: Apply dark gradient theme to House Rules section
Matched House Rules section styling with Partners and Team sections: - Changed background from light to dark: from-zinc-950 via-black to-zinc-950 - Updated title gradient to: from-pink-400 via-purple-500 to-teal-600 - Changed description text to white/70 for dark background - Updated card styling for dark theme: - Border: white/10 - Background: white/[0.06] with backdrop blur - Text: white/90 for titles, white/60 for descriptions - Numbered badges: white/10 background with white text - Adjusted radial glow effects to 0.1 opacity for dark theme - Enhanced hover effects with cyan accents 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b310def commit 8f63c80

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

‎apps/codebility/app/auth/onboarding/_components/HouseRules/HouseRulesSection.tsx‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,26 +63,26 @@ export default function HouseRulesSection({ className, ...rest }: Props) {
6363
return (
6464
<section
6565
className={cn(
66-
"relative w-full overflow-hidden bg-gradient-to-br from-white via-slate-50 to-slate-100",
66+
"relative w-full overflow-hidden bg-gradient-to-br from-zinc-950 via-black to-zinc-950",
6767
"py-16 sm:py-20 lg:py-28",
6868
className,
6969
)}
7070
{...rest}
7171
>
72-
{/* soft pastel glows for light motif */}
73-
<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%)]" />
72+
{/* soft pastel glows for dark motif */}
73+
<div className="pointer-events-none absolute inset-0 bg-[radial-gradient(900px_520px_at_85%_20%,rgba(236,72,153,0.1),transparent_60%),radial-gradient(800px_480px_at_10%_80%,rgba(20,184,166,0.1),transparent_60%)]" />
7474

7575
<div className="container mx-auto px-4">
7676
{/* Heading */}
7777
<div className="mx-auto mb-10 max-w-5xl text-center sm:mb-14 lg:mb-16">
7878
<h2
79-
className="translate-y-0 bg-gradient-to-r from-slate-900 via-slate-800 to-slate-700 bg-clip-text
79+
className="translate-y-0 bg-gradient-to-r from-pink-400 via-purple-500 to-teal-600 bg-clip-text
8080
text-center text-3xl font-extrabold tracking-tight text-transparent opacity-100
8181
transition-all duration-700 sm:text-4xl md:text-5xl"
8282
>
8383
House Rules
8484
</h2>
85-
<p className="mx-auto mt-3 max-w-3xl text-sm text-slate-600 sm:text-base">
85+
<p className="mx-auto mt-3 max-w-3xl text-sm text-white/70 sm:text-base">
8686
A simple playbook for how we work and grow together at Codebility.
8787
</p>
8888
</div>
@@ -94,21 +94,21 @@ export default function HouseRulesSection({ className, ...rest }: Props) {
9494
<article
9595
className={cn(
9696
"relative overflow-hidden rounded-2xl border",
97-
"border-slate-200 bg-white/90 p-5 shadow-sm sm:p-6",
98-
"transition-shadow duration-300 hover:shadow-[0_8px_24px_rgba(2,6,23,0.08)]",
97+
"border-white/10 bg-white/[0.06] p-5 shadow-sm sm:p-6 backdrop-blur-md",
98+
"transition-all duration-300 hover:border-cyan-400/30 hover:shadow-cyan-500/20",
9999
)}
100100
>
101101
{/* pastel accent bar */}
102-
<span className="absolute inset-x-0 top-0 h-0.5 bg-gradient-to-r from-cyan-400 via-fuchsia-500 to-emerald-400 opacity-40" />
102+
<span className="absolute inset-x-0 top-0 h-0.5 bg-gradient-to-r from-cyan-400 via-fuchsia-500 to-emerald-400 opacity-70" />
103103

104104
<div className="flex items-start gap-4">
105105
{/* numbered badge */}
106106
<div className="relative">
107107
<span
108108
className={cn(
109109
"grid h-12 w-12 place-items-center rounded-full text-lg font-extrabold",
110-
"bg-white text-slate-800 ring-2 ring-cyan-400/50",
111-
"shadow-[0_6px_16px_-6px_rgba(2,6,23,0.15)]",
110+
"bg-white/10 text-white ring-2 ring-cyan-400/50",
111+
"shadow-md",
112112
)}
113113
>
114114
{r.n}
@@ -117,10 +117,10 @@ export default function HouseRulesSection({ className, ...rest }: Props) {
117117
</div>
118118

119119
<div className="min-w-0">
120-
<h3 className="text-base font-semibold tracking-tight text-slate-900 sm:text-lg">
120+
<h3 className="text-base font-semibold tracking-tight text-white/90 sm:text-lg">
121121
{r.title}
122122
</h3>
123-
<p className="mt-1 text-sm leading-relaxed text-slate-600">
123+
<p className="mt-1 text-sm leading-relaxed text-white/60">
124124
{r.desc}
125125
</p>
126126
</div>

0 commit comments

Comments
 (0)