mirror of
https://git.hexahost.dev/smueller/HexaHost-Frontend.git
synced 2026-06-02 05:48:43 +00:00
Refactor configuration files for HexaHost.de: Updated mail and product configuration files to improve clarity and maintainability. Added deprecation notices in the old config file, migrated email handling to a new structure, and enhanced documentation for better understanding. Improved header comments across various public pages for better organization and readability.
This commit is contained in:
@@ -4,18 +4,18 @@ require_once __DIR__ . '/../backend/config/contact-config.php';
|
||||
|
||||
$preselected_subject = getPreselectedContactSubject();
|
||||
|
||||
|
||||
// Page configuration
|
||||
$page_title = 'Kontakt - HexaHost.de | Hosting aus Niederbayern';
|
||||
$page_description = 'Kontaktieren Sie HexaHost.de - Ihr Hosting-Partner aus Niederbayern. Persönlicher Support und kompetente Beratung.';
|
||||
$current_page = 'contact';
|
||||
$additional_scripts = ['assets/js/contact.js'];
|
||||
|
||||
|
||||
// Include header
|
||||
includeHeader($page_title, $page_description, $current_page, $additional_scripts);
|
||||
?>
|
||||
|
||||
<main id="main-content">
|
||||
|
||||
<!-- Contact Hero -->
|
||||
<section class="contact-hero">
|
||||
<div class="container">
|
||||
<div class="contact-hero-content">
|
||||
@@ -36,7 +36,7 @@ includeHeader($page_title, $page_description, $current_page, $additional_scripts
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<!-- Contact Options -->
|
||||
<section class="contact-options">
|
||||
<div class="container">
|
||||
<div class="contact-grid">
|
||||
@@ -88,7 +88,7 @@ includeHeader($page_title, $page_description, $current_page, $additional_scripts
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<!-- Contact Form -->
|
||||
<section class="contact-form-section">
|
||||
<div class="container">
|
||||
<div class="form-container">
|
||||
@@ -100,7 +100,7 @@ includeHeader($page_title, $page_description, $current_page, $additional_scripts
|
||||
</div>
|
||||
<form class="contact-form glass-card" id="contactForm" action="contact-handler.php" method="POST">
|
||||
<input type="hidden" name="csrf_token" value="<?php echo generateCSRFToken(); ?>">
|
||||
|
||||
<!-- Honeypot-Feld für Bot-Schutz (versteckt via CSS) -->
|
||||
<div style="position: absolute; left: -9999px;" aria-hidden="true">
|
||||
<input type="text" name="website" tabindex="-1" autocomplete="off">
|
||||
</div>
|
||||
@@ -156,7 +156,7 @@ includeHeader($page_title, $page_description, $current_page, $additional_scripts
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<!-- FAQ Section -->
|
||||
<section class="faq-section">
|
||||
<div class="container">
|
||||
<div class="section-header">
|
||||
@@ -224,7 +224,7 @@ includeHeader($page_title, $page_description, $current_page, $additional_scripts
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<!-- Response Time -->
|
||||
<section class="response-time">
|
||||
<div class="container">
|
||||
<div class="response-content glass-card">
|
||||
@@ -252,6 +252,6 @@ includeHeader($page_title, $page_description, $current_page, $additional_scripts
|
||||
</main>
|
||||
|
||||
<?php
|
||||
|
||||
// Include footer
|
||||
includeFooter();
|
||||
?>
|
||||
Reference in New Issue
Block a user