From 00d01b0abfdf2ce9a03f157247ccf78a597188bf Mon Sep 17 00:00:00 2001 From: reverend Date: Sun, 2 Aug 2020 23:03:11 +0200 Subject: [PATCH] More context --- components/04_Templates/home/home.config.json | 31 ++++++++++++++++++- components/04_Templates/home/home.hbs | 4 +-- 2 files changed, 32 insertions(+), 3 deletions(-) diff --git a/components/04_Templates/home/home.config.json b/components/04_Templates/home/home.config.json index 9e26dfe..628c2bf 100644 --- a/components/04_Templates/home/home.config.json +++ b/components/04_Templates/home/home.config.json @@ -1 +1,30 @@ -{} \ No newline at end of file +{ + "context":{ + "places": [ + { + "image": "/images/photo_2020-04-09_18-27-13.jpg", + "name": "Haus Maikotten", + "location": "Münster (westfalen)", + "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat." + }, + { + "image": "/images/Bildschirmfoto_von_2020-07-13_11-03-07.png", + "name": "Kokerei in Hamm", + "location": "Hamm (westfalen)", + "description": "" + }, + { + "image": "/images/Bildschirmfoto_von_2020-07-13_20-15-00.png", + "name": "Noch ein Zementwerk", + "location": "Beckum (Westfalen)", + "description": "" + }, + { + "image": "/images/photo_2020-05-02_18-11-21.jpg", + "name": "Zementwerk Mersmann", + "location": "Beckum (Westfalen)", + "description": "" + } + ] + } +} \ No newline at end of file diff --git a/components/04_Templates/home/home.hbs b/components/04_Templates/home/home.hbs index ce2460f..b79e53d 100644 --- a/components/04_Templates/home/home.hbs +++ b/components/04_Templates/home/home.hbs @@ -1,5 +1,5 @@ - {{> @introduction}} - {{> @placegrid}} + {{> @textsection headline='At vero eos et accusam et justo duo dolores' text='Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.'}} + {{> @placegrid places=places}} Icons made by Freepik from www.flaticon.com \ No newline at end of file