feat(waas-engine): add editable Header, Footer & Glassmorphism design controls in editor Inspector
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
---
|
||||
// src/components/Footer.astro
|
||||
import { loadWaasConfigs } from '../utils/configLoader';
|
||||
|
||||
const { siteConfig } = loadWaasConfigs();
|
||||
const footer = siteConfig.footer || {
|
||||
brandDescription: 'Ihr Partner für professionelles Webdesign, Website-Entwicklung und lokale SEO für Kleinbetriebe & KMU.',
|
||||
copyrightText: 'N&D i-t SOLUTIONS. Alle Rechte vorbehalten.',
|
||||
showLegalLinks: true
|
||||
};
|
||||
const currentYear = new Date().getFullYear();
|
||||
---
|
||||
|
||||
@@ -10,10 +18,10 @@ const currentYear = new Date().getFullYear();
|
||||
<!-- Brand logo/name -->
|
||||
<div>
|
||||
<a href="#" class="text-lg font-bold tracking-wider text-slate-900 dark:text-white">
|
||||
N&D <span class="text-brand-arcticBlue">i-t SOLUTIONS</span>
|
||||
{siteConfig.header?.brandName || 'N&D'} <span class="text-brand-arcticBlue">{siteConfig.header?.brandHighlight || 'i-t SOLUTIONS'}</span>
|
||||
</a>
|
||||
<p class="mt-2 text-xs text-slate-500 dark:text-gray-500 max-w-sm">
|
||||
Ihr Partner für professionelles Webdesign, Website-Entwicklung und lokale SEO für Kleinbetriebe & KMU.
|
||||
{footer.brandDescription}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -31,13 +39,15 @@ const currentYear = new Date().getFullYear();
|
||||
<!-- Bottom Copyright & Legal Links -->
|
||||
<div class="flex flex-col sm:flex-row items-center justify-between gap-4 text-xs text-slate-500 dark:text-gray-500">
|
||||
<div>
|
||||
© {currentYear} N&D i-t SOLUTIONS. Alle Rechte vorbehalten.
|
||||
</div>
|
||||
<div class="flex gap-6">
|
||||
<a href="/privacy" class="hover:text-slate-900 dark:hover:text-white transition-colors">Datenschutz</a>
|
||||
<span class="text-slate-300 dark:text-white/10">|</span>
|
||||
<a href="/privacy#impressum" class="hover:text-slate-900 dark:hover:text-white transition-colors">Impressum</a>
|
||||
© {currentYear} {footer.copyrightText}
|
||||
</div>
|
||||
{footer.showLegalLinks !== false && (
|
||||
<div class="flex gap-6">
|
||||
<a href="/privacy" class="hover:text-slate-900 dark:hover:text-white transition-colors">Datenschutz</a>
|
||||
<span class="text-slate-300 dark:text-white/10">|</span>
|
||||
<a href="/privacy#impressum" class="hover:text-slate-900 dark:hover:text-white transition-colors">Impressum</a>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user