Add Learn page and integrate with sitemap and footer#1211
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
7 Skipped Deployments
|
🦋 Changeset detectedLatest commit: cbff537 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
… replace InfinitePostGrid with PostCard component
…nd set dynamic revalidation for Learn page
…om Ghost, including sitemap entry, footer link, and i18n messages
ff3d332 to
c62d8ad
Compare
There was a problem hiding this comment.
Pull request overview
Adds a new /learn page on status.app that surfaces Ghost posts tagged status-insights, wires the page into the sitemap and the footer, and adds the corresponding i18n strings. Posts continue to be served at /blog/[slug] so canonical URLs remain stable; the new page is only a curated landing view.
Changes:
- New
/learnroute (and[locale]re-export) rendering a grid of "Status Insights" posts from Ghost. - New Ghost helpers (
getLearnPosts,getLearnPostsForSitemap) plus a dedicatedghostLiveclient usingcache: 'no-store';status-insightsexcluded from default blog/tag listings. - Footer link,
nav.learn+learni18n messages, sitemap entry for/learnand dynamic learn-post URLs.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| apps/status.app/src/app/(website)/learn/page.tsx | New Learn landing page rendering posts via PostCard. |
| apps/status.app/src/app/[locale]/(website)/learn/page.tsx | Locale re-export wrapper for the Learn page. |
| apps/status.app/src/app/(website)/_lib/ghost/index.ts | Adds LEARN_TAG, no-store Ghost client, and learn fetchers; excludes tag from default listings. |
| apps/status.app/src/app/(website)/_components/footer/index.tsx | Adds footer Learn link (hidden on get site). |
| apps/status.app/src/app/sitemap.ts | Includes /learn static path and learn post URLs in the sitemap. |
| apps/status.app/messages/en.json | Adds nav.learn and learn.* translation strings. |
| .changeset/brisk-otters-wander.md | Changeset describing the feature. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Add the
/learnpage displating Ghost blog with status-insights tagRelevant issue
#1193
Preview
https://status-website-git-statusapp-insights-status-im-web.vercel.app/learn