diff --git a/components/03_Organisms/placeGrid/_placeGrid.scss b/components/03_Organisms/placeGrid/_placeGrid.scss index f7bdf86..40c50ad 100644 --- a/components/03_Organisms/placeGrid/_placeGrid.scss +++ b/components/03_Organisms/placeGrid/_placeGrid.scss @@ -1,26 +1,23 @@ -.LP-Place__Grid{ - margin: 0; - padding: 0; - list-style-type: none; - display: flex; - flex-direction: row; - flex-wrap: wrap; +.LP-PlaceGrid{ + .LP-PlaceGrid__Grid{ + margin: 0; + padding: 0; + list-style-type: none; + display: flex; + flex-direction: row; + flex-wrap: wrap; - >.LP-Place__Item{ - margin: 0 15px; - - margin-bottom: 50px; - } + .LP-PlaceGrid__Item{ + margin: 0 15px; + margin-bottom: 50px; + } - .LP-Link{ - .LP-Place__Description{ - display:none; - } - - .LP-Place{ - &:hover{ - box-shadow: 0 0 8px $-secondary-color; - } - } - } + .LP-Link{ + .LP-Place{ + &:hover{ + box-shadow: 0 0 8px $-grey; + } + } + } + } } \ No newline at end of file diff --git a/components/03_Organisms/placeGrid/placeGrid.config.json b/components/03_Organisms/placeGrid/placeGrid.config.json index 9e26dfe..bfca853 100644 --- a/components/03_Organisms/placeGrid/placeGrid.config.json +++ b/components/03_Organisms/placeGrid/placeGrid.config.json @@ -1 +1,31 @@ -{} \ No newline at end of file +{ + "title": "PlaceGrid", + "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/03_Organisms/placeGrid/placeGrid.hbs b/components/03_Organisms/placeGrid/placeGrid.hbs index 3253207..a486627 100644 --- a/components/03_Organisms/placeGrid/placeGrid.hbs +++ b/components/03_Organisms/placeGrid/placeGrid.hbs @@ -1,37 +1,12 @@ -