From 906e037c5c3d74976823e1a856593a4db151abb9 Mon Sep 17 00:00:00 2001 From: reverend Date: Sat, 1 Aug 2020 00:10:10 +0200 Subject: [PATCH] Moved Styles and included other components --- .../02_Molecules/placeTeaser/_placeTeaser.scss | 11 +---------- .../placeTeaser/placeTeaser.config.json | 3 ++- .../02_Molecules/placeTeaser/placeTeaser.hbs | 15 ++++++--------- 3 files changed, 9 insertions(+), 20 deletions(-) diff --git a/components/02_Molecules/placeTeaser/_placeTeaser.scss b/components/02_Molecules/placeTeaser/_placeTeaser.scss index 150076b..d871678 100644 --- a/components/02_Molecules/placeTeaser/_placeTeaser.scss +++ b/components/02_Molecules/placeTeaser/_placeTeaser.scss @@ -18,11 +18,7 @@ .LP-Place__Info{ .LP-Place__Title{ - font-family: $-primary-sans-serif-font; - color: $-secondary-color; - font-size: 1rem; - padding: 0px; - margin: 0px; + } .LP-Place__Description{ @@ -31,11 +27,6 @@ } .LP-Place__Detail{ - font-family: $-primary-sans-serif-font; - padding: 0; - margin: 0; - margin-top: 5px; - font-size: 0.9rem; } } diff --git a/components/02_Molecules/placeTeaser/placeTeaser.config.json b/components/02_Molecules/placeTeaser/placeTeaser.config.json index 567b18e..b5f7a8b 100644 --- a/components/02_Molecules/placeTeaser/placeTeaser.config.json +++ b/components/02_Molecules/placeTeaser/placeTeaser.config.json @@ -2,6 +2,7 @@ "context": { "image": "/images/photo_2020-05-02_18-11-21.jpg", "title": "Kokerei Wiescherhöfen", - "location": "Hamm (Westfalen)" + "location": "Hamm (Westfalen)", + "description": "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. " } } \ No newline at end of file diff --git a/components/02_Molecules/placeTeaser/placeTeaser.hbs b/components/02_Molecules/placeTeaser/placeTeaser.hbs index 824dc2f..b3b4e76 100644 --- a/components/02_Molecules/placeTeaser/placeTeaser.hbs +++ b/components/02_Molecules/placeTeaser/placeTeaser.hbs @@ -2,17 +2,14 @@
-
+
-

{{title}}

-

{{location}}

+ {{> @headline headline=title modifier='--teaser'}} + {{> @paragraph text=location modifier='--teaser'}}
- {{# if description}} -

- {{description}} -

- {{/if}} - +
+ {{> @paragraph text=description}} +