Moved Styles and included other components

This commit is contained in:
reverend 2020-08-01 00:10:10 +02:00
parent 0ffb2d5bc6
commit 906e037c5c
3 changed files with 9 additions and 20 deletions

View File

@ -18,11 +18,7 @@
.LP-Place__Info{ .LP-Place__Info{
.LP-Place__Title{ .LP-Place__Title{
font-family: $-primary-sans-serif-font;
color: $-secondary-color;
font-size: 1rem;
padding: 0px;
margin: 0px;
} }
.LP-Place__Description{ .LP-Place__Description{
@ -31,11 +27,6 @@
} }
.LP-Place__Detail{ .LP-Place__Detail{
font-family: $-primary-sans-serif-font;
padding: 0;
margin: 0;
margin-top: 5px;
font-size: 0.9rem;
} }
} }

View File

@ -2,6 +2,7 @@
"context": { "context": {
"image": "/images/photo_2020-05-02_18-11-21.jpg", "image": "/images/photo_2020-05-02_18-11-21.jpg",
"title": "Kokerei Wiescherhöfen", "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. "
} }
} }

View File

@ -2,17 +2,14 @@
<div class="LP-Place__Image"> <div class="LP-Place__Image">
<img class="LP-Image" src="{{image}}"/> <img class="LP-Image" src="{{image}}"/>
</div> </div>
<div class="LP-Place__Detail"> <div class="LP-Place__Meta">
<div class="LP-Place__Info"> <div class="LP-Place__Info">
<h3 class="LP-Place__Title">{{title}}</h3> <span class="LP-Place__Title">{{> @headline headline=title modifier='--teaser'}}</span>
<p class="LP-Place__Detail" >{{location}}</p> <span class="LP-Place__Detail" >{{> @paragraph text=location modifier='--teaser'}}</span>
</div>
<div class="LP-Place__Description">
{{> @paragraph text=description}}
</div> </div>
{{# if description}}
<p class="LP-Place__Description">
{{description}}
</p>
{{/if}}
<ul class="LP-Icon__List"> <ul class="LP-Icon__List">
<li class="LP-Icon__Item"><img class="LP-Icon" src="/icons/favourite.svg"/></li> <li class="LP-Icon__Item"><img class="LP-Icon" src="/icons/favourite.svg"/></li>
<li class="LP-Icon__Item"><img class="LP-Icon" src="/icons/location.svg"/></li> <li class="LP-Icon__Item"><img class="LP-Icon" src="/icons/location.svg"/></li>