mirror of
https://git.hexahost.dev/smueller/HexaHost-Frontend.git
synced 2026-06-02 06:58:43 +00:00
Refactor product pages to utilize dynamic content: Updated mail-gateway.php, vpc.php, vps.php, and webhosting.php to replace static text with dynamic PHP variables for product names, descriptions, and call-to-action elements. This change enhances maintainability and allows for easier updates to product information.
This commit is contained in:
@@ -27,12 +27,11 @@ includeHeader($page_title, $page_description, $current_page);
|
||||
]);
|
||||
?>
|
||||
<h1 class="product-hero-title">
|
||||
Virtual Private Server
|
||||
<span class="highlight">auf Proxmox KVM</span>
|
||||
<?php echo htmlspecialchars($product['name']); ?>
|
||||
<span class="highlight"><?php echo htmlspecialchars($product['hero_highlight'] ?? ''); ?></span>
|
||||
</h1>
|
||||
<p class="product-hero-description">
|
||||
Maximale Flexibilität und Kontrolle mit vollwertiger KVM-Virtualisierung.
|
||||
Installieren Sie jedes Betriebssystem und genießen Sie vollständigen Root-Zugriff.
|
||||
<?php echo htmlspecialchars($product['hero_description'] ?? $product['description']); ?>
|
||||
</p>
|
||||
<div class="product-hero-features">
|
||||
<div class="hero-feature">
|
||||
@@ -68,9 +67,9 @@ includeHeader($page_title, $page_description, $current_page);
|
||||
<section class="packages">
|
||||
<div class="container">
|
||||
<div class="section-header">
|
||||
<h2 class="section-title">VPS Pakete</h2>
|
||||
<h2 class="section-title"><?php echo htmlspecialchars($product['packages_title'] ?? ($product['short_name'] . ' Pakete')); ?></h2>
|
||||
<p class="section-description">
|
||||
Wählen Sie das perfekte VPS-Paket für Ihre Anforderungen
|
||||
<?php echo htmlspecialchars($product['packages_description'] ?? 'Wählen Sie das passende Paket für Ihre Anforderungen'); ?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="packages-grid">
|
||||
@@ -169,8 +168,8 @@ includeHeader($page_title, $page_description, $current_page);
|
||||
<section class="cta">
|
||||
<div class="container">
|
||||
<div class="cta-content glass-card">
|
||||
<h2>Bereit für Ihren VPS?</h2>
|
||||
<p>Starten Sie noch heute mit einem Virtual Private Server</p>
|
||||
<h2><?php echo htmlspecialchars($product['cta_title'] ?? ('Bereit für ' . $product['name'] . '?')); ?></h2>
|
||||
<p><?php echo htmlspecialchars($product['cta_description'] ?? ('Starten Sie noch heute mit ' . $product['name'])); ?></p>
|
||||
<div class="cta-actions">
|
||||
<a href="contact.php?product=vps" class="btn btn-primary">Jetzt bestellen</a>
|
||||
<a href="/contact" class="btn btn-secondary">Beratung anfordern</a>
|
||||
|
||||
Reference in New Issue
Block a user