@@ -48,7 +48,7 @@ const descriptionId = `${id}-description`
4848---
4949
5050<section
51- class =" cta py-16 md:py-24 bg-linear-to-br from-(--color-primary) to-(--color-accent) relative overflow-hidden"
51+ class =" cta py-6 md:py-12 bg-linear-to-br from-(--color-primary) to-(--color-accent) relative overflow-hidden"
5252 aria-labelledby ={ titleId }
5353 aria-describedby ={ descriptionId }
5454>
@@ -65,24 +65,30 @@ const descriptionId = `${id}-description`
6565 </div >
6666
6767 <div class =" container mx-auto px-4 sm:px-6 lg:px-8 relative z-(--z-raised)" >
68- <div class =" max-w-4xl mx-auto text-center" >
69- <h2
70- id ={ titleId }
71- class =" text-3xl md:text-4xl lg:text-5xl font-bold text-white mb-6 leading-tight"
72- >
73- { title }
74- </h2 >
75- <p
76- id ={ descriptionId }
77- class =" text-lg md:text-xl text-white/90 mb-10 max-w-2xl mx-auto leading-relaxed"
78- >
79- { description }
80- </p >
68+ <div
69+ class =" max-w-5xl mx-auto grid gap-10 md:grid-cols-[minmax(0,1fr)_max-content] md:items-center"
70+ >
71+ <div class =" min-w-0 text-center md:text-left" >
72+ <h2
73+ id ={ titleId }
74+ class =" text-xl md:text-4xl font-bold text-white mb-6 leading-tight"
75+ >
76+ { title }
77+ </h2 >
78+ <p
79+ id ={ descriptionId }
80+ class =" text-lg md:text-xl text-white/90 leading-relaxed"
81+ >
82+ { description }
83+ </p >
84+ </div >
8185
82- <div class =" flex flex-col sm:flex-row gap-4 justify-center items-center" >
86+ <div
87+ class =" w-fit flex flex-col sm:flex-row gap-4 justify-center md:justify-start items-center md:items-start"
88+ >
8389 <a
8490 href ={ primaryLink .href }
85- class =" inline-flex items-center justify-center px-8 py- 4 bg-white text-primary font-semibold rounded-xl hover:bg-white/90 transition-all duration-200 hover:shadow-xl hover:-translate-y-0.5 min-w-50 text-center"
91+ class =" inline-flex items-center justify-center p- 4 bg-white text-primary font-semibold rounded-xl hover:bg-white/90 transition-all duration-200 hover:shadow-xl hover:-translate-y-0.5 text-center no-underline "
8692 >
8793 { primaryLink .text }
8894 <svg
@@ -104,7 +110,7 @@ const descriptionId = `${id}-description`
104110 secondaryLink && (
105111 <a
106112 href = { secondaryLink .href }
107- class = " inline-flex items-center justify-center px-8 py- 4 bg-transparent border-2 border-white text-white font-semibold rounded-xl hover:bg-white hover:text-primary transition-all duration-200 hover:shadow-xl hover:-translate-y-0.5 min-w-50 text-center "
113+ class = " inline-flex items-center justify-center p- 4 bg-transparent border-2 border-white text-white text-center font-semibold no-underline rounded-xl duration-200 hover:bg-white hover:text-primary transition-all hover:shadow-xl hover:-translate-y-0.5"
108114 >
109115 { secondaryLink .text }
110116 </a >
0 commit comments