ReviewOS

also looking at this

stacks/uplink

fix(site): derive the structured data, and give every head the same colours

#61
Merged glennmichael123 wants to merge fix/site-identity into main
8 files +14 -68
resources/partials/site-head.stxmodified+7-2
Changes to resources/partials/site-head.stx
@@ -7,7 +7,10 @@
77// The preview cards are generated from config/images.ts by
88// `buddy generate:images`: one per page that has its own, else the site card.
99// The prices in the structured data come from the same plans the pricing
10// page renders, so a search result can never quote an old price.
10// page renders, and the version and the macOS floor come from the same
11// release.json the download button reads, so a search result can never quote
12// an old price or a version nobody can download.
13import release from '../data/release.json'
1114import { PLANS } from '../../app/Billing/plans'
1215
1316const origin = 'https://uplink.stacksjs.com'
@@ -26,8 +29,10 @@ const software = {
2629 'url': origin,
2730 'description': 'Text your Mac from anywhere, even over satellite, and Claude Code or Codex answers by text.',
2831 'applicationCategory': 'DeveloperApplication',
29 'operatingSystem': 'macOS 13 or later',
32 'operatingSystem': `macOS ${release.minimumMacOS} or later`,
33 'softwareVersion': release.version,
3034 'image': `${origin}/social/og.png`,
35 'sameAs': ['https://github.com/stacksjs/uplink'],
3136 // Stored in cents; schema.org wants the decimal amount.
3237 'offers': PLANS.map(plan => ({
3338 '@type': 'Offer',