Skip to content

Commit aaabbc3

Browse files
adamintCopilot
andcommitted
Fix Why Aspire spacing: tighter padding, shorter links, centered grid
- Reduced section padding and subtitle text - Shortened link labels to prevent wrapping - Shortened card 3 title for even card heights - Narrowed grid maxW for better centering Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 13d47d2 commit aaabbc3

1 file changed

Lines changed: 10 additions & 11 deletions

File tree

AspireAcademy.Web/src/pages/HomePage.tsx

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -489,28 +489,27 @@ export default function HomePage() {
489489
</Box>
490490

491491
{/* ═══════════════════ WHY ASPIRE ═══════════════════ */}
492-
<Box id="why-aspire" py={{ base: '10', md: '14' }} px="4">
492+
<Box id="why-aspire" py={{ base: '10', md: '12' }} px={{ base: '4', md: '8' }}>
493493
<Heading
494494
as="h2"
495495
fontSize={{ base: 'xl', md: '2xl' }}
496496
textAlign="center"
497497
color="aspire.accent"
498-
mb="3"
498+
mb="2"
499499
>
500500
Why Aspire?
501501
</Heading>
502-
<Text textAlign="center" color="dark.muted" mb="6" maxW="700px" mx="auto" lineHeight="1.7">
502+
<Text textAlign="center" color="dark.muted" mb="6" maxW="600px" mx="auto" lineHeight="1.6" fontSize="sm">
503503
Every team that splits into services inherits the same problems: wiring connection strings,
504-
coordinating startup, reading four log files to debug one request, maintaining separate configs
505-
per environment.
504+
coordinating startup, reading four log files to debug one request.
506505
</Text>
507-
<SimpleGrid columns={{ base: 1, sm: 2, lg: 4 }} gap="4" maxW="1100px" mx="auto">
506+
<SimpleGrid columns={{ base: 1, sm: 2, lg: 4 }} gap="4" maxW="1000px" mx="auto">
508507
{[
509508
{
510509
icon: '🏗️',
511510
title: 'Declare your app, not your infrastructure',
512511
desc: 'Define services, databases, and their relationships in code. One readable file replaces Docker Compose, env scripts, and tribal knowledge.',
513-
linkLabel: 'Try it → Playground',
512+
linkLabel: 'Try it →',
514513
linkTo: '/playground',
515514
accent: '#2DD4BF',
516515
accentBg: 'rgba(45,212,191,0.12)',
@@ -519,16 +518,16 @@ export default function HomePage() {
519518
icon: '▶️',
520519
title: 'Start everything with one command',
521520
desc: 'aspire run starts containers, waits for health checks, injects connection strings, and opens a dashboard. New developer? Clone, run, done.',
522-
linkLabel: 'See how → Gallery',
521+
linkLabel: 'See how →',
523522
linkTo: '/gallery',
524523
accent: '#FBBF24',
525524
accentBg: 'rgba(251,191,36,0.12)',
526525
},
527526
{
528527
icon: '📡',
529-
title: 'Manage and observe from a live dashboard',
528+
title: 'Observe from a live dashboard',
530529
desc: 'Real-time logs, distributed traces, health checks, and custom commands — seed data, flush caches, run migrations — all from one dashboard.',
531-
linkLabel: 'Learn more → Dashboard Lesson',
530+
linkLabel: 'Learn more →',
532531
linkTo: '/lessons/1.1.2',
533532
accent: '#FB7185',
534533
accentBg: 'rgba(251,113,133,0.12)',
@@ -537,7 +536,7 @@ export default function HomePage() {
537536
icon: '🚀',
538537
title: 'Ship the same app to any cloud',
539538
desc: 'Your dev topology compiles to Docker Compose, Kubernetes Helm charts, or Azure Bicep. No rewrites. Pick your target when you\'re ready.',
540-
linkLabel: 'Explore → Concept Map',
539+
linkLabel: 'Explore →',
541540
linkTo: '/concept-map',
542541
accent: '#34D399',
543542
accentBg: 'rgba(52,211,153,0.12)',

0 commit comments

Comments
 (0)