feat: implement device-specific configurations for desktop, tablet, and mobile
All checks were successful
Production Build & Deploy / build-and-deploy (push) Successful in 57s

This commit is contained in:
Daniel S
2026-08-09 12:35:46 +02:00
parent eb4bb601d7
commit b159b061ae
14 changed files with 61 additions and 21 deletions

View File

@@ -2,7 +2,7 @@
// src/components/Footer.astro
import { loadWaasConfigs } from '../utils/configLoader';
const { siteConfig } = loadWaasConfigs();
const { siteConfig } = loadWaasConfigs(Astro.request.headers.get('user-agent') ?? '');
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.',

View File

@@ -3,7 +3,7 @@
import { FaBars, FaTimes } from 'react-icons/fa';
import { loadWaasConfigs } from '../utils/configLoader';
const { siteConfig } = loadWaasConfigs();
const { siteConfig } = loadWaasConfigs(Astro.request.headers.get('user-agent') ?? '');
const header = siteConfig.header || {
brandName: 'N&D',
brandHighlight: 'i-t SOLUTIONS',