Преглед на файлове

adding disclaimer and legal links to site

Medowar преди 1 месец
родител
ревизия
ea36c4ceb4
променени са 3 файла, в които са добавени 48 реда и са изтрити 0 реда
  1. 36 0
      assets/css/style.css
  2. 7 0
      includes/footer.php
  3. 5 0
      index.php

+ 36 - 0
assets/css/style.css

@@ -348,6 +348,20 @@ body.admin-page .container {
     border-color: var(--brand-accent);
 }
 
+/* Main page disclaimer */
+.disclaimer-box {
+    margin: 1rem 0 1.5rem;
+    padding: 1rem;
+    border: 1px solid var(--brand-border);
+    border-left: 4px solid var(--brand-accent);
+    background: var(--brand-surface);
+    border-radius: 6px;
+}
+
+.disclaimer-box p + p {
+    margin-top: 0.4rem;
+}
+
 /* Footer */
 footer {
     background-color: var(--brand-primary);
@@ -357,6 +371,23 @@ footer {
     margin-top: 3rem;
 }
 
+.footer-links {
+    margin-top: 0.8rem;
+    display: flex;
+    flex-wrap: wrap;
+    justify-content: center;
+    gap: 0.5rem 1rem;
+}
+
+.footer-links a {
+    color: #ffffff;
+    text-decoration: underline;
+}
+
+.footer-links a:hover {
+    color: var(--brand-accent);
+}
+
 /* Reservation Code */
 .order-number {
     background: var(--brand-surface-alt);
@@ -549,6 +580,11 @@ footer {
         gap: 1rem;
     }
 
+    .footer-links {
+        flex-direction: column;
+        align-items: center;
+    }
+
     .brand-logo {
         height: 46px;
     }

+ 7 - 0
includes/footer.php

@@ -3,6 +3,13 @@
     <footer>
         <div class="container">
             <p>&copy; <?php echo date('Y'); ?> <?php echo SITE_NAME; ?>. Alle Rechte vorbehalten.</p>
+            <nav class="footer-links" aria-label="Rechtliche Hinweise">
+                <a href="https://example.com/impressum">Impressum</a>
+                <a href="https://example.com/datenschutz">Datenschutzerklaerung</a>
+                <a href="https://example.com/widerruf">Widerrufsbelehrung</a>
+                <a href="https://example.com/agb">AGB</a>
+                <a href="https://example.com/versand-zahlung">Versand und Zahlungsbedingungen</a>
+            </nav>
         </div>
     </footer>
 </body>

+ 5 - 0
index.php

@@ -18,6 +18,11 @@ include __DIR__ . '/includes/header.php';
 
 <h2>Unsere Produkte</h2>
 
+<div class="disclaimer-box">
+    <p>Hinweis (Mustertext): Diese Inhalte dienen aktuell nur als Platzhalter.</p>
+    <p>Hinweis (Mustertext): Rechtlich verbindliche Informationen folgen in Kuerze.</p>
+</div>
+
 <div style="margin: 1.5rem 0;">
     <a href="?category=" class="btn btn-small <?php echo $category === '' ? '' : 'btn-secondary'; ?>">Alle</a>
     <a href="?category=apparel" class="btn btn-small <?php echo $category === 'apparel' ? '' : 'btn-secondary'; ?>">Bekleidung</a>