Add loading image behind slides
This commit is contained in:
parent
7ff8348a60
commit
97b8239b0d
|
@ -1,6 +1,7 @@
|
|||
@import 'availability'
|
||||
@import 'badges'
|
||||
@import 'content-types/blog-post'
|
||||
@import 'content-types/talk'
|
||||
@import 'footer'
|
||||
@import 'meetups'
|
||||
@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 %}
|
||||
<div class="talk-slides">
|
||||
<h2>Slides</h2>
|
||||
{{ page.slides_embed|raw }}
|
||||
<div class="presentation">
|
||||
{{ page.slides_embed|raw }}
|
||||
</div>
|
||||
</div>
|
||||
{% 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