Skip to content

Commit

Permalink
Prepare to upload slides
Browse files Browse the repository at this point in the history
  • Loading branch information
luisddm committed Feb 14, 2020
1 parent 445f8bf commit 9012652
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions _layouts/talk.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ <h1>{{ page.title }}</h1>
{% for d in page.desc %}
<p>{{ d }}</p>
{% endfor %}
{% if page.slides %}
<div class="download-slides">
<img src="{{ '/assets/img/slides.svg' | relative_url }}">
<a target="_blank" href="{{ page.slides | relative_url }}">Descarga la presentación</a>
</div>
{% endif %}
<div>
{% for speaker in page.speakers %}
<div class="schedule__speaker">
Expand Down
12 changes: 12 additions & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -743,3 +743,15 @@ hr {
.big-intro .header-inner .header-inner-left .claim div a {
color: var(--light-color);
}

.download-slides {
display: flex;
align-items: center;
font-size: 1.2rem;
font-weight: bold;
}

.download-slides img {
width: 32px;
margin-right: 10px;
}
1 change: 1 addition & 0 deletions assets/img/slides.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9012652

Please sign in to comment.