Skip to content

michal-cecko/kima

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KIMA — sladká chuť tradície

Static-ish PHP marketing site for KIMA, a Slovak family confectionery producing traditional sweets since 1989.

Showcases: Turkish honey, Košice honey, kokosový kmeň, grilážky, and seasonal specialties.

Stack

  • PHP (no framework — include 'includes/header.php' pattern)
  • PHPMailer for the contact form
  • Composer for the one dependency (PHPMailer)
  • Vanilla CSS + custom assets (no build step)

Layout

├── index.php                  # homepage with product category sections
├── produkty.php               # /produkty?kategoria=X — product catalog page
├── includes/
│   ├── header.php
│   ├── footer.php
│   └── email.php              # POST handler for contact form (PHPMailer over SMTP)
├── assets/
│   ├── images/                # product photos, hero backgrounds
│   ├── css/
│   └── js/
└── composer.json              # PHPMailer ^7.0

Local dev

composer install
php -S localhost:8000          # built-in dev server

Then open http://localhost:8000.

Contact form env vars

The contact form (includes/email.php) reads SMTP credentials from environment variables. Set them on the host:

SMTP_HOST=mail.webglobe.sk
SMTP_PORT=587
SMTP_USERNAME=<inbox-email>
SMTP_PASSWORD=<smtp-password>

Deploy

Static-ish — drop on any PHP-capable host. No build step.

License

MIT © Michal Čečko

About

Static-ish PHP marketing site for KIMA, a Slovak family confectionery — since 1989

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors