From 8a79068ba6851d734e7855ebda9fffdb6437ae32 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Fri, 4 Sep 2020 21:57:29 +0200 Subject: [PATCH] Useless home text change. --- .../02_Molecules/textSection/textSection.hbs | 4 ++- components/04_Templates/codex/_codex.scss | 2 +- components/04_Templates/home/home.config.json | 3 +++ components/04_Templates/home/home.hbs | 4 +-- public/main.css | 26 +++++++++---------- 5 files changed, 21 insertions(+), 18 deletions(-) diff --git a/components/02_Molecules/textSection/textSection.hbs b/components/02_Molecules/textSection/textSection.hbs index 1f79d1d..0a0d8d6 100644 --- a/components/02_Molecules/textSection/textSection.hbs +++ b/components/02_Molecules/textSection/textSection.hbs @@ -3,6 +3,8 @@ {{> @headline headline=headline}}
- {{> @paragraph text=text}} + {{#each paragraphs}} + {{> @paragraph text=this}} + {{/each}}
\ No newline at end of file diff --git a/components/04_Templates/codex/_codex.scss b/components/04_Templates/codex/_codex.scss index ad969ba..9e40e51 100644 --- a/components/04_Templates/codex/_codex.scss +++ b/components/04_Templates/codex/_codex.scss @@ -1,7 +1,7 @@ .LP-TextSection{ - margin-right: 25%; .LP-Link{ + font-family: $-primary-serif-font; margin: 0 3px; padding: 4px 4px; } diff --git a/components/04_Templates/home/home.config.json b/components/04_Templates/home/home.config.json index 5647da2..e7ae32a 100644 --- a/components/04_Templates/home/home.config.json +++ b/components/04_Templates/home/home.config.json @@ -1,5 +1,8 @@ { "context":{ + "paragraphs": [ + "Welcome to our Urban Exploration community catalogue, explorer", "We strictly follow our UrBex codex and expect you to do so, too.", "You can create, view and share your favorite lost places with other members of this site. You can upload photos, place links to your web galleries and contribute your knowledge by tagging other places or commenting on them. You will find detailed information on where these locations are, how to get there and what to expect from them. This might even include detailed information on the surroundings or the history of a lost place.", "Since vandalism is a growing problem these days, no sensitive information is available to the public. You have to sign up with a voucher code as an invitation to join this community. Only admins can create these codes. Usually you are given a code when we know you in real life in person. A request from an unknown person will most probably be denied." + ], "places": [ { "image": "/images/photo_2020-04-09_18-27-13.jpg", diff --git a/components/04_Templates/home/home.hbs b/components/04_Templates/home/home.hbs index b79e53d..1e8900e 100644 --- a/components/04_Templates/home/home.hbs +++ b/components/04_Templates/home/home.hbs @@ -1,5 +1,3 @@ - {{> @textsection headline='At vero eos et accusam et justo duo dolores' text='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. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. 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. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.'}} + {{> @textsection headline='Start'}} {{> @placegrid places=places}} - -Icons made by Freepik from www.flaticon.com \ No newline at end of file diff --git a/public/main.css b/public/main.css index 7385537..370c1d7 100644 --- a/public/main.css +++ b/public/main.css @@ -1493,19 +1493,19 @@ body { padding: 0; margin-bottom: 25px; } } -.LP-TextSection { - margin-right: 25%; } - .LP-TextSection .LP-Link { - margin: 0 3px; - padding: 4px 4px; } - .LP-TextSection .LP-UnorderedList { - font-family: "Crimson Text", Times, serif; - font-size: 1.4rem; } - .LP-TextSection .LP-UnorderedList li { - margin-bottom: 0.75em; - list-style-type: square; - margin-left: 2em; - padding-left: 1em; } +.LP-TextSection .LP-Link { + font-family: "Crimson Text", Times, serif; + margin: 0 3px; + padding: 4px 4px; } + +.LP-TextSection .LP-UnorderedList { + font-family: "Crimson Text", Times, serif; + font-size: 1.4rem; } + .LP-TextSection .LP-UnorderedList li { + margin-bottom: 0.75em; + list-style-type: square; + margin-left: 2em; + padding-left: 1em; } .tagify { display: flex;