Skip to content

Commit

Permalink
Merge pull request #54 from ClubCedille/feature/EHP/fix-commanditaire…
Browse files Browse the repository at this point in the history
…-size-photo

fix size mobile commanditaires
  • Loading branch information
SonOfLope authored Feb 7, 2023
2 parents 788b714 + 22be752 commit 4aa10f2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions data/gallery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ subtitle: >
Ce club scientifique rassemble tous les domaines d'expertise de l'université!
galleryImage:
- image: "images/gallery/accueil_1.jpg"
accueil: "Accueil 01"
- image: "images/gallery/accueil_2.jpg"
accueil: "Accueil 02"
- image: "images/gallery/accueil_3.jpg"
accueil: "Accueil 03"
- image: "images/gallery/accueil_4.jpg"
accueil: "Accueil 04"
---

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions themes/coHub/assets/scss/components/_testimonial.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
@include desktop {
padding: 50px 0;
}
/*Enlever mobile dès qu'il y aura des commanditaires*/
@include mobile {
background-attachment: inherit;
padding: 100px 0;
}
&::after {
content: "";
position: absolute;
Expand Down
2 changes: 1 addition & 1 deletion themes/coHub/layouts/partials/gallery.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h2>{{ .title | safeHTML }}</h2>
<div class="col-md-6">
<div class="gallery-item">
<a href="{{ .image | absURL }}" data-source="{{ .image | absURL }}"
title="Accueil 01">
title="{{ .accueil }}">
<img src="{{ .image | absURL }}" alt="gallery-images">
</a>
</div>
Expand Down

1 comment on commit 4aa10f2

@vercel
Copy link

@vercel vercel bot commented on 4aa10f2 Feb 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.