|
99 | 99 | {#each media1 as item} |
100 | 100 | {#if item.type == "panorama_landscape"} |
101 | 101 | <div class="self-center col-span-3 " id={item.type}> |
102 | | - <h3 class="text-3xl text-center">{item.text}</h3> |
| 102 | + <h3 class="lg:text-3xl md:text-xl text-l text-center">{item.text}</h3> |
103 | 103 | {#if item.image} |
104 | 104 | <img src={item.image} alt={item.alt} class="rounded-lg" id={item.type}> |
105 | 105 | {:else if item.video} |
|
108 | 108 | </div> |
109 | 109 | {:else if item.type == "panorama_portrait"} |
110 | 110 | <div class="self-center row-span-3 " id={item.type}> |
111 | | - <h3 class="text-3xl text-center">{item.text}</h3> |
| 111 | + <h3 class="lg:text-3xl md:text-xl text-l text-center">{item.text}</h3> |
112 | 112 | {#if item.image} |
113 | 113 | <img src={item.image} alt={item.alt} class="rounded-lg" id={item.type}> |
114 | 114 | {:else if item.video} |
|
117 | 117 | </div> |
118 | 118 | {:else if item.type == "landscape"} |
119 | 119 | <div class="self-center col-span-1 " id={item.type}> |
120 | | - <h3 class="text-3xl text-center">{item.text}</h3> |
| 120 | + <h3 class="lg:text-3xl md:text-xl text-l text-center">{item.text}</h3> |
121 | 121 | {#if item.image} |
122 | 122 | <img src={item.image} alt={item.alt} class="rounded-lg" id={item.type}> |
123 | 123 | {:else if item.video} |
124 | | - <video src={item.video} aria-label={item.alt} class="rounded-lg" autoplay loop muted></video> |
| 124 | + <video src={item.video} aria-label={item.alt} class="rounded-lg" autoplay loop muted playsinline></video> |
125 | 125 | {/if} |
126 | 126 | </div> |
127 | 127 | {:else if item.type == "portrait"} |
128 | 128 | <div class="self-center row-span-2 " id={item.type}> |
129 | | - <h3 class="text-3xl text-center">{item.text}</h3> |
| 129 | + <h3 class="lg:text-3xl md:text-xl text-l text-center">{item.text}</h3> |
130 | 130 | {#if item.image} |
131 | 131 | <img src={item.image} alt={item.alt} class="rounded-lg" id={item.type}> |
132 | 132 | {:else if item.video} |
|
135 | 135 | </div> |
136 | 136 | {:else if item.type == "square"} |
137 | 137 | <div class="self-center row-span-1 col-span-1 " id={item.type}>}> |
138 | | - <h3 class="text-3xl text-center">{item.text}</h3> |
| 138 | + <h3 class="lg:text-3xl md:text-xl text-l text-center">{item.text}</h3> |
139 | 139 | {#if item.image} |
140 | 140 | <img src={item.image} alt={item.alt} class="rounded-lg" id={item.type}> |
141 | 141 | {:else if item.video} |
|
144 | 144 | </div> |
145 | 145 | {:else} |
146 | 146 | <div class="self-center " id={item.type}> |
147 | | - <h3 class="text-3xl text-center">{item.text}</h3> |
| 147 | + <h3 class="lg:text-3xl md:text-xl text-l text-center">{item.text}</h3> |
148 | 148 | {#if item.image} |
149 | 149 | <img src={item.image} alt={item.alt} class="rounded-lg" id={item.type}> |
150 | 150 | {:else if item.video} |
|
0 commit comments