feat(web): new look option for slideshow (#8924)

feat: new look option for slideshow
This commit is contained in:
martin 2024-04-21 06:06:49 +02:00 committed by GitHub
parent a93534fc3c
commit 7d4187962a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 25 additions and 6 deletions

View file

@ -16,11 +16,13 @@ export enum SlideshowNavigation {
export enum SlideshowLook {
Contain = 'contain',
Cover = 'cover',
BlurredBackground = 'blurred-background',
}
export const slideshowLookCssMapping: Record<SlideshowLook, string> = {
[SlideshowLook.Contain]: 'object-contain',
[SlideshowLook.Cover]: 'object-cover',
[SlideshowLook.BlurredBackground]: 'object-contain',
};
function createSlideshowStore() {