From d71656dd0000b4b284e0a9d3d29f0bff45f96c56 Mon Sep 17 00:00:00 2001 From: thisfro Date: Tue, 27 Apr 2021 10:20:02 +0200 Subject: [PATCH] style the front page and create navbar --- assets/styles/app.scss | 4 ++++ templates/app/index.html.twig | 2 +- templates/base.html.twig | 31 ++++++++++++++++++++++++++++++- 3 files changed, 35 insertions(+), 2 deletions(-) diff --git a/assets/styles/app.scss b/assets/styles/app.scss index b084480..dcf5dcd 100644 --- a/assets/styles/app.scss +++ b/assets/styles/app.scss @@ -22,4 +22,8 @@ $primary: darken(#428bca, 20%); .zip { float: right; +} + +.listings-container { + padding-top: 2rem; } \ No newline at end of file diff --git a/templates/app/index.html.twig b/templates/app/index.html.twig index 3a1f675..6fc1c7f 100644 --- a/templates/app/index.html.twig +++ b/templates/app/index.html.twig @@ -24,6 +24,6 @@ {% endfor %} {% else %} -

There are currently no active listings

+ {% endif %} {% endblock %} \ No newline at end of file diff --git a/templates/base.html.twig b/templates/base.html.twig index 94740d2..234bc0a 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -16,7 +16,36 @@ -
+ + + +
{% block body %}{% endblock %}