Add loading image behind slides
This commit is contained in:
parent
7ff8348a60
commit
97b8239b0d
|
@ -1,6 +1,7 @@
|
||||||
@import 'availability'
|
@import 'availability'
|
||||||
@import 'badges'
|
@import 'badges'
|
||||||
@import 'content-types/blog-post'
|
@import 'content-types/blog-post'
|
||||||
|
@import 'content-types/talk'
|
||||||
@import 'footer'
|
@import 'footer'
|
||||||
@import 'meetups'
|
@import 'meetups'
|
||||||
@import 'testimonials'
|
@import 'testimonials'
|
||||||
|
|
6
assets/sass/components/content-types/_talk.sass
Normal file
6
assets/sass/components/content-types/_talk.sass
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
.presentation
|
||||||
|
background: url('../images/loading.gif') no-repeat center
|
||||||
|
min-height: 350px
|
||||||
|
width: 100%
|
||||||
|
+desktop
|
||||||
|
min-height: 550px
|
|
@ -1,6 +1,8 @@
|
||||||
{% if page.slides_embed %}
|
{% if page.slides_embed %}
|
||||||
<div class="talk-slides">
|
<div class="talk-slides">
|
||||||
<h2>Slides</h2>
|
<h2>Slides</h2>
|
||||||
|
<div class="presentation">
|
||||||
{{ page.slides_embed|raw }}
|
{{ page.slides_embed|raw }}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
BIN
source/assets/images/loading.gif
Normal file
BIN
source/assets/images/loading.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
Loading…
Reference in a new issue