Skip to content

Commit 12b3e70

Browse files
Merge pull request #11 from Raise-3-Organization/tighten-hero-spacing
Tighten hero spacing for above-the-fold clarity and remove lint warning
2 parents 1f0a8c6 + 881027f commit 12b3e70

3 files changed

Lines changed: 6601 additions & 6 deletions

File tree

app/page.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,14 @@ function ArrowRightIcon({ className }: { className?: string }) {
104104

105105
function Hero() {
106106
return (
107-
<section className="relative min-h-screen flex flex-col items-center justify-center overflow-hidden pt-16">
107+
<section className="relative min-h-[calc(100vh-4rem)] flex flex-col items-center justify-start overflow-hidden pt-16 md:pt-20">
108108
{/* Background layers */}
109109
<div className="absolute inset-0 bg-grid" />
110110
<div className="absolute inset-0 hero-glow" />
111111
{/* Radial fade to keep edges dark */}
112112
<div className="absolute inset-0 bg-radial-[ellipse_at_center] from-transparent via-transparent to-gray-950/80" />
113113

114-
<div className="relative z-10 mx-auto max-w-5xl px-6 py-24 text-center lg:py-32">
114+
<div className="relative z-10 mx-auto max-w-5xl px-6 py-10 sm:py-12 lg:py-16 text-center">
115115
{/* Badge */}
116116
<div className="mb-8 inline-flex items-center gap-2 rounded-full border border-emerald-500/25 bg-emerald-500/5 px-4 py-1.5 text-sm text-emerald-300">
117117
<span className="h-1.5 w-1.5 rounded-full bg-emerald-400 animate-glow-pulse" />
@@ -126,14 +126,14 @@ function Hero() {
126126
</h1>
127127

128128
{/* Sub-headline */}
129-
<p className="mx-auto mt-8 max-w-2xl text-lg leading-8 text-gray-400 sm:text-xl">
129+
<p className="mx-auto mt-6 max-w-2xl text-lg leading-8 text-gray-400 sm:mt-8 sm:text-xl">
130130
Shield your assets with zero-knowledge proofs on the Stellar blockchain —
131131
without sacrificing regulatory compliance. Your balance stays invisible.
132132
Your auditability stays intact.
133133
</p>
134134

135135
{/* CTAs */}
136-
<div className="mt-10 flex flex-col items-center gap-4 sm:flex-row sm:justify-center">
136+
<div className="mt-8 flex flex-col items-center gap-4 sm:mt-10 sm:flex-row sm:justify-center">
137137
<a
138138
href="/portfolio"
139139
className="group flex items-center gap-2 rounded-xl bg-emerald-500 px-7 py-3.5 text-base font-semibold text-white shadow-xl shadow-emerald-500/25 hover:bg-emerald-400 transition-all hover:shadow-emerald-400/30 hover:-translate-y-0.5"
@@ -150,7 +150,7 @@ function Hero() {
150150
</div>
151151

152152
{/* Trust chips */}
153-
<div className="mt-14 flex flex-wrap items-center justify-center gap-x-8 gap-y-3">
153+
<div className="mt-10 flex flex-wrap items-center justify-center gap-x-8 gap-y-3 sm:mt-14">
154154
{[
155155
'Groth16 · BN254',
156156
'Poseidon Hash',

components/ProofProgress.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
'use client';
2-
import { useState } from 'react';
32

43
type ProofStep =
54
| 'idle'

0 commit comments

Comments
 (0)