Enhance project structure and functionality by adding new components and integrations. Updated .gitignore to exclude history and transformed images. Integrated Svelte, sitemap, and icon support in astro.config.mjs. Added multiple new components including BlogOverview, ContentRows, Footer, Header, and various block components for improved content management. Updated package.json with new dependencies and modified scripts for build and development processes.

This commit is contained in:
Peter Meier
2026-02-22 12:14:43 +01:00
parent 054b5719e5
commit bb6ec20d45
52 changed files with 12536 additions and 179 deletions
+12
View File
@@ -0,0 +1,12 @@
/**
* Iconify Offline: MDI-Collection für Server und Client registrieren.
* Muss an zwei Stellen importiert werden (Side-Effect-Import), damit
* <Icon icon="mdi:…" /> überall gleich rendert (kein Hydration-Mismatch):
* 1. Layout.astro (--- Block) → läuft beim SSR
* 2. Header.svelte (oder andere frühe client:load-Komponente) → läuft im Browser
* Danach können alle Svelte-Komponenten Icon ohne API nutzen.
*/
import { addCollection } from "@iconify/svelte";
import { icons as mdiIcons } from "@iconify-json/mdi";
addCollection(mdiIcons);