Skip to content

Commit 894e962

Browse files
committed
Template SwiperSlide
1 parent 8f3c0fe commit 894e962

File tree

4 files changed

+12
-49
lines changed

4 files changed

+12
-49
lines changed

docs/clients/android.md

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -51,23 +51,8 @@ View in Full Screen
5151
:lazyPreloadPrevNext="2"
5252
:effect="'coverflow'"
5353
class="swiper">
54-
<SwiperSlide><img src="https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/django-files/android/screenshots/1.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
55-
<SwiperSlide><img src="https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/django-files/android/screenshots/2.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
56-
<SwiperSlide><img src="https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/django-files/android/screenshots/3.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
57-
<SwiperSlide><img src="https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/django-files/android/screenshots/4.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
58-
<SwiperSlide><img src="https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/django-files/android/screenshots/5.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
59-
<SwiperSlide><img src="https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/django-files/android/screenshots/6.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
60-
<SwiperSlide><img src="https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/django-files/android/screenshots/7.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
61-
<SwiperSlide><img src="https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/django-files/android/screenshots/8.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
62-
<SwiperSlide><img src="https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/django-files/android/screenshots/9.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
63-
<SwiperSlide><img src="https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/django-files/android/screenshots/10.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
64-
<SwiperSlide><img src="https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/django-files/android/screenshots/11.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
65-
<SwiperSlide><img src="https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/django-files/android/screenshots/12.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
66-
<SwiperSlide><img src="https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/django-files/android/screenshots/13.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
67-
<SwiperSlide><img src="https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/django-files/android/screenshots/14.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
68-
<SwiperSlide><img src="https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/django-files/android/screenshots/15.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
69-
<SwiperSlide><img src="https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/django-files/android/screenshots/16.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
70-
<SwiperSlide><img src="https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/django-files/android/screenshots/17.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
71-
<SwiperSlide><img src="https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/django-files/android/screenshots/18.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
54+
<SwiperSlide v-for="i in 18" :key="i">
55+
<img :src="`https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/django-files/android/screenshots/${i}.jpg`" alt="Loading..." loading="lazy" />
56+
</SwiperSlide>
7257
</Swiper>
7358
</ClientOnly>

docs/clients/browser.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,8 @@ View in Full Screen
4646
:lazyPreloadPrevNext="1"
4747
:effect="'coverflow'"
4848
class="swiper">
49-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/web-extension/docs/1.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
50-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/web-extension/docs/2.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
51-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/web-extension/docs/3.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
52-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/web-extension/docs/4.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
53-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/web-extension/docs/5.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
54-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/web-extension/docs/6.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
49+
<SwiperSlide v-for="i in 6" :key="i">
50+
<img :src="`https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/web-extension/docs/${i}.jpg`" alt="Loading..." loading="lazy" />
51+
</SwiperSlide>
5552
</Swiper>
5653
</ClientOnly>

docs/clients/ios.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,8 @@ View in Full Screen
4949
:lazyPreloadPrevNext="2"
5050
:effect="'coverflow'"
5151
class="swiper">
52-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/ios-client/docs/1.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
53-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/ios-client/docs/2.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
54-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/ios-client/docs/3.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
55-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/ios-client/docs/4.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
56-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/ios-client/docs/5.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
57-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/ios-client/docs/6.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
58-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/ios-client/docs/7.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
52+
<SwiperSlide v-for="i in 7" :key="i">
53+
<img :src="`https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/ios-client/docs/${i}.jpg`" alt="Loading..." loading="lazy" />
54+
</SwiperSlide>
5955
</Swiper>
6056
</ClientOnly>

docs/guides/features.md

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -68,23 +68,8 @@ View in Full Screen
6868
:lazyPreloadPrevNext="1"
6969
:effect="'coverflow'"
7070
class="swiper" style="height: 396px;">
71-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/django-files/docs/01.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
72-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/django-files/docs/02.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
73-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/django-files/docs/03.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
74-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/django-files/docs/04.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
75-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/django-files/docs/05.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
76-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/django-files/docs/06.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
77-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/django-files/docs/07.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
78-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/django-files/docs/08.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
79-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/django-files/docs/09.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
80-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/django-files/docs/10.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
81-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/django-files/docs/11.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
82-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/django-files/docs/12.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
83-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/django-files/docs/13.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
84-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/django-files/docs/14.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
85-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/django-files/docs/15.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
86-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/django-files/docs/16.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
87-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/django-files/docs/17.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
88-
<SwiperSlide><img src="https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/django-files/docs/18.jpg" alt="Screenshot" loading="lazy" /></SwiperSlide>
71+
<SwiperSlide v-for="i in 18" :key="i">
72+
<img :src="`https://raw.githubusercontent.com/django-files/repo-images/refs/heads/master/django-files/docs/${String(i).padStart(2, '0')}.jpg`" alt="Loading..." loading="lazy" />
73+
</SwiperSlide>
8974
</Swiper>
9075
</ClientOnly>

0 commit comments

Comments
 (0)