mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-23 21:28:47 +00:00
docs: image gallery viewer (#905)
* add assets, photoswipe html element to body * add single script, gallery for multiple items * update docs for image gallery * fix relative links * inject image script on mount * replace inline script * remove facebook, twitter, pinterest sharing * fix hover on share * fix start img aspect radio, reduce size * right align json script * right align go script * change script background
This commit is contained in:
@@ -3,9 +3,12 @@ import '../static/base.css';
|
||||
import * as sapper from '@sapper/app';
|
||||
|
||||
import { startClient } from './i18n.js';
|
||||
import { initPhotoSwipeFromDOM } from './utils/photoswipe.js';
|
||||
|
||||
startClient();
|
||||
|
||||
initPhotoSwipeFromDOM('.zitadel-gallery');
|
||||
|
||||
sapper.start({
|
||||
target: document.querySelector('#sapper')
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user