-
-
Notifications
You must be signed in to change notification settings - Fork 4k
/
videos.html
98 lines (90 loc) · 2.75 KB
/
videos.html
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
---
fulltitle: Bulma Videos
layout: default
route: videos
breadcrumb:
- home
- videos
videos:
- id: tesla
title: Tesla launch page
subtitle: 4 videos – 20 min
content: Design a responsive launch page with Bulma's component and CSS Grid.
video_url: https://scrimba.com/p/pV5eHk/cvrwyfR
article_url: https://medium.freecodecamp.org/how-to-build-a-responsive-tesla-launch-page-with-bulma-css-2bf484057349
- id: blog
title: Blog
subtitle: 4 videos – 23 min
content: Build a responsive blog with Bulma components.
video_url: https://scrimba.com/p/pV5eHk/c4EMaUR
article_url: https://medium.freecodecamp.org/how-to-build-a-responsive-blog-design-with-bulma-css-c2257a17c16b
- id: slide
title: Slide
subtitle: 4 videos – 15 min
content: Create web-based presentation slides with Bulma.
video_url: https://scrimba.com/p/pV5eHk/cGym4Ta
no_video: true
---
{% capture hero_content %}
<a class="button bd-fat-button is-success is-medium"
href="{{ site.data.meta.scrimba_url }}"
target="_blank">
<span class="icon">
<i class="fas fa-graduation-cap"></i>
</span>
<span>
Enroll in the free course
</span>
</a>
{% endcapture %}
{%
include docs/components/hero.html
color="videos"
icon="fas fa-play-circle"
title="**Video** tutorials"
subtitle="Learn Bulma with free interactive Scrimba tutorials"
content=hero_content
%}
{% for video in page.videos %}
<div class="bd-video">
<div class="bd-video-info">
<h2 class="title">
{{ video.title }}
</h2>
<p class="subtitle has-text-grey-light">
{{ video.subtitle }}
</p>
<div class="content is-medium">
<p>
{{ video.content }}
</p>
</div>
<div class="buttons">
<p>
<a class="button bd-fat-button is-success is-medium" href="{{ video.video_url }}" target="_blank" rel="nofollow">
<span class="icon">
<i class="fas fa-play"></i>
</span>
<span>Watch video</span>
</a>
{% if video.article_url %}
<a class="button bd-fat-button is-success is-light is-medium" href="{{ video.article_url }}" target="_blank" rel="nofollow">
Read article
</a>
{% endif %}
</p>
</div>
</div>
<figure class="bd-video-figure">
<a class="image" href="{{ video.video_url }}" target="_blank" rel="nofollow">
{% if video.no_video %}
<img src="{{ site.url }}/images/videos/{{ video.id }}.png" alt="{{ video.title }} screenshot">
{% else %}
<video autoplay loop muted>
<source media="(min-width: 640px)" src="{{ site.url }}/images/videos/{{ video.id }}.mp4">
</video>
{% endif %}
</a>
</figure>
</div>
{% endfor %}