Skip to content

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 / TaskExact File / Path (planovi-webpage)
Main landing page & reusable UI sectionsindex.php, components/, css/, js/
URL routing & clean pathsrouter.php, .htaccess
Bilingual Polish / English (pl / en) translationsi18n.php, lang/
Contact & lead form submission (Cloudflare Turnstile verification)contact-handler.php
Blog listing & individual articlesblog.php, blog-post.php
Public legal documents & PDF viewerdocumentation.php, docs.php, documents/
Cookie consent bannercookie-banner.php
Environment configuration templateconfig.example.php (production config.php lives on VPS, never commit secrets)
Brand assets synced from planovi-docs/brand-kitassets/ (run ./brand-kit/sync-brand.sh from planovi-docs to update)

Deploying & Debugging

  • Pushing to develop updates https://dev-webpage.planovi.app immediately (~5s).
  • Pushing to main updates https://planovi.app immediately (~5s).
  • Important: Because planovi-webpage is Zone 1 (Platform UI), keep colors aligned with the Brand & Design Playbook (#09090B / #121215 dark, #FAFAFA light, #32CA42 brand green).
  • Check PHP errors on VPS:
    Terminal window
    docker logs --tail 100 php-app