feat: implement project pages with content and UI#16
Merged
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: ASSERTIVE Plan: Lite Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughAdds a projects feature: OG-image components, a ProjectCard, project listing and detail pages, a new "projects" content collection, sample project markdown files, and removes the "Client Work" navigation link. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Browser
participant ProjectsIndex as /projects Index Page
participant ContentAPI as Content API
participant ProjectCard
User->>Browser: Navigate to /projects
Browser->>ProjectsIndex: Mount component
ProjectsIndex->>ContentAPI: useAsyncData('projects') -> fetch collection
ContentAPI-->>ProjectsIndex: Return projects array
ProjectsIndex->>ProjectsIndex: Sort projects (ongoing, endDate DESC, startDate DESC, repoStars DESC)
ProjectsIndex->>ProjectCard: Render ProjectCard for each project
ProjectCard-->>Browser: Render card UI
Browser-->>User: Display projects list
rect rgba(100, 150, 200, 0.5)
Note over User,ProjectCard: User clicks a project card
end
User->>Browser: Navigate to /projects/[slug]
Browser->>ProjectsIndex: Mount detail page
ProjectsIndex->>ContentAPI: useAsyncData(slug) -> fetch project
ContentAPI-->>ProjectsIndex: Return project data
ProjectsIndex->>ProjectsIndex: Set SEO & OG metadata (title, description, OG image)
ProjectsIndex-->>Browser: Render project detail, content, media, testimonials
Browser-->>User: Display project page
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@app/components/content/ProjectCard.vue`:
- Around line 37-40: The v-if on the stars span currently hides zero values
because it relies on truthiness; change the check to explicitly test for
null/undefined so 0 renders. Update the conditional around the span that
references project.repoStars (in ProjectCard.vue) to use an explicit
null/undefined check (e.g., project.repoStars != null or project.repoStars !==
null && project.repoStars !== undefined) so valid 0 is displayed while still
omitting absent data.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yml
Review profile: ASSERTIVE
Plan: Lite
Run ID: adbeeb3e-9988-42d9-b27e-3403d305962f
📒 Files selected for processing (15)
app/components/OgImage/OgImageProject.vueapp/components/OgImage/components/OgImageCategoryLabel.vueapp/components/OgImage/components/OgImageDescription.vueapp/components/content/ProjectCard.vueapp/components/layout/SiteHeader.vueapp/pages/projects/[slug].vueapp/pages/projects/index.vuecontent.config.tscontent/projects/fmadb.mdcontent/projects/gltf-type-toolkit.mdcontent/projects/quick-conf.mdcontent/projects/scroll-persistence.mdcontent/projects/stage-flow-tools.mdcontent/projects/todde-tv.mdcontent/projects/zlig.md
This was referenced May 18, 2026
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.
This PR expands the portfolio's content by adding projects. It also includes the necessary UI components, pages, and OG image templates to support this new content type.
Summary by CodeRabbit
New Features
Content
Navigation