feat(content): reconcile homepages and restore HSA/FSA section
This commit is contained in:
13 files changed
+1910
-13
No files matched your search
@@ -0,0 +1,22 @@
|
||||
---
|
||||
import type { HsaFsaSection } from '../../types/home-sections';
|
||||
interface Props { section: HsaFsaSection }
|
||||
const { section } = Astro.props;
|
||||
---
|
||||
<section class="section section-tint hsa-fsa-section">
|
||||
<div class="container feature-grid hsa-fsa-grid">
|
||||
<img src={`/assets/images/${section.image}`} alt={section.imageAlt} loading="lazy" />
|
||||
<div>
|
||||
<h2>{section.heading}</h2>
|
||||
<p>{section.body}</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<style>
|
||||
.hsa-fsa-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
|
||||
.hsa-fsa-grid img { width: 100%; max-width: 500px; max-height: 425px; object-fit: contain; justify-self: center; }
|
||||
@media (max-width: 760px) {
|
||||
.hsa-fsa-grid { grid-template-columns: minmax(0, 1fr); }
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
import type { LogosSection } from '../../types/home-sections';
|
||||
interface Props { section: LogosSection }
|
||||
const { section } = Astro.props;
|
||||
---
|
||||
<div class="section home-logos">
|
||||
<div class="container logo-grid">
|
||||
{section.items.map(({ file, alt }) => (
|
||||
<img src={`/assets/images/${file}`} {alt} loading="lazy" />
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.logo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); align-items: center; }
|
||||
.logo-grid img { max-width: 100%; height: auto; justify-self: center; }
|
||||
@media (max-width: 760px) {
|
||||
.logo-grid { grid-template-columns: minmax(0, 1fr); }
|
||||
}
|
||||
</style>
|
||||
@@ -7,10 +7,19 @@ const { section } = Astro.props;
|
||||
<div class="container">
|
||||
<h2>{section.heading}</h2>
|
||||
<div class="process-grid">
|
||||
{section.steps.map(({ icon, label }) => (
|
||||
{section.steps.map(({ icon, label, href }) => (
|
||||
<div>
|
||||
<img src={`/assets/images/${icon}`} alt="" />
|
||||
<p>{label}</p>
|
||||
{href ? (
|
||||
<a href={href}>
|
||||
<img src={`/assets/images/${icon}`} alt="" />
|
||||
<p>{label}</p>
|
||||
</a>
|
||||
) : (
|
||||
<>
|
||||
<img src={`/assets/images/${icon}`} alt="" />
|
||||
<p>{label}</p>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
@@ -23,6 +32,8 @@ const { section } = Astro.props;
|
||||
.process-grid div { background: white; min-height: 190px; padding: 3.2rem 1rem; position: relative; text-align: center; transition: transform .3s ease-in-out; }
|
||||
.process-grid div:hover { transform: scale(1.05); z-index: 1; }
|
||||
.process-grid img { margin: 0 auto 1rem; width: 42%; }
|
||||
.process-grid a { display: block; color: inherit; text-decoration: none; }
|
||||
.process-grid a:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 8px; }
|
||||
@media (max-width: 760px) {
|
||||
.process-grid { grid-template-columns: 1fr 1fr; }
|
||||
}
|
||||
|
||||
@@ -6,7 +6,9 @@ import HomeDirector from '../home/HomeDirector.astro';
|
||||
import HomeEsa from '../home/HomeEsa.astro';
|
||||
import HomeFinancialHelp from '../home/HomeFinancialHelp.astro';
|
||||
import HomeHero from '../home/HomeHero.astro';
|
||||
import HomeHsaFsa from '../home/HomeHsaFsa.astro';
|
||||
import HomeInsurance from '../home/HomeInsurance.astro';
|
||||
import HomeLogos from '../home/HomeLogos.astro';
|
||||
import HomeProcess from '../home/HomeProcess.astro';
|
||||
import HomeServicesIntro from '../home/HomeServicesIntro.astro';
|
||||
import HomeSkills from '../home/HomeSkills.astro';
|
||||
@@ -25,10 +27,12 @@ function fromHomeContent(home: HomePageContent): HomeSection[] {
|
||||
{ type: 'skills', ...home.skills },
|
||||
{ type: 'insurance', ...home.insurance },
|
||||
{ type: 'esa', ...home.esa },
|
||||
...(home.hsaFsa ? [{ type: 'hsa-fsa' as const, ...home.hsaFsa }] : []),
|
||||
{ type: 'financial-help', ...home.financialHelp },
|
||||
{ type: 'process', ...home.process },
|
||||
{ type: 'director', ...home.director },
|
||||
{ type: 'testimonials', ...home.testimonials },
|
||||
...(home.logos ? [{ type: 'logos' as const, ...home.logos }] : []),
|
||||
];
|
||||
}
|
||||
|
||||
@@ -51,6 +55,8 @@ const sections: HomeSection[] = entry.data.home
|
||||
return <HomeInsurance section={section} />;
|
||||
case 'esa':
|
||||
return <HomeEsa section={section} />;
|
||||
case 'hsa-fsa':
|
||||
return <HomeHsaFsa section={section} />;
|
||||
case 'financial-help':
|
||||
return <HomeFinancialHelp section={section} />;
|
||||
case 'process':
|
||||
@@ -59,6 +65,8 @@ const sections: HomeSection[] = entry.data.home
|
||||
return <HomeDirector section={section} />;
|
||||
case 'testimonials':
|
||||
return <HomeTestimonials section={section} />;
|
||||
case 'logos':
|
||||
return <HomeLogos section={section} />;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "ABA Therapy Near Me | Arizona Institute for Autism | Scottsdale"
|
||||
description: "Arizona Institute for Autism: center for behavioral health & education services located in Scottsdale. We serve individuals with Autism and their families."
|
||||
title: "Scottsdale ABA Therapy for Children | Arizona Institute for Autism"
|
||||
description: "Arizona Institute for Autism: center for behavioral health & education services in Scottsdale. We serve children diagnosed with autism and their families."
|
||||
slug: "index"
|
||||
canonical: "https://www.azinstitute4autism.com/"
|
||||
lang: "en"
|
||||
@@ -11,7 +11,7 @@ home:
|
||||
hero:
|
||||
eyebrow: "Arizona's Leading Experts"
|
||||
heading: "Behavioral Health<br />& Special<br />Education"
|
||||
body: "Here at the Arizona Institute for Autism (AIA), we provide expert clinical care for children and teens who have an autism diagnosis. We currently serve families in Scottsdale, Gilbert, Mesa, Tempe, and Phoenix Metropolitan areas."
|
||||
body: "Here at the Arizona Institute for Autism (AIA), we provide expert clinical care for children who have an autism diagnosis. We currently serve families in Scottsdale, Gilbert, Mesa, Tempe, and Phoenix Metropolitan areas."
|
||||
cta:
|
||||
label: Get Started
|
||||
href: /client-consultation
|
||||
@@ -20,7 +20,7 @@ home:
|
||||
|
||||
# Services and commitments
|
||||
servicesIntro:
|
||||
servicesHeading: ABA Therapy Services for Children and Teens Diagnosed with Autism Spectrum Disorder
|
||||
servicesHeading: ABA Therapy Services for Children 18 Months Through 8 Years Diagnosed with Autism Spectrum Disorder
|
||||
services:
|
||||
- Autism Advocacy Support
|
||||
- "Evaluation & Assessment Support"
|
||||
@@ -33,7 +33,7 @@ home:
|
||||
commitments:
|
||||
- In-Center
|
||||
- In-Home
|
||||
- Integrated Therapy
|
||||
- Integrated Therapy Treatment
|
||||
- Early Intervention
|
||||
- Academic Readiness
|
||||
- Clinical Supervision
|
||||
@@ -106,6 +106,13 @@ home:
|
||||
image: logo-az-dept-of-education.webp
|
||||
imageAlt: Arizona Department of Education
|
||||
|
||||
# HSA/FSA — published on the English homepage only
|
||||
hsaFsa:
|
||||
heading: Health Savings Accounts (HSA) & Flexible Spending Accounts (FSA)
|
||||
body: Many families can also utilize their HSA and FSA to fund care, which allow you to pay for qualified clinical services using pre-tax dollars. The Arizona Institute for Autism (AIA) accepts Health Savings Account and Flexible Spending Account cards directly, making it easier to manage out-of-pocket costs for your learner's treatment. If you participate in one of these employer-sponsored or individual accounts, you can seamlessly apply your available funds toward tuition and fees for our ABA programs.
|
||||
image: hsa-fsa-accepted.png
|
||||
imageAlt: hsa-fsa-accepted
|
||||
|
||||
# Financial help
|
||||
financialHelp:
|
||||
heading: Need Help Paying for Your Care?
|
||||
@@ -120,16 +127,22 @@ home:
|
||||
steps:
|
||||
- icon: learner-journey-step-1a.svg
|
||||
label: Fill Out Learner Information Form
|
||||
href: /aba-therapy-intake-process#1-complete-the-learner-information-form
|
||||
- icon: learner-journey-step-2.svg
|
||||
label: Speak with a Client Advocate
|
||||
href: /aba-therapy-intake-process#2-speak-with-an-aia-client-advocate
|
||||
- icon: learner-journey-step-3.svg
|
||||
label: Fill and Sign an Intake Packet
|
||||
label: Fill and Sign a Client Intake Packet
|
||||
href: /aba-therapy-intake-process#3-fill-out-and-sign-the-client-intake-packet
|
||||
- icon: learner-journey-step-4.svg
|
||||
label: Verify Billing and Insurance
|
||||
label: Verify Billing and Insurance Information and Benefits
|
||||
href: /aba-therapy-intake-process#4-verify-insurance-and-billing-information
|
||||
- icon: learner-journey-step-5.svg
|
||||
label: Schedule an Assessment
|
||||
href: /aba-therapy-intake-process#5-schedule-your-childs-assessment
|
||||
- icon: learner-journey-step-6.svg
|
||||
label: Collaborate on a Care Plan
|
||||
href: /aba-therapy-intake-process#6-collaborate-on-a-personalized-care-plan
|
||||
|
||||
# Director
|
||||
director:
|
||||
@@ -144,7 +157,7 @@ home:
|
||||
|
||||
# Testimonials
|
||||
testimonials:
|
||||
heading: What Clients Are Saying
|
||||
heading: What Clients Say
|
||||
items:
|
||||
- author: Claudia
|
||||
text: "Our son \U0001F499 is an autistic kid. We struggled to find the correct place for him, that place where you can feel comfortable leaving your kid. We visited five companies, and no one gave us that confidence until we found AIA. You can see the dedication from each employee (Director, therapists, coordinators, etc.) to every kid. Their therapy rooms are huge and spacious; every kid can play and learn simultaneously in their own spaces. We are thankful \U0001F64F to Arizona Institute for Autism for caring for Misael. All of you are Amazing!!! Thank you \U0001F60A"
|
||||
@@ -168,4 +181,12 @@ home:
|
||||
text: "AIA has done wonders for my son. I drive from NW Peoria just to come here. Everyone is very professional and kind. They truly care about the kids and seeing them succeed. I'm so lucky to have found them. I would recommend them to anyone!"
|
||||
- author: Tim
|
||||
text: "The staff at AIA is my second family. Not only does my son receive the best care possible, they also keep me in check and help make sure I'm doing my part. That's the kind of love you get in this big family!"
|
||||
|
||||
# Logos published after testimonials
|
||||
logos:
|
||||
items:
|
||||
- file: logo-BACB.png
|
||||
alt: logo for Behavior Analyst Certification Board (BACB)
|
||||
- file: casp-member-logo.webp
|
||||
alt: the council of autism service providers member logo
|
||||
---
|
||||
@@ -11,7 +11,7 @@ home:
|
||||
hero:
|
||||
eyebrow: Los principales expertos de Arizona
|
||||
heading: "Salud Mental y<br />Educación Especial"
|
||||
body: "Aquí en el Instituto de Autismo de Arizona (AIA), brindamos atención clínica experta para niños y adolescentes con diagnóstico de autismo. Actualmente atendemos a familias en las áreas metropolitanas de Scottsdale, Gilbert, Mesa, Tempe y Phoenix."
|
||||
body: "Aquí en el Instituto de Autismo de Arizona (AIA), brindamos atención clínica experta para niños con diagnóstico de autismo. Actualmente atendemos a familias en las áreas metropolitanas de Scottsdale, Gilbert, Mesa, Tempe y Phoenix."
|
||||
cta:
|
||||
label: Empezar
|
||||
href: /es/client-consultation
|
||||
@@ -20,7 +20,7 @@ home:
|
||||
|
||||
# Servicios y compromisos
|
||||
servicesIntro:
|
||||
servicesHeading: Servicios de terapia ABA para niños y adolescentes diagnosticados con TEA
|
||||
servicesHeading: Servicios de terapia ABA para niños de 18 meses a 8 años diagnosticados con TEA
|
||||
services:
|
||||
- Apoyo a la defensa del autismo
|
||||
- Apoyo a la evaluación y valoración
|
||||
@@ -121,16 +121,22 @@ home:
|
||||
steps:
|
||||
- icon: learner-journey-step-1a.svg
|
||||
label: Complete el formulario de información del estudiante
|
||||
href: /es/aba-therapy-intake-process#1-complete-el-formulario-de-información-del-estudiante
|
||||
- icon: learner-journey-step-2.svg
|
||||
label: Hable con un Defensor del Cliente
|
||||
href: /es/aba-therapy-intake-process#2-hable-con-un-defensor-del-cliente-de-aia
|
||||
- icon: learner-journey-step-3.svg
|
||||
label: Llenar y firmar un paquete de admisión de clientes
|
||||
href: /es/aba-therapy-intake-process#3-complete-y-firme-el-paquete-de-admisión-del-cliente
|
||||
- icon: learner-journey-step-4.svg
|
||||
label: Verificar la información de facturación, seguro y beneficios
|
||||
href: /es/aba-therapy-intake-process#4-verificar-la-información-del-seguro-y-la-facturación
|
||||
- icon: learner-journey-step-5.svg
|
||||
label: Programar una evaluación
|
||||
href: /es/aba-therapy-intake-process#5-programa-la-evaluación-de-tu-hijo
|
||||
- icon: learner-journey-step-6.svg
|
||||
label: Colaborar en un Plan de Cuidados
|
||||
href: /es/aba-therapy-intake-process#6-colaborar-en-un-plan-de-atención-personalizado
|
||||
|
||||
# Directora
|
||||
director:
|
||||
@@ -169,4 +175,12 @@ home:
|
||||
text: "AIA has done wonders for my son. I drive from NW Peoria just to come here. Everyone is very professional and kind. They truly care about the kids and seeing them succeed. I'm so lucky to have found them. I would recommend them to anyone!"
|
||||
- author: Tim
|
||||
text: "The staff at AIA is my second family. Not only does my son receive the best care possible, they also keep me in check and help make sure I'm doing my part. That's the kind of love you get in this big family!"
|
||||
|
||||
# Logos published after testimonials
|
||||
logos:
|
||||
items:
|
||||
- file: logo-BACB.png
|
||||
alt: logo for Behavior Analyst Certification Board (BACB)
|
||||
- file: casp-member-logo.webp
|
||||
alt: the council of autism service providers member logo
|
||||
---
|
||||
@@ -66,6 +66,13 @@ const esaSectionSchema = z.object({
|
||||
imageAlt: z.string(),
|
||||
});
|
||||
|
||||
const hsaFsaSectionSchema = esaSectionSchema.extend({ type: z.literal('hsa-fsa') });
|
||||
|
||||
const logosSectionSchema = z.object({
|
||||
type: z.literal('logos'),
|
||||
items: z.array(z.object({ file: z.string(), alt: z.string() })),
|
||||
});
|
||||
|
||||
const financialHelpSectionSchema = z.object({
|
||||
type: z.literal('financial-help'),
|
||||
heading: z.string(),
|
||||
@@ -79,6 +86,7 @@ const processSectionSchema = z.object({
|
||||
steps: z.array(z.object({
|
||||
icon: z.string(),
|
||||
label: z.string(),
|
||||
href: z.string().optional(),
|
||||
})),
|
||||
});
|
||||
|
||||
@@ -110,10 +118,12 @@ export const homeSectionSchema = z.discriminatedUnion('type', [
|
||||
skillsSectionSchema,
|
||||
insuranceSectionSchema,
|
||||
esaSectionSchema,
|
||||
hsaFsaSectionSchema,
|
||||
financialHelpSectionSchema,
|
||||
processSectionSchema,
|
||||
directorSectionSchema,
|
||||
testimonialsSectionSchema,
|
||||
logosSectionSchema,
|
||||
]);
|
||||
|
||||
export const homeSectionsSchema = z.array(homeSectionSchema);
|
||||
@@ -136,10 +146,12 @@ export const homePageSchema = z.object({
|
||||
skills: homeSkillsSchema,
|
||||
insurance: homeInsuranceSchema,
|
||||
esa: homeEsaSchema,
|
||||
hsaFsa: hsaFsaSectionSchema.omit({ type: true }).optional(),
|
||||
financialHelp: homeFinancialHelpSchema,
|
||||
process: homeProcessSchema,
|
||||
director: homeDirectorSchema,
|
||||
testimonials: homeTestimonialsSchema,
|
||||
logos: logosSectionSchema.omit({ type: true }).optional(),
|
||||
});
|
||||
|
||||
export type HomeSection = z.infer<typeof homeSectionSchema>;
|
||||
@@ -149,6 +161,8 @@ export type BenefitsSection = z.infer<typeof benefitsSectionSchema>;
|
||||
export type SkillsSection = z.infer<typeof skillsSectionSchema>;
|
||||
export type InsuranceSection = z.infer<typeof insuranceSectionSchema>;
|
||||
export type EsaSection = z.infer<typeof esaSectionSchema>;
|
||||
export type HsaFsaSection = z.infer<typeof hsaFsaSectionSchema>;
|
||||
export type LogosSection = z.infer<typeof logosSectionSchema>;
|
||||
export type FinancialHelpSection = z.infer<typeof financialHelpSectionSchema>;
|
||||
export type ProcessSection = z.infer<typeof processSectionSchema>;
|
||||
export type DirectorSection = z.infer<typeof directorSectionSchema>;
|
||||
|
||||
Reference in new issue
Block a user