Files
HexaHost-Frontend/README.md
2026-04-09 15:27:44 +02:00

285 lines
8.8 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# HexaHost.de - Frontend
Eine moderne und umfangreiche Website für das Hosting-Unternehmen HexaHost.de aus Niederbayern.
> **Hinweis:** Dieses Projekt benötigt das [HexaHost-Backend](https://git.hexahost.dev/smueller/HexaHost-Backend) Repository für die vollständige Funktionalität. Das Backend enthält wiederverwendbare PHP-Templates, JavaScript-Module, CSS-Styles und Konfigurationsdateien.
## 🚀 Features
- **Moderne Glasmorphism-Optik** mit lila/violetten Farbschema
- **Responsive Design** für alle Geräte
- **Vollständige Produktpräsentation** für alle Hosting-Lösungen
- **Interaktive Kontaktformulare** mit E-Mail-Versand
- **SEO-optimiert** mit Meta-Tags, Sitemap und robots.txt
- **Accessibility-Features** für bessere Nutzbarkeit
- **Cookie-Consent-Banner** DSGVO-konform
- **Rechtliche Seiten** (Impressum, Datenschutz, AGB)
## 📦 Produkte
### Virtual Private Container (VPC)
- Effiziente LXC-Container auf Proxmox-Basis
- 4 verschiedene Pakete (Starter bis Enterprise)
- Ab 4,99€/Monat
### Virtual Private Server (VPS)
- Vollwertige KVM-Virtualisierung
- Alle Betriebssysteme unterstützt
- 4 verschiedene Pakete (Basic bis Enterprise)
- Ab 9,99€/Monat
### Mail Gateway
- Professioneller E-Mail-Schutz
- Spam-, Viren- und Phishing-Filter
- 4 verschiedene Pakete (Starter bis Enterprise)
- Ab 2,99€/Monat
### Webhosting
- Klassisches Hosting mit PHP, MySQL & SSL
- WordPress-ready mit cPanel
- 4 verschiedene Pakete (Starter bis Enterprise)
- Ab 1,99€/Monat
## 🛠️ Technologie-Stack
- **PHP 8.x** - Backend-Verarbeitung
- **HTML5** - Semantisches Markup
- **CSS3** - Moderne Styles mit Custom Properties
- **Vanilla JavaScript** - Keine Framework-Dependencies
- **PHPMailer** - E-Mail-Versand via SMTP
- **Glassmorphism Design** - Moderne Glaseffekte
- **CSS Grid & Flexbox** - Responsive Layouts
- **Inter Font** - Moderne Typografie
## 📁 Projektstruktur
```
HexaHost-Frontend/
├── public/ # Webroot
│ ├── index.php # Startseite
│ ├── vpc.php # Virtual Private Container
│ ├── vps.php # Virtual Private Server
│ ├── mail-gateway.php # Mail Gateway
│ ├── webhosting.php # Webhosting
│ ├── about.php # Über mich
│ ├── contact.php # Kontaktseite
│ ├── contact-handler.php # Kontaktformular-Backend
│ ├── impressum.php # Impressum
│ ├── datenschutz.php # Datenschutzerklärung
│ ├── agb.php # Allgemeine Geschäftsbedingungen
│ ├── 404.php # Fehlerseite 404
│ ├── 500.php # Fehlerseite 500
│ ├── robots.txt # SEO Robots
│ ├── sitemap.xml # SEO Sitemap
│ ├── favicon.svg # Website Icon
│ ├── .htaccess # Apache Konfiguration
│ ├── composer.json # PHP Dependencies
│ ├── config/ # ⬅ vom Backend
│ │ ├── config.php # Allgemeine Konfiguration
│ │ └── mail-config.php # E-Mail-Konfiguration
│ ├── includes/ # ⬅ vom Backend
│ │ ├── header.php # Header-Template
│ │ ├── footer.php # Footer-Template
│ │ └── functions.php # Hilfsfunktionen
│ └── assets/ # ⬅ vom Backend
│ ├── css/
│ │ └── style.css # Hauptstyles
│ └── js/
│ ├── main.js # Haupt-JavaScript
│ ├── contact.js # Kontaktformular-Logik
│ └── cookie-consent.js # Cookie-Banner
├── docs/ # Dokumentation
│ ├── KONTAKTFORMULAR-STATUS.md
│ ├── README-EMAIL-SETUP.md
│ ├── README-OPTIMIZATION.md
│ └── README-STRUCTURE.md
├── scripts/
│ └── test-email.php # E-Mail-Test-Script
├── .github/
│ └── ISSUE_TEMPLATE/ # GitHub Issue Templates
├── .gitignore # Git Ignore Rules
└── README.md # Diese Datei
```
> 📌 Die mit `⬅ vom Backend` markierten Ordner werden aus dem [HexaHost-Backend](../HexaHost-Backend) Repository kopiert.
## 🎨 Design-System
### Farben
- **Background**: `#0d0821` (Dunkelviolett/Navy)
- **Primary**: `#ff51f9` (Neonpink)
- **Accent 1**: `#a348ff` (Lila)
- **Accent 2**: `#3978ff` (Blau)
### Typografie
- **Logo Font**: Russo One
- **Slogan Font**: Source Sans Pro
- **Body Font**: Inter
- **Weights**: 300, 400, 500, 600, 700
### Effekte
- **Glassmorphism**: `backdrop-filter: blur(10px)`
- **Transitions**: `0.3s ease-in-out`
- **Border Radius**: `0.75rem - 1.5rem`
- **Neon Effects**: Neonpink und Lila-Gradienten
## 🚀 Installation & Verwendung
### Voraussetzungen
- PHP 8.0 oder höher
- Composer (für PHPMailer)
- Apache mit mod_rewrite (für .htaccess)
- [HexaHost-Backend](../HexaHost-Backend) Repository
### Installation
1. **Repositories klonen**
```bash
git clone <frontend-repository-url> HexaHost-Frontend
git clone <backend-repository-url> HexaHost-Backend
```
2. **Backend-Dateien integrieren**
```bash
# Aus dem Projekt-Root-Verzeichnis
cp -r HexaHost-Backend/assets/* HexaHost-Frontend/public/assets/
cp -r HexaHost-Backend/config/* HexaHost-Frontend/public/config/
cp -r HexaHost-Backend/includes/* HexaHost-Frontend/public/includes/
```
3. **PHP Dependencies installieren**
```bash
cd HexaHost-Frontend/public
composer install
```
4. **Konfiguration anpassen**
```bash
# mail-config.php mit SMTP-Daten bearbeiten
nano config/mail-config.php
```
5. **Lokaler Development Server**
```bash
php -S localhost:8000 -t public
```
6. **Website öffnen**
```
http://localhost:8000
```
### Produktion
Für den Produktivbetrieb `public/` als Webroot konfigurieren.
## 🔗 Backend-Integration
Das Backend-Repository enthält folgende wiederverwendbare Komponenten:
| Komponente | Pfad | Beschreibung |
|------------|------|--------------|
| **CSS** | `assets/css/style.css` | Haupt-Stylesheet mit Design-System |
| **JavaScript** | `assets/js/*.js` | Navigation, Kontaktformular, Cookie-Banner |
| **PHP-Templates** | `includes/*.php` | Header, Footer, Hilfsfunktionen |
| **Konfiguration** | `config/*.php` | SMTP, E-Mail, Sicherheit |
Detaillierte Informationen zu den Backend-Komponenten finden Sie in der [Backend-README](../HexaHost-Backend/README.md).
## 📧 E-Mail-Konfiguration
Die E-Mail-Funktionalität benötigt eine SMTP-Konfiguration in `public/config/mail-config.php`:
```php
define('SMTP_HOST', 'mail.example.com');
define('SMTP_PORT', 587);
define('SMTP_USER', 'noreply@hexahost.de');
define('SMTP_PASS', 'your-password');
```
Siehe `docs/README-EMAIL-SETUP.md` für detaillierte Anweisungen.
## 📱 Responsive Breakpoints
- **Desktop**: > 768px
- **Tablet**: 768px - 480px
- **Mobile**: < 480px
## ✨ Features im Detail
### Navigation
- Sticky Header mit Glaseffekt
- Dropdown-Menü für Produkte
- Mobile Navigation Toggle
- Smooth Scrolling
### Produktseiten
- Detaillierte Paketvergleiche
- Technische Spezifikationen
- Anwendungsbereiche
- Call-to-Action Buttons
### Kontaktformular
- Server-seitige Validierung
- E-Mail-Versand via SMTP
- CSRF-Schutz
- Auto-Fill basierend auf URL-Parametern
- FAQ-Sektion mit Accordion
### Rechtliche Seiten
- Vollständiges Impressum
- DSGVO-konforme Datenschutzerklärung
- Allgemeine Geschäftsbedingungen
- Cookie-Consent-Banner
### Fehlerseiten
- Individuelle 404-Seite
- Individuelle 500-Seite
## 🔧 Anpassungen
### Farben ändern
CSS Custom Properties in `:root` anpassen (in `assets/css/style.css` vom Backend):
```css
:root {
--background-color: #0d0821;
--primary-color: #ff51f9;
--accent-color-1: #a348ff;
--accent-color-2: #3978ff;
/* ... weitere Farben */
}
```
### Inhalte anpassen
Texte und Preise direkt in den PHP-Dateien im `public/`-Verzeichnis ändern.
### Neue Pakete hinzufügen
Paket-Cards in den entsprechenden Produktseiten duplizieren und anpassen.
## 📈 SEO & Performance
- **Meta Tags** für alle Seiten
- **Structured Data** ready
- **Optimierte Bilder** (SVG Icons)
- **Lazy Loading** für Bilder
- **Minifizierte Assets** (optional)
- **robots.txt** und **sitemap.xml**
## 🌐 Browser-Unterstützung
- Chrome/Edge 88+
- Firefox 78+
- Safari 14+
- Mobile Browser (iOS Safari, Chrome Mobile)
## 📄 Lizenz
Alle Rechte vorbehalten HexaHost.de
## 🤝 Beitragen
Für Verbesserungsvorschläge oder Bug-Reports bitte ein Issue erstellen.
---
**HexaHost.de** - Zuverlässiges Hosting aus Niederbayern 🚀