├── .npmrc
├── src
├── routes
│ ├── +layout.ts
│ ├── +page.css
│ └── +page.svelte
├── lib
│ ├── index.ts
│ ├── Bullet.svelte
│ ├── LeftNav.svelte
│ ├── RightNav.svelte
│ ├── PlayPause.svelte
│ ├── Fullscreen.svelte
│ ├── types.ts
│ ├── Item.svelte
│ ├── SVG.svelte
│ ├── Thumbnail.svelte
│ ├── app.css.map
│ ├── Slide.svelte
│ ├── SwipeWrapper.svelte
│ ├── ThumbnailSwipeWrapper.svelte
│ ├── ThumbnailWrapper.svelte
│ ├── SlideWrapper.svelte
│ ├── styling.ts
│ ├── app.scss
│ ├── app.css
│ └── ImageGallery.svelte
├── app.html
└── app.d.ts
├── static
├── 1.jpg
├── 10.jpg
├── 11.jpg
├── 12.jpg
├── 1t.jpg
├── 2.jpg
├── 2t.jpg
├── 3.jpg
├── 3t.jpg
├── 4.jpg
├── 4t.jpg
├── 4v.jpg
├── 5.jpg
├── 5t.jpg
├── 6.jpg
├── 6t.jpg
├── 7.jpg
├── 7t.jpg
├── 8.jpg
├── 8t.jpg
├── 9.jpg
├── 9t.jpg
├── 10t.jpg
├── 11t.jpg
├── 12t.jpg
└── favicon.png
├── .vscode
└── settings.json
├── .gitignore
├── vite.config.js
├── .eslintignore
├── .prettierignore
├── .prettierrc
├── svelte.config.js
├── .github
└── workflows
│ ├── lint.yml
│ ├── check.yml
│ └── static.yml
├── tsconfig.json
├── .eslintrc.cjs
├── LICENSE
├── package.json
└── README.md
/.npmrc:
--------------------------------------------------------------------------------
1 | engine-strict=true
2 |
--------------------------------------------------------------------------------
/src/routes/+layout.ts:
--------------------------------------------------------------------------------
1 | export const prerender = true;
2 |
--------------------------------------------------------------------------------
/static/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/1.jpg
--------------------------------------------------------------------------------
/static/10.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/10.jpg
--------------------------------------------------------------------------------
/static/11.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/11.jpg
--------------------------------------------------------------------------------
/static/12.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/12.jpg
--------------------------------------------------------------------------------
/static/1t.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/1t.jpg
--------------------------------------------------------------------------------
/static/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/2.jpg
--------------------------------------------------------------------------------
/static/2t.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/2t.jpg
--------------------------------------------------------------------------------
/static/3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/3.jpg
--------------------------------------------------------------------------------
/static/3t.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/3t.jpg
--------------------------------------------------------------------------------
/static/4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/4.jpg
--------------------------------------------------------------------------------
/static/4t.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/4t.jpg
--------------------------------------------------------------------------------
/static/4v.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/4v.jpg
--------------------------------------------------------------------------------
/static/5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/5.jpg
--------------------------------------------------------------------------------
/static/5t.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/5t.jpg
--------------------------------------------------------------------------------
/static/6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/6.jpg
--------------------------------------------------------------------------------
/static/6t.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/6t.jpg
--------------------------------------------------------------------------------
/static/7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/7.jpg
--------------------------------------------------------------------------------
/static/7t.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/7t.jpg
--------------------------------------------------------------------------------
/static/8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/8.jpg
--------------------------------------------------------------------------------
/static/8t.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/8t.jpg
--------------------------------------------------------------------------------
/static/9.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/9.jpg
--------------------------------------------------------------------------------
/static/9t.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/9t.jpg
--------------------------------------------------------------------------------
/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "[svelte]": {
3 | "editor.tabSize": 2
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/static/10t.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/10t.jpg
--------------------------------------------------------------------------------
/static/11t.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/11t.jpg
--------------------------------------------------------------------------------
/static/12t.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/12t.jpg
--------------------------------------------------------------------------------
/static/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/react2svelte/image-gallery/HEAD/static/favicon.png
--------------------------------------------------------------------------------
/src/lib/index.ts:
--------------------------------------------------------------------------------
1 | // Reexport your entry components here
2 |
3 | import ImageGallery from '$lib/ImageGallery.svelte';
4 |
5 | export default ImageGallery;
6 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 | /build
4 | /.svelte-kit
5 | /package
6 | .env
7 | .env.*
8 | !.env.example
9 | vite.config.js.timestamp-*
10 | vite.config.ts.timestamp-*
11 | .idea
12 |
--------------------------------------------------------------------------------
/vite.config.js:
--------------------------------------------------------------------------------
1 | import { sveltekit } from '@sveltejs/kit/vite';
2 |
3 | /** @type {import('vite').UserConfig} */
4 | const config = {
5 | plugins: [sveltekit()]
6 | };
7 |
8 | export default config;
9 |
--------------------------------------------------------------------------------
/.eslintignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 | /build
4 | /.svelte-kit
5 | /package
6 | .env
7 | .env.*
8 | !.env.example
9 |
10 | # Ignore files for PNPM, NPM and YARN
11 | pnpm-lock.yaml
12 | package-lock.json
13 | yarn.lock
14 |
--------------------------------------------------------------------------------
/.prettierignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 | /build
4 | /.svelte-kit
5 | /package
6 | .env
7 | .env.*
8 | !.env.example
9 |
10 | # Ignore files for PNPM, NPM and YARN
11 | pnpm-lock.yaml
12 | package-lock.json
13 | yarn.lock
14 |
--------------------------------------------------------------------------------
/.prettierrc:
--------------------------------------------------------------------------------
1 | {
2 | "useTabs": false,
3 | "singleQuote": true,
4 | "trailingComma": "none",
5 | "printWidth": 100,
6 | "plugins": ["prettier-plugin-svelte"],
7 | "pluginSearchDirs": ["."],
8 | "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
9 | }
10 |
--------------------------------------------------------------------------------
/src/app.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | %sveltekit.head%
8 |
9 |
10 | %sveltekit.body%
11 |
12 |
13 |
--------------------------------------------------------------------------------
/src/app.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | // See https://kit.svelte.dev/docs/types#app
5 | // for information about these interfaces
6 | // and what to do when importing types
7 | declare namespace App {
8 | // interface Error {}
9 | // interface Locals {}
10 | // interface PageData {}
11 | // interface Platform {}
12 | }
13 |
--------------------------------------------------------------------------------
/svelte.config.js:
--------------------------------------------------------------------------------
1 | import adapter from '@sveltejs/adapter-static';
2 | import { vitePreprocess } from '@sveltejs/kit/vite';
3 |
4 | /** @type {import('@sveltejs/kit').Config} */
5 | const config = {
6 | // Consult https://kit.svelte.dev/docs/integrations#preprocessors
7 | // for more information about preprocessors
8 | preprocess: vitePreprocess(),
9 |
10 | kit: {
11 | adapter: adapter()
12 | }
13 | };
14 |
15 | export default config;
16 |
--------------------------------------------------------------------------------
/src/lib/Bullet.svelte:
--------------------------------------------------------------------------------
1 |
10 |
11 |