Skip to content

NOISSUE - extract solutions and industries pages to content collections - #68

Merged
dborovcanin merged 1 commit into
mainfrom
simplify-uses
Jun 8, 2026
Merged

NOISSUE - extract solutions and industries pages to content collections#68
dborovcanin merged 1 commit into
mainfrom
simplify-uses

Conversation

@ianmuchyri

Copy link
Copy Markdown
Contributor

What type of PR is this?

This is a refactor — it replaces 13 individual static pages with two dynamic
routes backed by content collections, without changing any rendered output.

What does this do?

  • Adds a shared lensPageSchema to src/content/config.ts for both
    solutions and industries collections (type: "data")
  • Moves all page data from hardcoded .astro props into per-entry .yaml
    files under src/content/solutions/ and src/content/industries/
  • Replaces 13 individual static pages with two dynamic routes:
    src/pages/solutions/[slug].astro and src/pages/industries/[slug].astro

Adding or updating a solution/industry page is now a YAML-only change.

Which issue(s) does this PR fix/relate to?

N/A

Have you included tests for your changes?

No — this is a static site with no test suite for page rendering.

Did you document any new/modified features?

No additional documentation needed; the change is structural only.

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
uvc-website 254be45 Commit Preview URL

Branch Preview URL
Jun 08 2026, 07:39 AM

@dborovcanin
dborovcanin merged commit 23729ab into main Jun 8, 2026
2 checks passed
@dborovcanin
dborovcanin deleted the simplify-uses branch June 8, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants