Ja...
This commit is contained in:
38
components/02_Molecules/place/_place.scss
Normal file
38
components/02_Molecules/place/_place.scss
Normal file
@@ -0,0 +1,38 @@
|
||||
.LP-Place{
|
||||
width: 280px;
|
||||
height: 235px;
|
||||
.LP-Place__Image{
|
||||
width: 100%;
|
||||
height: 165px;
|
||||
object-fit: fill;
|
||||
}
|
||||
|
||||
.LP-Place__Assets{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-top: 0.8rem;
|
||||
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.LP-Place__Info{
|
||||
|
||||
.LP-Place__Title{
|
||||
font-family: $-primary-sans-serif-font;
|
||||
color: $-secondary-color;
|
||||
font-size: 1rem;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.LP-Place__Detail{
|
||||
font-family: $-primary-sans-serif-font;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
margin-top: 5px;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
7
components/02_Molecules/place/place.config.json
Normal file
7
components/02_Molecules/place/place.config.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"context": {
|
||||
"image": "/images/photo_2020-05-02_18-11-21.jpg",
|
||||
"title": "Kokerei Wiescherhöfen",
|
||||
"location": "Hamm (Westfalen)"
|
||||
}
|
||||
}
|
14
components/02_Molecules/place/place.hbs
Normal file
14
components/02_Molecules/place/place.hbs
Normal file
@@ -0,0 +1,14 @@
|
||||
<article class="LP-Place">
|
||||
<img class="LP-Place__Image" src="{{image}}"/>
|
||||
<div class="LP-Place__Assets">
|
||||
<div class="LP-Place__Info">
|
||||
<h3 class="LP-Place__Title">{{title}}</h3>
|
||||
<p class="LP-Place__Detail" >{{location}}</p>
|
||||
</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>
|
||||
<li class="LP-Icon__Item"><img class="LP-Icon" src="/icons/flag.svg"/></li>
|
||||
</ul>
|
||||
</div>
|
||||
</article>
|
Reference in New Issue
Block a user