feat: add Architecture & System Design links to every project#150
Merged
Conversation
…cts + /ai) Add an `architecture` URL to all 5 projects in portfolio.ts (single source of truth) and surface it as an 'Architecture' link with a Network icon and 'Architecture & system design diagram' tooltip on both project detail surfaces: the /projects card footers (after GitHub) and the /ai action pills (after Source). Extend the portfolio data test to assert every project has a valid HTTPS architecture URL. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds an Architecture & System Design link to every project, pointing at each repo's standalone architecture diagram.
bilalahamad0.github.io/warn/architecture.htmlbilalahamad0.github.io/adhan-api/architecture.htmlbilalahamad0.github.io/tmo/architecture.htmlbilalahamad0.github.io/adhan-ce/architecture.htmlhtmlpreview.github.io/?…/profile/blob/main/docs/architecture.htmlHow
src/data/portfolio.ts(single source of truth) — newarchitectureURL field on all 5 projects.src/app/projects/page.tsx— renders anArchitecturelink in each card footer, right after GitHub (Networkicon, cyan hover,title="Architecture & system design diagram").src/app/ai/page.tsx— renders anArchitectureaction pill after the Source button.src/data/portfolio.test.ts— the per-project well-formed test now assertsarchitectureis a valid HTTPS URL, so no project can ship without one.Visible label kept short (
Architecture) to match the existing footer convention (GitHub / Source / AI Details); the full "Architecture & System Design" wording lives in the tooltip/aria. The home teaser (FeaturedProjects.tsx) was intentionally left minimal — its cards click through to/projectswhere the link lives.Verification
npm run lint→ 0 errors (pre-existing warnings only)vitest run→ 55 passed, incl. the new architecture-URL assertion ×5npm run build→ clean, TypeScript passed, 26 pages prerendered/projectsand/aidocs/architecture.htmlis committed onorigin/main, so the profile htmlpreview link resolves🤖 Generated with Claude Code