@@ -4,33 +4,43 @@ import Button from "@ui/Button.astro";
44const title = " Networks of Cardiovascular Digital Twins" ;
55const subTitle =
66 " Pioneering personalised cardiovascular care through interconnected digital twins" ;
7- // TODO: Add Hero Image placeholder (_being developed_)
87const primaryCTA = { text: " Find Out More" , href: " /about/project-overview" }; // Astro's Button component will handle base URL prefix
98const secondaryCTA = { text: " Contact Us" , href: " /about/contact" }; // Astro's Button component will handle base URL prefix
109---
1110
12- { /* Hero Content */ }
13- <div class =" mx-auto max-w-4xl text-left select-none sm:text-center" >
14- <h1
15- class =" block text-4xl text-balance text-slate-800 sm:text-5xl md:text-6xl lg:text-7xl"
16- >
17- { title }
18- </h1 >
19- </div >
11+ <div
12+ class =" w-full space-y-5 px-3 pb-4 text-center sm:px-4 md:w-3/5 md:space-y-6 md:pb-0 md:text-left lg:w-1/2"
13+ >
14+ <div class =" select-none" >
15+ <h1
16+ class =" block text-3xl leading-tight font-bold text-pretty text-slate-800 drop-shadow-xl sm:text-4xl md:text-4xl lg:text-5xl xl:text-6xl"
17+ >
18+ { title }
19+ </h1 >
20+ </div >
2021
21- <div class =" mx-auto max-w-3xl text-left sm:text-center" >
22- <p class =" text-lg text-pretty text-slate-700" >
23- { subTitle }
24- </p >
25- </div >
22+ <div >
23+ <p
24+ class =" text-base text-pretty text-slate-800 drop-shadow-md md:text-lg"
25+ >
26+ { subTitle }
27+ </p >
28+ </div >
2629
27- { /* CTA Buttons */ }
28- <div class =" flex flex-col justify-center gap-5 sm:flex-row" >
29- {
30- /* Note: Swapped primary/secondary variants to match the variable renaming */
31- }
32- <Button href ={ primaryCTA .href } variant =" primary" >{ primaryCTA .text } </Button >
33- <Button href ={ secondaryCTA .href } variant =" secondary"
34- >{ secondaryCTA .text } </Button
30+ { /* CTA Buttons */ }
31+ <div
32+ class =" flex flex-col justify-center gap-3 pt-2 sm:flex-row md:justify-start md:pt-4"
3533 >
34+ <Button
35+ href ={ primaryCTA .href }
36+ variant =" primary"
37+ className =" text-sm shadow-md md:text-base" >{ primaryCTA .text } </Button
38+ >
39+ <Button
40+ href ={ secondaryCTA .href }
41+ variant =" secondary"
42+ className =" bg-white/80 text-sm shadow-sm md:text-base"
43+ >{ secondaryCTA .text } </Button
44+ >
45+ </div >
3646</div >
0 commit comments