Public Website (planovi.app) & Status Page
planovi-webpage powers the public marketing site (https://planovi.app and https://dev-webpage.planovi.app), served directly by the php-app container on the Hostinger VPS.
Where Is It in Code?
| Feature / Task | Exact File / Path (planovi-webpage) |
|---|---|
| Main landing page & reusable UI sections | index.php, components/, css/, js/ |
| URL routing & clean paths | router.php, .htaccess |
Bilingual Polish / English (pl / en) translations | i18n.php, lang/ |
| Contact & lead form submission (Cloudflare Turnstile verification) | contact-handler.php |
| Blog listing & individual articles | blog.php, blog-post.php |
| Public legal documents & PDF viewer | documentation.php, docs.php, documents/ |
| Cookie consent banner | cookie-banner.php |
| Environment configuration template | config.example.php (production config.php lives on VPS, never commit secrets) |
Brand assets synced from planovi-docs/brand-kit | assets/ (run ./brand-kit/sync-brand.sh from planovi-docs to update) |
Deploying & Debugging
- Pushing to
developupdateshttps://dev-webpage.planovi.appimmediately (~5s). - Pushing to
mainupdateshttps://planovi.appimmediately (~5s). - Important: Because
planovi-webpageis Zone 1 (Platform UI), keep colors aligned with the Brand & Design Playbook (#09090B/#121215dark,#FAFAFAlight,#32CA42brand green). - Check PHP errors on VPS:
Terminal window docker logs --tail 100 php-app