@@ -4,18 +4,18 @@ export default function Onboarding() {
44 return (
55 < div className = "flex justify-center items-center h-screen w-screen bg-gradient-to-b from-nyanza to-celeste sm:via-celeste sm:via-50% sm:to-white sm:to-50%" >
66 { /* quiz card */ }
7- < div className = "flex flex-col justify-center items-center gap-10 bg-white rounded-[10px] h-[80vh] w-full sm:w-[90vw] md:w-[80vw] lg:w-[70vw] xl:w-[65vw] 2xl:w-[60vw] shadow-[0_4px_15px_8px_rgba(30,30,30,0.10)]" >
7+ < div className = "flex flex-col justify-center items-center gap-6 sm:gap-8 md:gap- 10 bg-white rounded-[10px] h-[90vh] sm: h-[80vh] w-full sm:w-[90vw] md:w-[80vw] lg:w-[70vw] xl:w-[65vw] 2xl:w-[60vw] shadow-[0_4px_15px_8px_rgba(30,30,30,0.10)]" >
88 { /* title and subtitle */ }
9- < div className = "flex flex-col gap-3 text-center" >
10- < h1 className = "text-xl sm:text-2xl lg:text-3xl font-medium" >
9+ < div className = "flex flex-col gap-2 md:gap- 3 text-center" >
10+ < h1 className = "text-base sm:text-xl md :text-2xl lg:text-3xl font-medium" >
1111 What are some of your concerns today?
1212 </ h1 >
1313 < p className = "text-base sm:text-lg lg:text-2xl font-normal" >
1414 Your selections help us customize your dashboard
1515 </ p >
1616 </ div >
1717 { /* button quiz grid */ }
18- < div className = "grid grid-cols-1 gap-6 md :grid-cols-2 md:grid-rows-3 md:gap-y-10 md:gap-x-14" >
18+ < div className = "grid grid-cols-1 gap-4 sm:gap-5 sm :grid-cols-2 md:grid-rows-3 md:gap-y-10 md:gap-x-14" >
1919 < Button size = "md" color = "secondary" label = "Sleep" />
2020 < Button size = "md" color = "secondary" label = "Postpartum Anxiety" />
2121 < Button size = "md" color = "secondary" label = "Self-Doubt" />
@@ -24,7 +24,7 @@ export default function Onboarding() {
2424 < Button size = "md" color = "secondary" label = "Gender Bias" />
2525 </ div >
2626 { /* next and skip buttons */ }
27- < div className = "flex flex-col-reverse gap-5 md :flex-row md:gap-8" >
27+ < div className = "flex flex-col-reverse gap-4 sm:gap-5 sm :flex-row md:gap-8" >
2828 < Button size = "sm" color = "secondary" label = "Skip" />
2929 < Button size = "sm" color = "primary" label = "Next" />
3030 </ div >
0 commit comments