feat(cms): hosting plans page with lifecycle gate and net + VAT prices (MITHOME-130)
CI Pipeline with Test Management / 🧪 Run Tests & Generate Reports (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 🧪 Run Tests & Generate Reports (push) Canceled after 0s
CI Pipeline with Test Management / 🐳 Docker Integration Tests (push) Canceled after 0s
CI Pipeline with Test Management / 🏗️ Build Docker Image (push) Canceled after 0s
CI Pipeline with Test Management / 📊 Generate Test Summary (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 📊 Analyze Test Coverage (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 🔄 Sync with Linear (push) Canceled after 0s
Test Reporting & Gherkin Analysis / ⚡ Performance Monitoring (push) Canceled after 0s

- Products collection (interim mirror of the PLATFM-14 catalogue contract):
  lifecycle status, product type, required whole-forint net price, yearly
  billing, service definition, per-product English gate
- HostingPlans global: page copy, comparison labels, VAT rate (27%)
- Gate: production shows only active plans, staging all but retired; with no
  showable plan the page is 404 and left out of the menu and the sitemap
- /hu/tarhely-csomagok <-> /en/hosting-plans via PAGE_SLUGS (hreflang,
  language switcher, CTA page picker)
- Seed migration 20260929_hosting_plans: mIT Start (14 900 Ft/yr, 5 mailboxes)
  and mIT Mid (23 900 Ft/yr) as drafts, English AI draft; idempotent
- Production SEO suite expects at least 12 sitemap URLs; new SMOKE-10

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Do Siki
2026-09-29 19:36:44 +02:00
co-authored by Claude Opus 5.5
parent 0c5888761b
commit 1e0742a548
26 changed files with 1114 additions and 32 deletions
+3 -1
View File
@@ -17,13 +17,15 @@ export function isLocale(value: string): value is Locale {
}
/** A catch-all [slug] route alá tartozó oldalak azonosítói. */
export type PageKey = 'about' | 'services' | 'contact' | 'privacy' | 'terms'
export type PageKey = 'about' | 'services' | 'hostingPlans' | 'contact' | 'privacy' | 'terms'
/** Nyelvenkénti szlög minden oldalhoz — a nyelvváltó (MITHOME-115) és a
* sitemap/hreflang (MITHOME-116) is ezt a táblát fogja használni. */
export const PAGE_SLUGS: Record<PageKey, Record<Locale, string>> = {
about: { hu: 'rolunk', en: 'about' },
services: { hu: 'szolgaltatasok', en: 'services' },
// MITHOME-130: only reachable while a showable plan exists (src/lib/products.ts).
hostingPlans: { hu: 'tarhely-csomagok', en: 'hosting-plans' },
contact: { hu: 'kapcsolat', en: 'contact' },
privacy: { hu: 'adatvedelem', en: 'privacy-policy' },
terms: { hu: 'felhasznalasi-feltetelek', en: 'terms-of-service' },