From a048d395f74e0392dab499aee405890e8ba660de Mon Sep 17 00:00:00 2001 From: Jeffrey Hales Date: Sat, 20 Jun 2026 12:00:21 -0700 Subject: [PATCH] refactor(typography): standardize eyebrow labels across page shells - consolidate the shared eyebrow label styling into the global typography layer - replace the old script-label usage in page hero, home hero, FAQ, and team shells - keep the next heading flush under the label across all affected page types --- www/src/components/PageHero.astro | 2 +- www/src/components/home/HomeHero.astro | 4 ++-- www/src/components/pages/FaqPage.astro | 4 ++-- www/src/components/pages/TeamPage.astro | 6 +++--- www/src/styles/typography.css | 20 ++++++++++++++------ 5 files changed, 22 insertions(+), 14 deletions(-) diff --git a/www/src/components/PageHero.astro b/www/src/components/PageHero.astro index 02ad056..ef5f3f3 100644 --- a/www/src/components/PageHero.astro +++ b/www/src/components/PageHero.astro @@ -13,7 +13,7 @@ const { title, subtitle, image, eyebrow, constrain = false } = Astro.props;
{eyebrow - ?

{eyebrow}

{title}

{subtitle &&

{subtitle}

}
+ ?

{eyebrow}

{title}

{subtitle &&

{subtitle}

}
: <>

{title}

{subtitle &&

{subtitle}

} }
diff --git a/www/src/components/home/HomeHero.astro b/www/src/components/home/HomeHero.astro index c858081..6ef6d5a 100644 --- a/www/src/components/home/HomeHero.astro +++ b/www/src/components/home/HomeHero.astro @@ -6,7 +6,7 @@ const { section } = Astro.props;
-

{section.eyebrow}

+

{section.eyebrow}

{section.body}

{section.cta.label} @@ -19,7 +19,7 @@ const { section } = Astro.props; .home-hero { background: var(--color-tint); overflow: hidden; } .home-hero-grid { align-items: end; display: grid; grid-template-columns: 1fr .9fr; min-height: 520px; padding-top: 4rem; } .home-hero-grid > div { align-self: center; padding-bottom: 4rem; } - .home-hero-grid p:not(.script-label) { max-width: 570px; } + .home-hero-grid p:not(.eyebrow) { max-width: 570px; } .home-hero-grid img { align-self: end; justify-self: end; max-height: 500px; object-fit: contain; } @media (max-width: 760px) { .home-hero-grid { grid-template-columns: 1fr; padding-top: 3rem; text-align: center; } diff --git a/www/src/components/pages/FaqPage.astro b/www/src/components/pages/FaqPage.astro index ed1327c..ee31eee 100644 --- a/www/src/components/pages/FaqPage.astro +++ b/www/src/components/pages/FaqPage.astro @@ -38,7 +38,7 @@
-

Still have questions?

+

Still have questions?

Reach Out to Learn More

We hope this FAQ gives you a clear picture of how Applied Behavior Analysis (ABA) therapy at the Arizona Institute for Autism can support your child’s growth. If you have more questions or would like to schedule an assessment, please reach out. Our team is here to guide you and your learner every step of the way!

@@ -558,7 +558,7 @@ padding-block: 3.5rem; } - .faq-cta-primary .script-label { + .faq-cta-primary .eyebrow { color: #f9b34d; } diff --git a/www/src/components/pages/TeamPage.astro b/www/src/components/pages/TeamPage.astro index f62f326..c1ef4b7 100644 --- a/www/src/components/pages/TeamPage.astro +++ b/www/src/components/pages/TeamPage.astro @@ -40,7 +40,7 @@ const groups = [

Our Clinical Team

-

Arizona Institute for Autism
Scottsdale, Arizona

+

Arizona Institute for Autism
Scottsdale, Arizona

AIA's clinical team consists of experienced professionals and paraprofessionals as well as Board Certified Behavior Analysts (BCBA) and Psychologists who have diverse experience and expertise.

{groups.map((group) => ( @@ -64,7 +64,7 @@ const groups = [ ))}
-

Join the AIA Team!

+

Join the AIA Team!

Employment Opportunities

Apply online to join the AIA team! At the Arizona Institute for Autism (AIA) we are on a mission to improve special education and strengthen communities throughout Arizona.

Our talented and passionate employees are a critical piece to the high-quality ABA therapy we provide along with our commitment to behavioral health, school solutions, and community outreach. For questions regarding open positions, please contact us at hr@azinstitute4autism.com.

@@ -75,7 +75,7 @@ const groups = [