Skip to content

chore(website): remove unused Image component - #239

Draft
abernier wants to merge 1 commit into
feat/website-design-systemfrom
chore/website-remove-dead-image
Draft

abernier wants to merge 1 commit into
feat/website-design-systemfrom
chore/website-remove-dead-image

Conversation

@abernier

@abernier abernier commented Oct 9, 2026

Copy link
Copy Markdown
Member

Stacks on #238.

What

Removes apps/website/components/Image.tsx, a next/image wrapper that prefixed src with process.env.BASE_PATH. Nothing imports it: the base path now comes from BASE_PATH in lib/helper.ts, and next.config.mjs sets basePath itself.

How deadness was confirmed

I searched the whole repo (tracked files) for:

  • static imports: components/Image, @/components/Image (the only tsconfig alias is @/* -> ./*), ./Image, ../Image
  • dynamic imports and lazy loading: import(, require(, next/dynamic
  • barrel re-exports: there are no index.ts files under apps/website or packages
  • MDX: there are no .mdx files and no mdx-components
  • Storybook stories, next.config.mjs, and any mention of Image.tsx

The only <Image in the site, in components/Nav.tsx, comes from next/image.

Gates (local)

  • pnpm check: passed (lint, lint:examples with 0 errors, lint:metadata, lint:versions, format:check)
  • pnpm --filter website build: passed (TypeScript passed, 185/185 static pages generated)

🤖 Generated with Claude Code

Imported nowhere in the repo; the base path now comes from BASE_PATH in
lib/helper.ts, and next.config sets basePath for next/image directly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@abernier
abernier added this pull request to stack #240 October 9, 2026 15:16

This branch was successfully deployed

1 active deployment
preview — ae44de0f Deployed Oct 9, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant