diff --git a/assets/styles/app.scss b/assets/styles/app.scss index 50dbcb0..b084480 100644 --- a/assets/styles/app.scss +++ b/assets/styles/app.scss @@ -5,3 +5,21 @@ $primary: darken(#428bca, 20%); // the ~ allows you to reference things in node_modules @import "~bootstrap/scss/bootstrap"; + +.offering > img { + height: 15rem; + object-fit: cover; +} + +.offering { + $card-height: 100%; + width: 20rem; +} + +.username { + float: left; +} + +.zip { + float: right; +} \ No newline at end of file diff --git a/templates/app/index.html.twig b/templates/app/index.html.twig index 6d68183..3a1f675 100644 --- a/templates/app/index.html.twig +++ b/templates/app/index.html.twig @@ -7,13 +7,17 @@
{% for offering in offerings %} -
+
{% if offering.photoFilename %} {% endif %}
{{ offering.title }}
-

Some quick example text to build on the card title and make up the bulk of the card's content.

+

{{ offering.description }}

+
+