This is the Himmelblau flower shop website, built with SvelteKit and integrated with Sanity CMS for dynamic content management.
- Framework: SvelteKit (Static Site)
- CMS: Sanity.io (for opening hours, events, and image gallery)
- Hosting: GitHub Pages
- Deployment: Automated via GitHub Actions
- Content Updates: Managed through Sanity Studio
cd ~/code/himmelblau
npm install
npm run dev
- Open http://localhost:5173 in your browser.
- The site will load with the latest Sanity content.
- Öffnungszeiten (Opening Hours)
- Events & Announcements
- Image Gallery
- Go to Sanity Studio.
- Edit the content and click Publish.
- The website will automatically fetch updated content.
npm run build
This generates static files in build/
.
Deployment is handled automatically via GitHub Actions whenever changes are pushed to main
.
To trigger a manual deployment:
git push origin main
If the site can’t fetch data from Sanity:
- Go to Sanity API Settings.
- Under CORS Origins, make sure this is added:
https://your-github-username.github.io
- Enable "Allow credentials" if an API token is used.
- Save & refresh the site.
Command | Description |
---|---|
npm install |
Install dependencies. |
npm run dev |
Start local development server. |
npm run build |
Build for production. |
npm run preview |
Preview the production build. |
- Check the Console (
F12 → Console
) if something isn’t loading. - Sanity Studio Issues? Try redeploying:
cd ~/code/himmelblau-cms npm run deploy
- Deployment Issues? Check GitHub Actions logs.
🚀 Happy coding & flower magic! 🌷✨