diff --git a/src/assets/icons/check.svg b/public/img/icons/check.svg similarity index 100% rename from src/assets/icons/check.svg rename to public/img/icons/check.svg diff --git a/src/assets/icons/desktop_outline.svg b/public/img/icons/desktop_outline.svg similarity index 100% rename from src/assets/icons/desktop_outline.svg rename to public/img/icons/desktop_outline.svg diff --git a/public/img/icons/landing_graphic.svg b/public/img/icons/landing_graphic.svg new file mode 100644 index 0000000..0c50fa5 --- /dev/null +++ b/public/img/icons/landing_graphic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/logo.svg b/public/img/icons/logo.svg new file mode 100644 index 0000000..671cd52 --- /dev/null +++ b/public/img/icons/logo.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + diff --git a/src/assets/icons/phone.svg b/public/img/icons/phone.svg similarity index 100% rename from src/assets/icons/phone.svg rename to public/img/icons/phone.svg diff --git a/src/assets/icons/phone_outline.svg b/public/img/icons/phone_outline.svg similarity index 100% rename from src/assets/icons/phone_outline.svg rename to public/img/icons/phone_outline.svg diff --git a/src/assets/icons/plus.svg b/public/img/icons/plus.svg similarity index 100% rename from src/assets/icons/plus.svg rename to public/img/icons/plus.svg diff --git a/src/App.vue b/src/App.vue index 3943904..7de07d6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,32 +1,5 @@ - - Home | - About - - - diff --git a/src/assets/icons/landing_graphic.svg b/src/assets/icons/landing_graphic.svg deleted file mode 100644 index c18283c..0000000 --- a/src/assets/icons/landing_graphic.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/assets/styles/_colors.scss b/src/assets/styles/_colors.scss index 5ea0248..7630e01 100644 --- a/src/assets/styles/_colors.scss +++ b/src/assets/styles/_colors.scss @@ -1 +1 @@ -$primary: #8A00EF; \ No newline at end of file +$primary: #526381; \ No newline at end of file diff --git a/src/assets/styles/_variables.scss b/src/assets/styles/_variables.scss index f391629..4189af4 100644 --- a/src/assets/styles/_variables.scss +++ b/src/assets/styles/_variables.scss @@ -1,2 +1,6 @@ $font-weight-regular: 400; -$font-weight-bold: 700; \ No newline at end of file +$font-weight-bold: 700; + +$desktop: "only screen and (min-width: 1024px)"; +$tablet: "only screen and (min-width: 768px) and (max-width: 1023px)"; +$mobile: "only screen and (max-width: 767px)"; diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 79ca858..b78fa1f 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -4,10 +4,36 @@ "_fonts.scss"; body { - color: $primary; - font-family: 'Lato', 'sans-serif'; + color: $primary; + font-family: 'Lato', 'sans-serif'; } * { - box-sizing: border-box; -} \ No newline at end of file + box-sizing: border-box; +} + +a { + color: $primary; + text-decoration: none; +} + +h1, h2 ,h3 ,h4 ,h5 ,h6 { + font-family: 'Baloo 2', 'sans-serif'; +} + +.page-container { + margin: auto; + max-width: 1200px; + + &.home main { + margin: 0 auto; + + @media #{$desktop} { + max-width: 800px; + } + + @media #{$tablet} { + max-width: 600px; + } + } +} diff --git a/src/components/Card.vue b/src/components/Card.vue new file mode 100644 index 0000000..4e5312b --- /dev/null +++ b/src/components/Card.vue @@ -0,0 +1,22 @@ + + + + + + + + + diff --git a/src/components/Header.vue b/src/components/Header.vue new file mode 100644 index 0000000..779c3c5 --- /dev/null +++ b/src/components/Header.vue @@ -0,0 +1,108 @@ + + + + + {{ $t('meta.title') }} + + + {{ $t('meta.phone') }} + + + + + + + + + + diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue deleted file mode 100644 index 8a3b827..0000000 --- a/src/components/HelloWorld.vue +++ /dev/null @@ -1,62 +0,0 @@ - - - {{ msg }} - - For a guide and recipes on how to configure / customize this project, - check out the - vue-cli documentation. - - Installed CLI Plugins - - babel - pwa - router - vuex - eslint - unit-jest - - Essential Links - - Core Docs - Forum - Community Chat - Twitter - News - - Ecosystem - - vue-router - vuex - vue-devtools - vue-loader - awesome-vue - - - - - - - - diff --git a/src/components/Navigation.vue b/src/components/Navigation.vue new file mode 100644 index 0000000..c0cfb10 --- /dev/null +++ b/src/components/Navigation.vue @@ -0,0 +1,52 @@ + + + + + {{ $t('navigation.imprint') }} + + + {{ $t('navigation.wirvsvirus') }} + + + + {{ $t('navigation.contribute') }} + + + + + + + + + diff --git a/src/components/RegistrationForm.vue b/src/components/RegistrationForm.vue new file mode 100644 index 0000000..7830fe2 --- /dev/null +++ b/src/components/RegistrationForm.vue @@ -0,0 +1,88 @@ + + + + {{ $t('home.overlay.hello') }} + {{ $t('home.overlay.main') }} + + + + {{ $t('home.overlay.help_us') }} + + + + + + + + + + + + diff --git a/src/locales/de.json b/src/locales/de.json index 8a5aef7..c9b8657 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -1,5 +1,20 @@ { "meta": { - "title": "Hilfstelefon" + "title": "Hilfstelefon", + "phone": "0800 7237019441" + }, + "home": { + "main": "Ruf uns an und stelle deine Frage. Wir suchen dir eine Antwort und rufen dich zurück und vermitteln dir einen Helfer in deiner Nähe.", + "overlay": { + "hello": "Hallo?", + "main": "Wie können wir Menschen ohne Zugang zu sozialen Netzwerken mit anderen Menschen vernetzen?", + "help_us": "Hilf uns!", + "email_placeholder": "deine@email.de" + } + }, + "navigation": { + "imprint": "Impressum", + "wirvsvirus": "#WirVsVirus", + "contribute": "Contribute" } } diff --git a/src/views/Home.vue b/src/views/Home.vue index 6655f97..30cf105 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -1,19 +1,68 @@ - - {{ $t('meta.title') }} - - + + + + + + + + {{ $t('home.main') }} + + + + + + + +
- For a guide and recipes on how to configure / customize this project, - check out the - vue-cli documentation. -