From 09d1ab522bfd108bcd4e0607a01858ab80a84c28 Mon Sep 17 00:00:00 2001 From: reverend Date: Sun, 2 Aug 2020 23:02:56 +0200 Subject: [PATCH] Move responseive --- .../03_Organisms/linkList/_linkList.scss | 2 +- .../placeOverview/_placeOverview.scss | 36 ++++++++++--------- .../placeOverview/placeOverview.config.json | 12 ++++++- .../placeOverview/placeOverview.hbs | 27 +++++--------- 4 files changed, 39 insertions(+), 38 deletions(-) diff --git a/components/03_Organisms/linkList/_linkList.scss b/components/03_Organisms/linkList/_linkList.scss index 006c996..941fd94 100644 --- a/components/03_Organisms/linkList/_linkList.scss +++ b/components/03_Organisms/linkList/_linkList.scss @@ -1,7 +1,7 @@ .LP-LinkList__List{ list-style-type: none; display: grid; - grid-template-columns: repeat(auto-fit, 300px); + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin: 0; padding: 0; diff --git a/components/04_Templates/placeOverview/_placeOverview.scss b/components/04_Templates/placeOverview/_placeOverview.scss index 1c0771f..d59f838 100644 --- a/components/04_Templates/placeOverview/_placeOverview.scss +++ b/components/04_Templates/placeOverview/_placeOverview.scss @@ -3,64 +3,66 @@ .LP-PlaceOveriew__Image{ width: 700px; - height: 450px; box-shadow: 0 0 10px $-grey; object-fit: cover; + object-position: 0 0; float: right; margin-left: 35px; margin-bottom: 35px; + overflow: hidden; } .LP-PlaceOverView__Description{ padding: 0px; position: relative; top: -15px; + + .LP-Headline{ + position: relative; + top: 15px; + } } } .LP-PlaceOverView__ImageList{ list-style-type: none; display: grid; - grid-template-columns: repeat(auto-fit,300px); + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin: 0px; padding: 0px; .LP-PlaceOverView__ImageItem{ - - img { + margin-top:10px; + + .LP-Link{ + overflow: hidden; + } + + .LP-Image { box-shadow: 0 0 5px $-grey; height: 200px; width: 290px; object-fit: cover; - margin-top:10px; } } } } -@media (max-width: 1290px){ +@media (max-width: $-viewport-normal){ .LP-PlaceOverview{ .LP-PlaceOverview__Info{ .LP-TextSection{ - margin-top: -100px; - } - - .LP-Headline{ - position: relative; - top: -400px; - margin-bottom: 100px; - width: 100vw; - display: block; + margin-top: 30px; } .LP-PlaceOveriew__Image{ float: none; - width: calc(100vw - 30px); + width: 100%; + height: auto; margin: 0; padding: 0; - margin-left: 7px; } } } diff --git a/components/04_Templates/placeOverview/placeOverview.config.json b/components/04_Templates/placeOverview/placeOverview.config.json index 9e26dfe..4264502 100644 --- a/components/04_Templates/placeOverview/placeOverview.config.json +++ b/components/04_Templates/placeOverview/placeOverview.config.json @@ -1 +1,11 @@ -{} \ No newline at end of file +{ + "context": { + "images": [ + "/images/Bildschirmfoto_von_2020-07-13_11-03-07.png", + "/images/photo_2020-05-02_18-11-21.jpg", + "/images/Bildschirmfoto_von_2020-07-13_20-15-00.png", + "/images/photo_2020-05-02_18-11-21.jpg", + "/images/Bildschirmfoto_von_2020-07-13_11-03-07.png" + ] + } +} \ No newline at end of file diff --git a/components/04_Templates/placeOverview/placeOverview.hbs b/components/04_Templates/placeOverview/placeOverview.hbs index 6843e75..221990d 100644 --- a/components/04_Templates/placeOverview/placeOverview.hbs +++ b/components/04_Templates/placeOverview/placeOverview.hbs @@ -1,10 +1,12 @@
- +
+ {{> @image source='/images/Bildschirmfoto_von_2020-07-13_20-15-00.png'}} +
{{> @headline--main headline='Kokerei Wiescherhöfen'}} - {{> @text text='Do you see any Teletubbies in here? Do you see a slender plastic tag clipped to my shirt with my name printed on it? Do you see a little Asian child with a blank expression on his face sitting outside on a mechanical helicopter that shakes when you put quarters in it? No? Well, thats what you see at a toy store. And you must think youre in a toy store, because youre here shopping for an infant named Jeb. My moneys in that office, right? If she start giving me some bullshit about it aint there, and we got to go someplace else and get it, Im gonna shoot you in the head then and there. Then Im gonna shoot that bitch in the kneecaps, find out where my goddamn money is. She gonna tell me too. Hey, look at me when Im talking to you, motherfucker. You listen: we go in there, and that nigga Winston or anybody else is in there, you the first motherfucker to get shot. You understand? + {{> @paragraph text='Do you see any Teletubbies in here? Do you see a slender plastic tag clipped to my shirt with my name printed on it? Do you see a little Asian child with a blank expression on his face sitting outside on a mechanical helicopter that shakes when you put quarters in it? No? Well, thats what you see at a toy store. And you must think youre in a toy store, because youre here shopping for an infant named Jeb. My moneys in that office, right? If she start giving me some bullshit about it aint there, and we got to go someplace else and get it, Im gonna shoot you in the head then and there. Then Im gonna shoot that bitch in the kneecaps, find out where my goddamn money is. She gonna tell me too. Hey, look at me when Im talking to you, motherfucker. You listen: we go in there, and that nigga Winston or anybody else is in there, you the first motherfucker to get shot. You understand? Do you see any Teletubbies in here? Do you see a slender plastic tag clipped to my shirt with my name printed on it? Do you see a little Asian child with a blank expression on his face sitting outside on a mechanical helicopter that shakes when you put quarters in it? No? Well, thats what you see at a toy store. And you must think youre in a toy store, because youre here shopping for an infant named Jeb.Do you see any Teletubbies in here? Do you see a slender plastic tag clipped to my shirt with my name printed on it? Do you see a little Asian child with a blank expression on his face sitting outside on a mechanical helicopter that shakes when you put quarters in it? No? Well, thats what you see at a toy store. And you must think youre in a toy store, because youre here shopping for an infant named Jeb. My moneys in that office, right? If she start giving me some bullshit about it aint there, and we got to go someplace else and get it, Im gonna shoot you in the head then and there. Then Im gonna shoot that bitch in the kneecaps, find out where my goddamn money is. She gonna tell me too. Hey, look at me when Im talking to you, motherfucker. You listen: we go in there, and that nigga Winston or anybody else is in there, you the first motherfucker to get shot. You understand? @@ -16,7 +18,7 @@ Do you see any Teletubbies in here? Do you see a slender plastic tag clipped to {{> @headline headline='Sicherheitsmaßnahmen'}}
- {{> @securitymeasurelist}} + {{> @taglist}}
@@ -33,24 +35,11 @@ Do you see any Teletubbies in here? Do you see a slender plastic tag clipped to
    + {{#each images}}
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - +
  • + {{/each}}