refactor: standardize content widths on GameForge, Dashboard, and Blog pages
- Reduced all max-w-7xl containers to max-w-6xl for better readability - Applied design system standards to GameForge (hero, stats, features, team sections) - Updated Dashboard main container width - Normalized Blog page section widths (filter, insights, posts, newsletter) - Improved visual consistency across high-traffic pages
This commit is contained in:
parent
374f239e3d
commit
f8c3027428
3 changed files with 10 additions and 10 deletions
|
|
@ -232,7 +232,7 @@ const Blog = () => {
|
|||
/>
|
||||
|
||||
<section className="border-b border-border/30 bg-background/60 py-12">
|
||||
<div className="container mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl">
|
||||
<div className="container mx-auto px-4 sm:px-6 lg:px-8 max-w-6xl">
|
||||
<div className="flex flex-col gap-6 lg:flex-row lg:items-center lg:justify-between">
|
||||
<div className="space-y-2">
|
||||
<p className="text-xs uppercase tracking-[0.4em] text-muted-foreground">
|
||||
|
|
@ -264,7 +264,7 @@ const Blog = () => {
|
|||
<BlogTrendingRail posts={trendingPosts} />
|
||||
|
||||
<section className="border-b border-border/30 bg-background/80 py-16">
|
||||
<div className="container mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl grid gap-6 md:grid-cols-3">
|
||||
<div className="container mx-auto px-4 sm:px-6 lg:px-8 max-w-6xl grid gap-6 md:grid-cols-3">
|
||||
{insights.map((insight) => (
|
||||
<Card
|
||||
key={insight.label}
|
||||
|
|
@ -292,7 +292,7 @@ const Blog = () => {
|
|||
</section>
|
||||
|
||||
<section className="py-20">
|
||||
<div className="container mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl space-y-12">
|
||||
<div className="container mx-auto px-4 sm:px-6 lg:px-8 max-w-6xl space-y-12">
|
||||
<div className="flex flex-col gap-4 sm:flex-row sm:items-end sm:justify-between">
|
||||
<div className="space-y-2">
|
||||
<p className="text-xs uppercase tracking-[0.4em] text-muted-foreground">
|
||||
|
|
@ -323,7 +323,7 @@ const Blog = () => {
|
|||
<BlogCTASection variant="both" />
|
||||
|
||||
<section className="bg-background/70 py-16">
|
||||
<div className="container mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl">
|
||||
<div className="container mx-auto px-4 sm:px-6 lg:px-8 max-w-6xl">
|
||||
<div className="rounded-2xl border border-border/40 bg-background/80 p-8">
|
||||
<div className="flex flex-col gap-6 md:flex-row md:items-center md:justify-between">
|
||||
<div className="space-y-2">
|
||||
|
|
|
|||
|
|
@ -326,7 +326,7 @@ export default function Dashboard() {
|
|||
return (
|
||||
<Layout>
|
||||
<div className="min-h-screen bg-gradient-to-b from-black via-purple-950/20 to-black">
|
||||
<div className="container mx-auto px-4 sm:px-6 lg:px-8 py-8 lg:py-12 max-w-7xl space-y-8">
|
||||
<div className="container mx-auto px-4 sm:px-6 lg:px-8 py-8 lg:py-12 max-w-6xl space-y-8">
|
||||
{/* Header Section */}
|
||||
<div className="space-y-4 animate-slide-down">
|
||||
<div className="flex flex-col md:flex-row md:items-center md:justify-between gap-4">
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ export default function GameForge() {
|
|||
<div className="relative min-h-screen bg-black text-white overflow-hidden">
|
||||
{/* Persistent Info Banner */}
|
||||
<div className="bg-green-500/10 border-b border-green-400/30 py-3 sticky top-0 z-50 backdrop-blur-sm">
|
||||
<div className="container mx-auto max-w-7xl px-4">
|
||||
<div className="container mx-auto max-w-6xl px-4">
|
||||
<div className="flex items-center justify-between gap-4 flex-wrap">
|
||||
<div className="flex items-center gap-3">
|
||||
<ExternalLink className="h-5 w-5 text-green-400" />
|
||||
|
|
@ -138,7 +138,7 @@ export default function GameForge() {
|
|||
<main className="relative z-10">
|
||||
{/* Hero Section */}
|
||||
<section className="py-20 lg:py-32">
|
||||
<div className="container mx-auto max-w-7xl px-4">
|
||||
<div className="container mx-auto max-w-6xl px-4">
|
||||
<div className="text-center space-y-8">
|
||||
<div className="flex justify-center mb-6">
|
||||
<img
|
||||
|
|
@ -211,7 +211,7 @@ export default function GameForge() {
|
|||
|
||||
{/* Stats Section */}
|
||||
<section className="py-16 border-y border-green-400/10 bg-black/40 backdrop-blur-sm">
|
||||
<div className="container mx-auto max-w-7xl px-4">
|
||||
<div className="container mx-auto max-w-6xl px-4">
|
||||
<div className="grid grid-cols-2 md:grid-cols-4 gap-6">
|
||||
{productionStats.map((stat, idx) => {
|
||||
const Icon = stat.icon;
|
||||
|
|
@ -234,7 +234,7 @@ export default function GameForge() {
|
|||
|
||||
{/* Features Grid */}
|
||||
<section className="py-20 lg:py-28">
|
||||
<div className="container mx-auto max-w-7xl px-4">
|
||||
<div className="container mx-auto max-w-6xl px-4">
|
||||
<div className="text-center mb-16">
|
||||
<h2 className="text-4xl md:text-5xl font-black text-green-300 mb-4">
|
||||
Why Join GameForge?
|
||||
|
|
@ -352,7 +352,7 @@ export default function GameForge() {
|
|||
|
||||
{/* Team Roles */}
|
||||
<section className="py-20 lg:py-28">
|
||||
<div className="container mx-auto max-w-7xl px-4">
|
||||
<div className="container mx-auto max-w-6xl px-4">
|
||||
<div className="text-center mb-16">
|
||||
<h2 className="text-4xl md:text-5xl font-black text-green-300 mb-4">
|
||||
Squad Structure
|
||||
|
|
|
|||
Loading…
Reference in a new issue