Moved Styles and included other components
This commit is contained in:
parent
0ffb2d5bc6
commit
906e037c5c
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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. "
|
||||
}
|
||||
}
|
@ -2,17 +2,14 @@
|
||||
<div class="LP-Place__Image">
|
||||
<img class="LP-Image" src="{{image}}"/>
|
||||
</div>
|
||||
<div class="LP-Place__Detail">
|
||||
<div class="LP-Place__Meta">
|
||||
<div class="LP-Place__Info">
|
||||
<h3 class="LP-Place__Title">{{title}}</h3>
|
||||
<p class="LP-Place__Detail" >{{location}}</p>
|
||||
<span class="LP-Place__Title">{{> @headline headline=title modifier='--teaser'}}</span>
|
||||
<span class="LP-Place__Detail" >{{> @paragraph text=location modifier='--teaser'}}</span>
|
||||
</div>
|
||||
{{# if description}}
|
||||
<p class="LP-Place__Description">
|
||||
{{description}}
|
||||
</p>
|
||||
{{/if}}
|
||||
|
||||
<div class="LP-Place__Description">
|
||||
{{> @paragraph text=description}}
|
||||
</div>
|
||||
<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/location.svg"/></li>
|
||||
|
Loading…
Reference in New Issue
Block a user