Skip to content

Commit 5ecc7d4

Browse files
authored
add slider examples (#5)
1 parent 4cad5a1 commit 5ecc7d4

File tree

2 files changed

+45
-13
lines changed

2 files changed

+45
-13
lines changed

.github/workflows/deploy.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- project-page
6+
- main
67
permissions:
78
contents: read
89
pages: write

template.yaml

Lines changed: 44 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -85,24 +85,55 @@ body:
8585
</div>
8686
8787
Refer to [UIKit Video Components Documentation](https://getuikit.com/docs/video) and [Grid system](https://getuikit.com/docs/grid)
88-
<div class="uk-child-width-1-2@m" uk-grid>
88+
<div class="uk-child-width-1-2 uk-child-width-1-3@m" uk-grid>
8989
<div>
90-
<video
91-
src="https://yootheme.com/site/images/media/yootheme-pro.mp4"
92-
loop
93-
muted
94-
uk-video="autoplay:inview"
95-
/>
90+
<img src="001.jpg">
91+
<span class="uk-text-meta">Fig1 - caption example</figcaption>
9692
</div>
9793
<div>
98-
<video
99-
src="https://yootheme.com/site/images/media/yootheme-pro.mp4"
100-
loop
101-
muted
102-
uk-video="autoplay:inview"
103-
/>
94+
<img src="002.jpg">
95+
<span class="uk-text-meta">Fig2 - caption example</figcaption>
96+
</div>
97+
<div>
98+
<img src="003.jpg">
99+
<span class="uk-text-meta">Fig3 - caption example</figcaption>
104100
</div>
105101
</div>
102+
103+
[Slider](https://getuikit.com/docs/slider) component example
104+
<div uk-slider>
105+
<div class="uk-slider-items uk-child-width-1-1 uk-child-width-1-2@m uk-grid">
106+
<div>
107+
<video
108+
src="https://yootheme.com/site/images/media/yootheme-pro.mp4"
109+
loop
110+
muted
111+
uk-video="autoplay:inview"
112+
/>
113+
</div>
114+
<div>
115+
<video
116+
src="https://yootheme.com/site/images/media/yootheme-pro.mp4"
117+
loop
118+
muted
119+
uk-video="autoplay:inview"
120+
/>
121+
</div>
122+
<div>
123+
<video
124+
src="https://yootheme.com/site/images/media/yootheme-pro.mp4"
125+
loop
126+
muted
127+
uk-video="autoplay:inview"
128+
/>
129+
</div>
130+
</div>
131+
<div class="uk-flex uk-flex-center uk-margin-small">
132+
<a class="uk-icon-button" href uk-slidenav-previous uk-slider-item="previous"></a>
133+
<a class="uk-icon-button uk-margin-small-left" href uk-slidenav-next uk-slider-item="next"></a>
134+
</div>
135+
</div>
136+
106137
- title: Markdown examples
107138
text: |
108139
Here's our demo text showcasing the power of markdown and KaTeX integration!

0 commit comments

Comments
 (0)