Repository navigation
Case studies: article cards, JSON-LD, and an index once a study is published - #56
Merged
Merged
Conversation
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.
Item 3 of the marketing brief, building on #40's case studies section.
What changed
/og/case-studies/<name>.png), Article and BreadcrumbList JSON-LD (published =studied), a sitemap entry, and a "Case studies" label linking back to the index.check:seocovers all of it./case-studies/index (src/pages/case-studies/[...index].astro) lists studies newest first. It's built only when at least one study is published, so production ships no empty index while Bootstrap is stilldraft: true. The dev server builds drafts, so the index and the study show there with a draft label.src/lib/case-studies.tsholds the collection query (drafts only in dev), shared by the index, the study pages and the card list.content.config.ts:z.string().url()becomesz.url(), which clears Zod's deprecation warning (the compare collection already usesz.url()).docs/README.mddescribes the index rule.The study text is #40's, unchanged: replay figures stay labelled as estimates, and
cigen replayis described as not released.Checks
task cipasses with no warnings.pnpm checkreports 0 errors and 0 warnings, andcheck:seopasses on 21 pages (no case-study pages in production yet).Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.