diff --git a/css/custom.css b/css/custom.css index 578952c..237405a 100644 --- a/css/custom.css +++ b/css/custom.css @@ -68,3 +68,10 @@ body, #wrapper { height: 3em; } + +.btn-facebook +{ + color: #fff; + background-color: #3b5998; + border-color: #3b5998; +} diff --git a/images/home_slideshow.gif b/images/home_slideshow.gif new file mode 100644 index 0000000..8ed1edd Binary files /dev/null and b/images/home_slideshow.gif differ diff --git a/templates/error.html.twig b/templates/error.html.twig index f23aa78..24278a8 100644 --- a/templates/error.html.twig +++ b/templates/error.html.twig @@ -2,7 +2,7 @@ {% block content %}
-

Error!

+

Fehler!

{{ page.content }}
{% endblock %} diff --git a/templates/home.html.twig b/templates/home.html.twig new file mode 100644 index 0000000..f7c9d13 --- /dev/null +++ b/templates/home.html.twig @@ -0,0 +1,37 @@ +{% extends 'partials/base.html.twig' %} + +{% block content %} +
+
+

Herzlich Willkommen

+
+ {% include 'partials/osm.html.twig' %} +
+
+ Kontakt + {% include 'partials/socialmedia.html.twig' %} +
+
+
+ +
+
+
+
+ {% set news_page = pages.find('/news') %} + {% if news_page and news_page.collection() and news_page.collection()|first %} + {% set text_class = 'col-12' %} + {% set latest_news = news_page.collection()|first %} + {% if latest_news.media.images %} + {% set text_class = 'col-12 col-md-9' %} +
+ +
+ {% endif %} +
+ {{ latest_news.content }} +
+ {% endif %} +
+ {{ page.content }} +{% endblock %} diff --git a/templates/modular.html.twig b/templates/info-list.html.twig similarity index 100% rename from templates/modular.html.twig rename to templates/info-list.html.twig diff --git a/templates/kontakt.html.twig b/templates/kontakt.html.twig new file mode 100644 index 0000000..0ac27a8 --- /dev/null +++ b/templates/kontakt.html.twig @@ -0,0 +1,19 @@ +{% extends 'partials/base.html.twig' %} + +{% block content %} +
+
+ {{ page.content }} +
+
+
+
+ {% include 'partials/socialmedia.html.twig' %} +
+
+
+
+ {% include 'partials/osm.html.twig' %} +
+
+{% endblock %} diff --git a/templates/partials/base.html.twig b/templates/partials/base.html.twig index 9402046..9d3a1f2 100644 --- a/templates/partials/base.html.twig +++ b/templates/partials/base.html.twig @@ -36,7 +36,7 @@
{% include 'partials/navbar.html.twig' %}
-
+
{% block content %}{% endblock %}
@@ -46,7 +46,13 @@ {% block footer %}