Skip to content

Commit 189f245

Browse files
committed
fix(site): address CodeRabbit review feedback
Keep the support hero title above its gradient overlay and make the React code examples portable while removing unused pricing hero class hooks. Made-with: Cursor
1 parent dce2032 commit 189f245

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

apps/site/src/app/(prisma-with)/react/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default async function UserList() {
1919
2020
return (
2121
<div>
22-
<h1 className="text-4xl sm:text-5xl md:text-6xl stretch-display mb-0 text-center mt-0 font-sans-display text-foreground-neutral max-w-224 mx-auto">Users</h1>
22+
<h1>Users</h1>
2323
<ul>
2424
{users.map((user) => (
2525
<li key={user.id}>{user.name} ({user.email})</li>
@@ -41,7 +41,7 @@ export default async function UsersPage() {
4141
const users = await prisma.user.findMany()
4242
return (
4343
<div>
44-
<h1 className="text-4xl sm:text-5xl md:text-6xl stretch-display mb-0 text-center mt-0 font-sans-display text-foreground-neutral max-w-224 mx-auto">Users</h1>
44+
<h1>Users</h1>
4545
<ul>{users.map((user) => <li key={user.id}>{user.name}</li>)}</ul>
4646
</div>
4747
)

apps/site/src/app/pricing/pricing-hero-plans.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ export function PricingHeroPlans({
3737

3838
return (
3939
<>
40-
<section className="hero -mt-24 pt-40 flex items-end justify-center px-4 relative">
40+
<section className="-mt-24 pt-40 flex items-end justify-center px-4 relative">
4141
<div className="absolute inset-0 pointer-events-none z-1 bg-[linear-gradient(180deg,var(--color-foreground-ppg)_0%,var(--color-background-default)_100%)] opacity-20" />
42-
<div className="content relative z-2 max-w-[1200px] mx-auto flex flex-col items-center gap-3 md:gap-6 py-12">
42+
<div className="relative z-2 max-w-[1200px] mx-auto flex flex-col items-center gap-3 md:gap-6 py-12">
4343
<Badge
4444
color="ppg"
4545
size="lg"

apps/site/src/app/support/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default function Support() {
3838
<main className="flex-1 w-screen bg-background-default">
3939
<div className="hero relative w-full -mt-33 pt-65 block pb-12 flex flex-col gap-8">
4040
<div className="absolute inset-0 pointer-events-none z-1 overflow-hidden bg-[linear-gradient(180deg,var(--color-foreground-orm-strong)_0%,var(--color-background-default)_100%)] opacity-20" />
41-
<h1 className="text-4xl sm:text-5xl md:text-6xl stretch-display mb-0 text-center mt-0 font-sans-display text-foreground-neutral max-w-224 mx-auto">
41+
<h1 className="relative z-2 text-4xl sm:text-5xl md:text-6xl stretch-display mb-0 text-center mt-0 font-sans-display text-foreground-neutral max-w-224 mx-auto">
4242
{data.title}
4343
</h1>
4444
<LargeSearchToggle className="h-full z-2 max-w-141 mx-auto w-full" />

0 commit comments

Comments
 (0)