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

@@ -17,7 +17,7 @@ interface Props {
description?: string;
}
const { siteConfig, themeConfig } = loadWaasConfigs();
const { siteConfig, themeConfig } = loadWaasConfigs(Astro.request.headers.get('user-agent') ?? '');
const activePreset = THEME_PRESETS[themeConfig.activePreset] || THEME_PRESETS.corporateDark;
const colors = activePreset.colors;