add icons to offer footer

This commit is contained in:
Jannis Portmann 2021-05-07 09:55:41 +02:00
parent 8ac069d7a4
commit 3528a2b81b
2 changed files with 7 additions and 3 deletions

View file

@ -36,4 +36,8 @@ $primary: darken(#005035, 20%);
.offer-info {
width: 50%;
min-width: 20rem;;
}
.offer-footer {
color: #555;
}

View file

@ -21,9 +21,9 @@
<h5 class="card-title">{{ offer.title }}</h5>
<p class="card-text">{{ offer.description }}</p>
</div>
<div class="card-footer">
<p class="username">{{ offer.byUser }}</p>
<p class="zip">{{ offer.zipCode }}</p>
<div class="card-footer offer-footer">
<p class="username"><i class="fas fa-user mt-3"></i> {{ offer.byUser }}</p>
<p class="zip"><i class="fas fa-map-marker-alt mt-3"></i> {{ offer.zipCode }}</p>
</div>
</div>
</a>