sveltejs / site-kit

MIT License
200 stars 65 forks source link

chore: Refactor banner, stricter #259

Closed PuruVJ closed 11 months ago

PuruVJ commented 11 months ago

Refactors Banners component to do the gruntwork, Banner is now responsible only for changing the local persistence.

Added in error in case any two banners have overlapping timeframes. This will fail the build completely

Also exposes a new method: defineBanner

changeset-bot[bot] commented 11 months ago

🦋 Changeset detected

Latest commit: bf39fe23e11b7029383db44731555b9446583465

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------------------ | ----- | | @sveltejs/site-kit | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR