From 4a7045a1cb7c065cba1d1ffdc00311f8e19c1165 Mon Sep 17 00:00:00 2001 From: Jeffrey Hales Date: Sat, 20 Jun 2026 12:07:06 -0700 Subject: [PATCH] refactor(cleanup): remove unused components and stale docs - delete components that no longer have any references in the current source tree - remove the stale Link component example from the README - drop the leftover service-page heading rule from the blog stylesheet - keep the repo aligned with the current component graph instead of historical leftovers --- www/README.md | 9 ----- www/src/components/ConsultationCTA.astro | 11 ------- www/src/components/InsuranceStrip.astro | 13 -------- www/src/components/Link.astro | 42 ------------------------ www/src/components/LocationCard.astro | 8 ----- www/src/components/ServiceCard.astro | 7 ---- www/src/styles/blog.css | 1 - 7 files changed, 91 deletions(-) delete mode 100644 www/src/components/ConsultationCTA.astro delete mode 100644 www/src/components/InsuranceStrip.astro delete mode 100644 www/src/components/Link.astro delete mode 100644 www/src/components/LocationCard.astro delete mode 100644 www/src/components/ServiceCard.astro diff --git a/www/README.md b/www/README.md index 058f813..db5ad2b 100644 --- a/www/README.md +++ b/www/README.md @@ -198,15 +198,6 @@ Available `Button` variants are `filled` (default), `outlined`, and `light`. Available sizes are `default` and `small`. A `_blank` target automatically adds `rel="noopener noreferrer"`. -Use the optional `Link` component only when an inline link needs an explicit -variant or target: - -```mdx -import Link from '../../../components/Link.astro'; - -Browse the library -``` - Normal Markdown links remain preferred for ordinary page and article content. ### Front Matter CMS diff --git a/www/src/components/ConsultationCTA.astro b/www/src/components/ConsultationCTA.astro deleted file mode 100644 index 9ae548f..0000000 --- a/www/src/components/ConsultationCTA.astro +++ /dev/null @@ -1,11 +0,0 @@ -
-
-

Start the conversation

Find the right support for your learner.

- Schedule a Free Consultation -
-
- - diff --git a/www/src/components/InsuranceStrip.astro b/www/src/components/InsuranceStrip.astro deleted file mode 100644 index 7d8e80b..0000000 --- a/www/src/components/InsuranceStrip.astro +++ /dev/null @@ -1,13 +0,0 @@ ---- -const logos = ['aetna.png', 'bluecrossblueshield-logo-1.webp', 'logo-ahcccs.webp', 'logo-optum.webp', 'logo-tricare-1.webp', 'united-healthcare-logo-1.webp']; ---- -
-

Insurance partners

{logos.map((logo) => )}
-
- - diff --git a/www/src/components/Link.astro b/www/src/components/Link.astro deleted file mode 100644 index 1fca0b3..0000000 --- a/www/src/components/Link.astro +++ /dev/null @@ -1,42 +0,0 @@ ---- -interface Props { - href: string; - variant?: 'default' | 'strong'; - target?: '_blank' | '_self'; - rel?: string; - class?: string; -} - -const { - href, - variant = 'default', - target, - rel = target === '_blank' ? 'noopener noreferrer' : undefined, - class: className -} = Astro.props; ---- - - - - - - diff --git a/www/src/components/LocationCard.astro b/www/src/components/LocationCard.astro deleted file mode 100644 index b72f9a2..0000000 --- a/www/src/components/LocationCard.astro +++ /dev/null @@ -1,8 +0,0 @@ ---- -const { title = 'Scottsdale', address = '8901 E Raintree Dr Ste 160, Scottsdale, AZ 85260' } = Astro.props; ---- -

{title}

{address}

Get directions
- - diff --git a/www/src/components/ServiceCard.astro b/www/src/components/ServiceCard.astro deleted file mode 100644 index 30332ec..0000000 --- a/www/src/components/ServiceCard.astro +++ /dev/null @@ -1,7 +0,0 @@ ---- -const { title, description, href, image } = Astro.props; ---- -
- {image && } -

{title}

{description}

Learn more
-
diff --git a/www/src/styles/blog.css b/www/src/styles/blog.css index 9975387..1cf4133 100644 --- a/www/src/styles/blog.css +++ b/www/src/styles/blog.css @@ -11,7 +11,6 @@ .source-page > h2:first-of-type { margin-top: 0; } .service-page > p > img, .service-page > img { float: right; margin: .5rem 0 1.5rem 2rem; max-height: 230px; max-width: 300px; object-fit: cover; } .service-page h3 { font-size: 2rem; } -.service-page h3 + p { color: var(--color-accent-strong); font-family: var(--font-accent); font-size: 1.5rem; margin-bottom: -.8rem; } .blog-post-body { max-width: 960px; } .blog-post-body p { margin-bottom: 1.55rem; } .blog-post-body table { border: 1px solid #d7d9e3; border-collapse: collapse; display: table; margin: 0 0 1.4rem; width: 100%; }