Skip to content

easy-web

A shared library for building ismaili.de web instances with Astro

The easy-web library consists of several focused packages:

| Package | Description | | ------- | ----------- | | @easy-web/theme-core | CSS design tokens, light/dark theme, no-flash script | | @easy-web/i18n | i18n helpers for Astro sites | | @easy-web/content-blocks | Hero, Section, CardGrid, Card, Header, Footer, ThemeToggle | | @easy-web/auth | MSAL.js authentication, Microsoft Graph integration | | @easy-web/cms-adapters | Decap CMS integration for content management | | @easy-web/create | Scaffold CLI for creating new site instances |

The ismaili.de web ecosystem runs multiple site instances for different organisations. Instead of copy-pasting components between sites, easy-web packages them once — so a bug fix or new feature lands in every instance simultaneously via a version bump.

Terminal window
# Install the theme and core UI components
pnpm add @easy-web/theme-core @easy-web/content-blocks
# Import the theme in your Astro layout
# import '@easy-web/theme-core/theme.css';

See Installation → for the complete setup guide.