Skip to content

Commit a5f0e92

Browse files
Widen hero layout and change mockup aspect ratio to square
1 parent d3e974e commit a5f0e92

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

Skypulse/src/app/page.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function LandingPage() {
2121
<main className="relative z-10">
2222
{/* Navbar */}
2323
<nav className="fixed top-0 inset-x-0 z-50 bg-[#050505]/80 backdrop-blur-xl border-b border-white/5 transition-all">
24-
<div className="max-w-7xl mx-auto px-6 h-20 flex items-center justify-between">
24+
<div className="max-w-[1440px] mx-auto px-6 h-20 flex items-center justify-between">
2525
<div className="flex items-center gap-3">
2626
<Image src="/logo.svg" alt="SkyPulse 3D Live Flight Tracker Logo" width={40} height={40} className="drop-shadow-lg" />
2727
<span className="text-xl font-bold tracking-tight bg-clip-text text-transparent bg-gradient-to-r from-white to-gray-300">
@@ -40,13 +40,13 @@ export default function LandingPage() {
4040
</nav>
4141

4242
{/* Hero Section */}
43-
<section className="pt-40 pb-20 sm:pt-48 sm:pb-32 px-6 lg:px-8 max-w-7xl mx-auto">
43+
<section className="pt-40 pb-20 sm:pt-48 sm:pb-32 px-6 lg:px-8 max-w-[1440px] mx-auto">
4444
<div className="lg:flex lg:items-center lg:gap-16">
4545
<motion.div
4646
initial={{ opacity: 0, y: 30 }}
4747
animate={{ opacity: 1, y: 0 }}
4848
transition={{ duration: 0.8, ease: "easeOut" }}
49-
className="lg:w-[55%] text-center lg:text-left z-20"
49+
className="lg:w-[50%] text-center lg:text-left z-20"
5050
>
5151
<div className="inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-gradient-to-r from-[#0D4D82]/40 to-[#0D4D82]/10 border border-[#0D5587]/50 text-[#F18E22] text-sm font-medium mb-8 shadow-inner shadow-[#0D5587]/20">
5252
<span className="relative flex h-2 w-2">
@@ -91,9 +91,9 @@ export default function LandingPage() {
9191
initial={{ opacity: 0, scale: 0.9 }}
9292
animate={{ opacity: 1, scale: 1 }}
9393
transition={{ duration: 1, delay: 0.2, ease: "easeOut" }}
94-
className="mt-20 lg:mt-0 lg:w-[45%] relative z-10 hidden lg:block"
94+
className="mt-20 lg:mt-0 lg:w-[50%] relative z-10 hidden lg:block"
9595
>
96-
<motion.div style={{ y: yHeroImage }} className="relative w-full aspect-[4/5] rounded-[2.5rem] bg-gradient-to-b from-white/5 to-white/[0.01] border border-white/10 shadow-2xl overflow-hidden backdrop-blur-3xl p-2">
96+
<motion.div style={{ y: yHeroImage }} className="relative w-full aspect-square rounded-[2.5rem] bg-gradient-to-b from-white/5 to-white/[0.01] border border-white/10 shadow-2xl overflow-hidden backdrop-blur-3xl p-2 md:p-4">
9797
<div className="absolute inset-0 bg-black opacity-10 mix-blend-overlay"></div>
9898
<div className="h-full w-full rounded-[2rem] bg-black/50 overflow-hidden relative flex flex-col items-center justify-center group border border-white/5">
9999
{/* App Screenshot */}
@@ -125,7 +125,7 @@ export default function LandingPage() {
125125

126126
{/* Social Proof / Trusted Partners */}
127127
<section className="py-10 border-y border-white/5 bg-white/[0.01]">
128-
<div className="max-w-7xl mx-auto px-6 lg:px-8">
128+
<div className="max-w-[1440px] mx-auto px-6 lg:px-8">
129129
<p className="text-center text-sm font-medium text-gray-500 uppercase tracking-widest mb-8">
130130
Powered by global aviation data networks
131131
</p>
@@ -149,7 +149,7 @@ export default function LandingPage() {
149149

150150
{/* Z-Pattern Deep Dive Features */}
151151
<section id="features" className="py-32 relative">
152-
<div className="max-w-7xl mx-auto px-6 lg:px-8 space-y-32">
152+
<div className="max-w-[1440px] mx-auto px-6 lg:px-8 space-y-32">
153153

154154
{/* Feature 1 */}
155155
<div className="flex flex-col lg:flex-row items-center gap-16">

0 commit comments

Comments
 (0)