summaryrefslogtreecommitdiff
path: root/esm/scripts/presentation.mjs
blob: 47f174d34e766dd29b47a6a330190f93ad4b7b02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
export default {

    name: 'Pitsos',
    title: 'Pitsos',
    base_url: 'images',

    effect: 'flip',
    pagination: 'dynamic',

    css: `
        html,
        body {
            position: relative;
        }

        body {
            background-color: rgb(153, 153, 153);
            font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
            font-size: 14px;
            color: #000;
            margin: 0;
            padding: 0;
            display: flex;
            height: 100vh;
            overflow: hidden;
            align-content: center;
            align-items: center;
        }

        .swiper {
            width: 90vw;
            height: 50.62vw;
        }

        @media (min-aspect-ratio: 3.5/2) {
            .swiper {
                width: 150vh;
                height: 90vh;
            }
        }

        .swiper-slide {
            background-position: center;
            background-size: cover;
        }

        .swiper-slide img {
            display: block;
            width: 100%;
        }
        .swiper-pagination {
            margin-top: 50px;
        }

        .swiper-pagination-bullet-active {
            background: #ed8119;
        }

        .swiper-button-prev, .swiper-button-next {
            color: #ed8119;
        }
    `,
    slides: [
        { image: '01.jpg' },
        { image: '02.jpg' },
        { image: '03.jpg' },
        { image: '04.jpg' },
    ]

}