Feature EV charging data case study and surface projects earlier - #13
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e7188ee643
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| openGraph: { title, description, type: "article", url: path, siteName: SITE.shortTitle }, | ||
| twitter: { card: "summary_large_image", title, description }, |
There was a problem hiding this comment.
Preserve the social image in the case-study metadata
When this case-study URL is shared, the page-level openGraph and twitter objects replace the corresponding root metadata objects, so the generated HTML contains neither og:image nor twitter:image even though the Twitter card requests summary_large_image. Add an image to both page-level objects (or reuse the site's existing Open Graph image) so social crawlers can render the intended preview.
Useful? React with 👍 / 👎.
Motivation
v0.1.0.Description
portfolio/data/projects.tsforev-charging-unified-schemaand marked itfeatured: trueso it renders as the flagship card in the canonical project collection./projects/ev-charging-data-unified-schemainportfolio/app/projects/ev-charging-data-unified-schema/page.tsx, including canonical metadata, Open Graph/Twitter fields, accessible evidence links (repository, dbt docs, findings), the full approved case-study content, and a visibleAs of v0.1.0scope line.ProjectsbeforeExperienceinportfolio/app/page.tsx, updatedNavigationordering inportfolio/components/Navigation.tsx, and added the new route to the sitemap inportfolio/app/sitemap.ts.ProjectActionhandling and internal-link support inportfolio/components/Projects.tsx, created compact case-study helpers (EvidenceLinks,Section,FindingBlock) in the new page, and added scoped case-study CSS inportfolio/app/globals.csswithout changing the overall visual system.v0.1.0.Testing
npm run check:publicationandnpm run check:publication:build, both of which passed.npm run lint,npm run type-check, andnpm testwherenpm testexecuted the content-contract suite (12 tests) and all passed.npm run buildandnpm run test:e2e, where the production build completed and the end-to-end checks (homepage order, sitemap, canonical metadata, and the EV case-study route) passed; all commands reported success in this environment.Codex Task