feat: Suppression des photos du footer

This commit is contained in:
Simon 2020-10-21 16:36:26 +02:00
parent 79bd26ff88
commit fc054deb03
3 changed files with 14 additions and 27 deletions

13
assets/styles/footer.sass Normal file
View File

@ -0,0 +1,13 @@
.footer
margin: 2rem 0
padding: 2rem
background: white
display: flex
.card
button
overflow-wrap: anywhere
word-break: break-all
white-space: normal
user-select: inherit

View File

@ -6,6 +6,7 @@
// @import "./header" // @import "./header"
@import "../fonts/source-sans-pro" @import "../fonts/source-sans-pro"
@import "./header" @import "./header"
@import "./footer"
@import "./index" @import "./index"
/* Make images easier to work with */ /* Make images easier to work with */
@ -108,15 +109,3 @@ h1
&:hover, &.active, &.focus &:hover, &.active, &.focus
background-color: darken($bleu, 10%) background-color: darken($bleu, 10%)
border-color: $bleu border-color: $bleu
.footer
margin: 2rem
.card
margin: 0 2rem
button
overflow-wrap: anywhere
word-break: break-all
white-space: normal
user-select: inherit

View File

@ -4,11 +4,6 @@
<div class="columns"> <div class="columns">
<div class="column col-4"> <div class="column col-4">
<div class="card"> <div class="card">
<div class="card-image">
{{ $image := $headless.Resources.GetMatch "mairie.jpg" }}
{{ $resized := $image.Resize "500x" }}
<img src="{{ $resized.RelPermalink }}" class="img-responsive">
</div>
<div class="card-header"> <div class="card-header">
<div class="card-title h5">Mairie</div> <div class="card-title h5">Mairie</div>
</div> </div>
@ -23,11 +18,6 @@
</div> </div>
<div class="column col-4"> <div class="column col-4">
<div class="card"> <div class="card">
<div class="card-image">
{{ $image := $headless.Resources.GetMatch "bibliotheque.jpg" }}
{{ $resized := $image.Resize "500x" }}
<img src="{{ $resized.RelPermalink }}" class="img-responsive">
</div>
<div class="card-header"> <div class="card-header">
<div class="card-title h5">Bibliothèque Municipale</div> <div class="card-title h5">Bibliothèque Municipale</div>
</div> </div>
@ -42,11 +32,6 @@
</div> </div>
<div class="column col-4"> <div class="column col-4">
<div class="card"> <div class="card">
<div class="card-image">
{{ $image := $headless.Resources.GetMatch "poste.jpg" }}
{{ $resized := $image.Resize "500x" }}
<img src="{{ $resized.RelPermalink }}" class="img-responsive">
</div>
<div class="card-header"> <div class="card-header">
<div class="card-title h5">Agence Postale</div> <div class="card-title h5">Agence Postale</div>
</div> </div>