refactor(migration): remove obsolete mirror extraction tooling
- delete extraction scripts that depended on the removed local mirror - remove stale extract npm scripts and migration-brief references - drop the old mirror ignore rule from .gitignore - update reports and redirect reasons to use live-source wording
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
# Cleanup Log
|
||||
|
||||
- Replaced HubSpot-generated wrappers, inline styles, scripts, analytics, and modules with reusable Astro components.
|
||||
- Preserved canonical clean URLs while excluding local mirror query-string and AMP duplicates.
|
||||
- Preserved canonical clean URLs while excluding HubSpot query-string and AMP duplicates.
|
||||
- Consolidated responsive `hs-fs` image variants to canonical `hubfs` assets where available.
|
||||
- Excluded mirrored HubSpot CSS and JavaScript from the new public asset package.
|
||||
- Self-hosted canonical images, SVGs, fonts, and PDFs from the mirror.
|
||||
- Excluded HubSpot CSS and JavaScript from the new public asset package.
|
||||
- Self-hosted canonical images, SVGs, fonts, and PDFs where practical.
|
||||
- Recreated navigation and footer from structured JSON.
|
||||
- Recreated visible contact and consultation forms as static accessible HTML.
|
||||
- Used the source palette: AIA blue `#254080`, dark blue, straw yellow, orange, and teal.
|
||||
- Used the live site's locally mirrored Playfair Display headings, Rubik body copy, and Caveat accent font.
|
||||
- Used self-hosted Playfair Display headings, Rubik body copy, and Caveat accent font.
|
||||
- Added multilingual collection and route structure with Arabic RTL support.
|
||||
- Kept all extracted source content editable as Markdown.
|
||||
- Replaced the initial generic rounded-card visual system with live-derived
|
||||
@@ -21,18 +21,17 @@
|
||||
- Reorganized the homepage source into named `home:` frontmatter blocks so the
|
||||
content is easier to inspect and edit without changing the rendered layout.
|
||||
- Replaced the extracted linear team article with a dedicated live-derived team grid.
|
||||
- Repaired mirror-rewritten PDF, lightbox, CTA, and relative content links.
|
||||
- Repaired rewritten PDF, lightbox, CTA, and relative content links.
|
||||
- Limited language-switcher choices to translations that have generated routes.
|
||||
- Verified and implemented the current production likes/views API contract.
|
||||
- Recovered 18 live page-banner assets that the wget mirror missed because
|
||||
HubSpot injected them through malformed inline `background-image` styles.
|
||||
- Recovered 18 live page-banner assets that HubSpot injected through malformed
|
||||
inline `background-image` styles.
|
||||
- Restored the live library banner and consultation form section background.
|
||||
- Added a mapped-page-imagery audit to prevent missing visual assets from
|
||||
silently passing the source link audit.
|
||||
- Removed duplicated article titles, author/date blocks, and featured images
|
||||
from all 65 blog Markdown bodies; these elements are rendered by the shared
|
||||
blog-post layout. Updated both extractors and added a blog-content audit to
|
||||
prevent recurrence.
|
||||
blog-post layout. Added a blog-content audit to prevent recurrence.
|
||||
- Converted 19 FAQ-bearing blog posts to MDX and restored a reusable
|
||||
`FAQAccordion.astro` component that owns the live-style accordion and
|
||||
matching `FAQPage` JSON-LD.
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
## Status
|
||||
|
||||
A maintainable Astro migration and substantial fidelity-first pass are
|
||||
implemented. The live public site, not the wget mirror, was used as the
|
||||
authority for the shared shell, English and Spanish homepages, service-page
|
||||
family, team page, library indexes, and blog-post family.
|
||||
implemented. The live public site was used as the authority for the shared
|
||||
shell, English and Spanish homepages, service-page family, team page, library
|
||||
indexes, and blog-post family.
|
||||
|
||||
## Migrated Content and Assets
|
||||
|
||||
@@ -15,9 +15,9 @@ family, team page, library indexes, and blog-post family.
|
||||
- 167 self-hosted images, 20 font files, and two PDF downloads.
|
||||
- Current June and May 2026 English library articles are included.
|
||||
|
||||
The raw mirror remains untouched. HubSpot-generated wrappers, analytics,
|
||||
scripts, CSS, query-language duplicates, AMP variants, pagination, and author
|
||||
archive variants are not carried into the Astro implementation.
|
||||
HubSpot-generated wrappers, analytics, scripts, CSS, query-language duplicates,
|
||||
AMP variants, pagination, and author archive variants are not carried into the
|
||||
Astro implementation.
|
||||
|
||||
## Live-Source Fidelity Pass
|
||||
|
||||
@@ -55,7 +55,7 @@ Implemented fidelity work includes:
|
||||
links, fawn backgrounds, spacing, rounded presentation, and quote-mark SVG.
|
||||
- Replaced generic oversized cards, rounded controls, and marketing heroes
|
||||
with live-derived typography, palette, widths, spacing, and compact controls.
|
||||
- Corrected material live/mirror discrepancies found during the pass,
|
||||
- Corrected material live-source discrepancies found during the pass,
|
||||
including current homepage ESA copy, testimonial content, and ABA copy.
|
||||
|
||||
## URLs and Redirects
|
||||
@@ -157,7 +157,7 @@ final production-build proof.
|
||||
- Perform full-page desktop and mobile visual comparisons for page-specific
|
||||
layouts beyond the completed homepage, team, service, library, and article
|
||||
families.
|
||||
- Editorially review extracted long-form content for remaining mirror artifacts,
|
||||
- Editorially review extracted long-form content for remaining extraction artifacts,
|
||||
stale phone/email references, and heading hierarchy.
|
||||
- Review all source alt text, keyboard behavior, screen-reader output, and
|
||||
contrast with accessibility tooling.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from,to,status,reason
|
||||
"/aba","/aba-therapy",301,"Brief alias to preserved mirror URL"
|
||||
"/autismevaluations","/autism-evaluations",301,"Brief alias to preserved mirror URL"
|
||||
"/learnersocialclub","/learner-social-club",301,"Brief alias to preserved mirror URL"
|
||||
"/aba","/aba-therapy",301,"Brief legacy alias to preserved URL"
|
||||
"/autismevaluations","/autism-evaluations",301,"Brief legacy alias to preserved URL"
|
||||
"/learnersocialclub","/learner-social-club",301,"Brief legacy alias to preserved URL"
|
||||
|
||||
|
@@ -18,8 +18,8 @@
|
||||
|
||||
## Cleanup
|
||||
|
||||
- HubSpot `?hsLang=...` mirror duplicates are excluded from generated routes.
|
||||
- AMP mirror variants are excluded because Astro pages are responsive and static.
|
||||
- HubSpot `?hsLang=...` duplicates are excluded from generated routes.
|
||||
- AMP variants are excluded because Astro pages are responsive and static.
|
||||
- Blog pagination and author archive variants are not preserved as separate generated pages.
|
||||
- Brief aliases `/aba`, `/autismevaluations`, and `/learnersocialclub` redirect to preserved source URLs.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user