Skip to content

Commit

Permalink
Merge pull request dipy#23 from skoudoro/add-workshop
Browse files Browse the repository at this point in the history
Add workshop banner
  • Loading branch information
skoudoro authored Jan 23, 2024
2 parents d96b9eb + e1b5227 commit 63d9d8f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
Binary file added _static/images/banner/dipy_workshop_2024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions _templates/components/carousel.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
<div class="carousel-inner">
{% for slide in carousel_slides %}
<div class="carousel-item pad-h-20 {{ 'active' if loop.index==1 }}">
{% if slide.img.startswith("http") %}
<img src="{{ slide.img }}" class="d-block w-100" alt="...">
{% else %}
<img src="_static/images/banner/{{ slide.img }}" class="d-block w-100" alt="...">
{% endif %}
<div class="pad-20 carousel-caption d-md-block">
<a href="{{ slide.link }}" target="_blank" rel="noopener noreferrer">
<h5>{{ slide.caption }}</h5>
Expand Down
4 changes: 2 additions & 2 deletions _templates/components/explore.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ <h4 class="explore-tile-title mar-v-5">{{ explore.title }}</h4>
<p class="explore-title-description">
{{ explore.description }}
</p>

<a class="btn-link explore-tile-know-more" href="{{ explore.link }}">
Know more <i class="fa-solid fa-chevron-right pad-l-5"></i>
</a>

</div>
{% endfor %}
</div>
7 changes: 7 additions & 0 deletions context/context.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

[[carousel_slides]]
caption = "Join DIPY <br >Workshop 2024,<br>Online Edition!"
description = "Join us for an exciting online workshop hosted by DIPY. Our comprehensive program is design to equip you with the skills and the knowledge needed to master the latest techniques and tools in structural and diffusion Imaging."
img = "dipy_workshop_2024.png"
link = "https://dipy.org/workshop/latest"

[[carousel_slides]]
caption = "EVAC+, ISMRM 2023"
description = ""
Expand Down

0 comments on commit 63d9d8f

Please sign in to comment.