diff --git a/www/reports/cleanup-log.md b/www/reports/cleanup-log.md index 12f2906..5e42da9 100644 --- a/www/reports/cleanup-log.md +++ b/www/reports/cleanup-log.md @@ -38,6 +38,9 @@ - Converted the insurance content entry to MDX so its prose, carrier data, and FAQ data have one editable source; reduced `InsurancePage.astro` to a presentation-only wrapper that renders the content slot. +- Reconstructed the giveback page's four live-derived content bands and + restored its Amazon wishlist and GivingFountain actions without carrying + over HubSpot layout wrappers. - Restored 32 blockquotes across 15 English and Spanish blog posts, including source emphasis, links, and the self-hosted quote-mark decoration; fixed fallback extraction to preserve them. diff --git a/www/reports/migration-summary.md b/www/reports/migration-summary.md index c700e4b..2bb55ba 100644 --- a/www/reports/migration-summary.md +++ b/www/reports/migration-summary.md @@ -25,7 +25,7 @@ Live pages inspected during the pass include: - English and Spanish homepages - ABA Therapy, Autism Evaluations, and Learner Social Club -- About, Team, and Client Consultation +- About, Team, Client Consultation, and Giveback & Donate - English and Arabic Library indexes - Representative current library articles @@ -47,6 +47,9 @@ Implemented fidelity work includes: - Rebuilt the contact page around the live two-column content/form section and full-width Leaflet map while retaining local clickable obfuscated phone links. +- Rebuilt the giveback page as four source-faithful full-width sections with + its original image/copy proportions, fundraiser color band, nonprofit logo, + emphasis, and external donation calls to action. - Rebuilt library indexes and blog-post presentation around the live sidebar, article list, byline, featured-image, and counter patterns. - Converted FAQ-bearing posts to MDX and routed their accordions, the @@ -68,6 +71,8 @@ Implemented fidelity work includes: and the Blue Cross Blue Shield mark is emphasized at 125% of the standard desktop logo width, following its treatment on the live homepage rather than preserving the live pages' differing row spacing. +- The Community 4 Autism logo on `/donate-autism-giveback` is horizontally + centered on mobile instead of retaining the live page's left alignment. ## URLs and Redirects diff --git a/www/src/components/GivebackSection.astro b/www/src/components/GivebackSection.astro new file mode 100644 index 0000000..036fc77 --- /dev/null +++ b/www/src/components/GivebackSection.astro @@ -0,0 +1,213 @@ +--- +import Button from './Button.astro'; + +interface Props { + variant: 'intro' | 'wishlist' | 'fundraiser' | 'community'; + heading: string; + headingId: string; + image?: string; + imageAlt?: string; + actionHref?: string; + actionLabel?: string; + actionRel?: string; +} + +const { + variant, + heading, + headingId, + image, + imageAlt = '', + actionHref, + actionLabel, + actionRel +} = Astro.props; + +const Heading = variant === 'intro' || variant === 'community' ? 'h2' : 'h3'; +const hasImage = Boolean(image); +const actionIsCentered = variant === 'community'; +--- + +
+
+
+ {image && variant === 'wishlist' && ( + {imageAlt} + )} + +
+ {heading} + + + {actionHref && actionLabel && !actionIsCentered && ( +
+ +
+ )} +
+ + {image && variant === 'community' && ( + {imageAlt} + )} +
+ + {actionHref && actionLabel && actionIsCentered && ( +
+ +
+ )} +
+
+ + diff --git a/www/src/content/pages/en/donate-autism-giveback.mdx b/www/src/content/pages/en/donate-autism-giveback.mdx index 1f081af..5af80ee 100644 --- a/www/src/content/pages/en/donate-autism-giveback.mdx +++ b/www/src/content/pages/en/donate-autism-giveback.mdx @@ -8,27 +8,54 @@ translationKey: "donate-autism-giveback" draft: false --- import ContactObfuscation from '../../../components/ContactObfuscation.astro'; +import GivebackSection from '../../../components/GivebackSection.astro'; -## Ways to Giveback + Every act of generosity, no matter how big or small, makes a difference at the Arizona Institute for Autism. Whether you donate items directly, support our Amazon iGiveback Wishlist, or contribute to our 501(c)(3) public charity, your support helps improve the lives of children with autism, their families, and the communities around them. -![giveback donation gift](/assets/images/giveback-donation-gift.webp) + -### Give the Gift of a Smile! + Visit AIA’s Amazon iGiveback Wishlist today, pick an item (or two!), and help us turn everyday needs into moments of happiness and growth. - View our Amazon Wishlist + -### Host a Fundraiser + Would you like to host a fundraiser to benefit the Arizona Institute for Autism? Please contact us at and a member of our team will be in touch to discuss next steps! All potential third party events will be evaluated in terms of their alignment with Arizona Institute for Autism's mission. -## Community 4 Autism + -A 501(c)(3) nonprofit organization (EIN 92-2808564), Community 4 Autism was established in June 2023. Your tax-deductible donation directly supports families of children and individuals diagnosed with autism. + -![Community 4 Autism - Nonprofit Giveback Solution](/assets/images/community-4-autism-logo-blue-1.png) +A 501(c)(3) nonprofit organization (EIN 92-2808564), **Community 4 Autism** was established in June 2023. Your tax-deductible donation directly supports families of children and individuals diagnosed with autism. - Donate with GivingFountain + diff --git a/www/src/layouts/PageLayout.astro b/www/src/layouts/PageLayout.astro index 49e2fbc..dfe06dc 100644 --- a/www/src/layouts/PageLayout.astro +++ b/www/src/layouts/PageLayout.astro @@ -70,6 +70,8 @@ const heroImage = pageHeroImages[entry.data.slug]; ? : entry.data.slug === 'insurance' && entry.data.lang === 'en' ? + : entry.data.slug === 'donate-autism-giveback' && entry.data.lang === 'en' + ? : entry.data.slug === 'contact' ? :
}