From e86466c97dfd23580f59fb649acf0a789d7ce13b Mon Sep 17 00:00:00 2001 From: chloe Date: Fri, 29 May 2020 16:14:53 +0200 Subject: [PATCH] =?UTF-8?q?d=C3=A9but=20bootstrap=20pour=20le=20footer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/app/themes/la_mine/asset/dist/style.css | 11 ++++++ web/app/themes/la_mine/templates/accueil.twig | 2 - web/app/themes/la_mine/templates/base.twig | 10 ++--- web/app/themes/la_mine/templates/footer.twig | 39 +++++++++++++------ .../themes/la_mine/templates/html-header.twig | 2 + 5 files changed, 45 insertions(+), 19 deletions(-) create mode 100644 web/app/themes/la_mine/asset/dist/style.css diff --git a/web/app/themes/la_mine/asset/dist/style.css b/web/app/themes/la_mine/asset/dist/style.css new file mode 100644 index 00000000..695e6197 --- /dev/null +++ b/web/app/themes/la_mine/asset/dist/style.css @@ -0,0 +1,11 @@ +img{ + width: 100%; + height: auto; +} +footer img{ + width: 50px; + height: auto; +} +footer li { + list-style-type:none; +} diff --git a/web/app/themes/la_mine/templates/accueil.twig b/web/app/themes/la_mine/templates/accueil.twig index da10471b..ef884da5 100644 --- a/web/app/themes/la_mine/templates/accueil.twig +++ b/web/app/themes/la_mine/templates/accueil.twig @@ -98,6 +98,4 @@ -{% include 'footer.twig' %} - {% endblock %} diff --git a/web/app/themes/la_mine/templates/base.twig b/web/app/themes/la_mine/templates/base.twig index 7aa967ac..704dca3a 100644 --- a/web/app/themes/la_mine/templates/base.twig +++ b/web/app/themes/la_mine/templates/base.twig @@ -6,20 +6,20 @@ {% endblock %} - + -
+ diff --git a/web/app/themes/la_mine/templates/footer.twig b/web/app/themes/la_mine/templates/footer.twig index 89e58f5c..4558e9d4 100644 --- a/web/app/themes/la_mine/templates/footer.twig +++ b/web/app/themes/la_mine/templates/footer.twig @@ -1,30 +1,45 @@
-
- +
+
+
-
+ +

{{options.texte_adresse }}

+

{{options.texte_collecte }}

+ +
+

{{options.instagram.texte_instagram}}

+
-
+
+

{{options.texte_horaire }}

-
-
-

{{options.titre}}

-
- {% for partner in options.partenaire %} - - {% endfor %} + +
+
{{options.titre}}
+
+
+
+ {% for partner in options.partenaire %} +
+ {% endfor %} +
+
+
+ +
diff --git a/web/app/themes/la_mine/templates/html-header.twig b/web/app/themes/la_mine/templates/html-header.twig index 8489be60..22c06e16 100644 --- a/web/app/themes/la_mine/templates/html-header.twig +++ b/web/app/themes/la_mine/templates/html-header.twig @@ -15,4 +15,6 @@ {# BOOTSTRAP #} + + {{function('wp_head')}}