From 91f9aacb79726b5ad8af1d2a441ec749ba9fcd59 Mon Sep 17 00:00:00 2001 From: senderfm Date: Wed, 3 Jul 2019 08:26:15 +0200 Subject: [PATCH 01/31] full ads width use with small devices --- backend/src/config/index.js | 18 +++++++++++++++--- webapp/assets/styles/main.scss | 8 +++++++- webapp/layouts/default.vue | 2 +- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/backend/src/config/index.js b/backend/src/config/index.js index 320b636e9..53415f050 100644 --- a/backend/src/config/index.js +++ b/backend/src/config/index.js @@ -19,7 +19,11 @@ const { GRAPHQL_URI = 'http://localhost:4000', } = process.env -export const requiredConfigs = { MAPBOX_TOKEN, JWT_SECRET, PRIVATE_KEY_PASSPHRASE } +export const requiredConfigs = { + MAPBOX_TOKEN, + JWT_SECRET, + PRIVATE_KEY_PASSPHRASE, +} export const smtpConfigs = { SMTP_HOST, SMTP_PORT, @@ -27,8 +31,16 @@ export const smtpConfigs = { SMTP_USERNAME, SMTP_PASSWORD, } -export const neo4jConfigs = { NEO4J_URI, NEO4J_USERNAME, NEO4J_PASSWORD } -export const serverConfigs = { GRAPHQL_PORT, CLIENT_URI, GRAPHQL_URI } +export const neo4jConfigs = { + NEO4J_URI, + NEO4J_USERNAME, + NEO4J_PASSWORD, +} +export const serverConfigs = { + GRAPHQL_PORT, + CLIENT_URI, + GRAPHQL_URI, +} export const developmentConfigs = { DEBUG: process.env.NODE_ENV !== 'production' && process.env.DEBUG === 'true', diff --git a/webapp/assets/styles/main.scss b/webapp/assets/styles/main.scss index 560249b4a..35e0e2e51 100644 --- a/webapp/assets/styles/main.scss +++ b/webapp/assets/styles/main.scss @@ -24,9 +24,11 @@ $easeOut: cubic-bezier(0.19, 1, 0.22, 1); transition: opacity 80ms ease-out; transition-delay: 80ms; } + .layout-leave-active { transition: opacity 80ms ease-in; } + .layout-enter, .layout-leave-active { opacity: 0; @@ -39,6 +41,7 @@ $easeOut: cubic-bezier(0.19, 1, 0.22, 1); opacity: 1; transform: translate3d(0, 0, 0); } + .slide-up-enter, .slide-up-leave-active { opacity: 0; @@ -66,7 +69,8 @@ blockquote { border-left: 3px dotted $color-neutral-70; &::before { - content: '\201C'; /*Unicode for Left Double Quote*/ + content: '\201C'; + /*Unicode for Left Double Quote*/ /*Font*/ font-size: $font-size-xxxx-large; @@ -83,6 +87,7 @@ blockquote { margin-top: 0; } } + .main-navigation { box-shadow: $box-shadow-base; position: fixed; @@ -105,6 +110,7 @@ hr { [class$='menu-trigger'] { user-select: none; } + [class$='menu-popover'] { display: inline-block; diff --git a/webapp/layouts/default.vue b/webapp/layouts/default.vue index e3fc1cccd..9743adb6d 100644 --- a/webapp/layouts/default.vue +++ b/webapp/layouts/default.vue @@ -88,7 +88,7 @@ -
+
From ccafc8709cda253c4c6fc771a0727b82f9165921 Mon Sep 17 00:00:00 2001 From: senderfm Date: Wed, 3 Jul 2019 12:29:24 +0200 Subject: [PATCH 02/31] fixed a bug --- webapp/layouts/default.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/webapp/layouts/default.vue b/webapp/layouts/default.vue index 9743adb6d..d52e1e88c 100644 --- a/webapp/layouts/default.vue +++ b/webapp/layouts/default.vue @@ -86,9 +86,12 @@
- +
+
+
+
-
+
From 9d6d47cebb292ed145c1fbee2b3ac0e0c8431e39 Mon Sep 17 00:00:00 2001 From: senderfm Date: Thu, 4 Jul 2019 10:22:03 +0200 Subject: [PATCH 03/31] large images are set to maximum height --- webapp/components/PostCard/index.vue | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/webapp/components/PostCard/index.vue b/webapp/components/PostCard/index.vue index ade2d9175..bce2d1b95 100644 --- a/webapp/components/PostCard/index.vue +++ b/webapp/components/PostCard/index.vue @@ -8,9 +8,7 @@ - {{ post.title }} - + >{{ post.title }}
@@ -128,6 +126,15 @@ export default { diff --git a/webapp/locales/de.json b/webapp/locales/de.json index 430402c84..e937b65f0 100644 --- a/webapp/locales/de.json +++ b/webapp/locales/de.json @@ -2,6 +2,21 @@ "filter-menu": { "title": "Deine Filterblase" }, + "site": { + "made": "Mit ❤ gemacht", + "imprint": "Impressum", + "termsAc": "Nutzungsbedingungen", + "privacy": "Datenschutz", + "changelog": "Änderungen & Verlauf", + "contact": "Kontakt", + "tribunal": "Registergericht", + "register": "Registernummer", + "director": "Geschäftsführer", + "taxident": "Umsatzsteuer-Identifikationsnummer gemäß § 27 a Umsatzsteuergesetz (Deutschland)", + "responsible": "Verantwortlicher gemäß § 55 Abs. 2 RStV ", + "bank": "Bankverbindung", + "germany": "Deutschland" + }, "login": { "copy": "Wenn Du bereits ein Konto bei Human Connection hast, melde Dich bitte hier an.", "login": "Einloggen", diff --git a/webapp/locales/en.json b/webapp/locales/en.json index de5884f61..6f01db0ae 100644 --- a/webapp/locales/en.json +++ b/webapp/locales/en.json @@ -2,6 +2,20 @@ "filter-menu": { "title": "Your filter bubble" }, + "site": { + "made": "With ❤ made", + "imprint": "Imprint", + "termsAc": "terms and conditions", + "privacy": "data protection", + "changelog": "Changes & History", + "contact": "Contact", + "tribunal": "register court", + "register": "register number", + "director": "Managing Director", + "taxident": "Value added tax identification number according to § 27 a Value Added Tax Act (Germany)", + "responsible": "Responsible according to § 55 Abs. 2 RStV (Germany) ", + "bank": "bank account" + }, "login": { "copy": "If you already have a human-connection account, login here.", "login": "Login", diff --git a/webapp/locales/es.json b/webapp/locales/es.json index dc2c44a1f..823b90205 100644 --- a/webapp/locales/es.json +++ b/webapp/locales/es.json @@ -2,6 +2,20 @@ "filter-menu": { "title": "Su burbuja de filtro" }, + "site": { + "made": "Con ❤ realizado", + "imprint": "Pie de imprenta", + "termsAc": "términos y condiciones", + "privacy": "protección de datos", + "changelog": "Cambios e historia", + "contact": "Contacto", + "tribunal": "tribunal de registro", + "register": "número de registro", + "director": "Director General", + "taxident": "Número de identificación del impuesto sobre el valor añadido según el § 27 a de la Ley del Impuesto sobre el Valor Añadido (Alemania)", + "responsible": "Responsable según § 55 Abs. 2 RStV (Alemania)", + "bank": "cuenta" + }, "login": { "copy": "Si ya tiene una cuenta de Human Connection, inicie sesión aquí.", "login": "Iniciar sesión", diff --git a/webapp/locales/fr.json b/webapp/locales/fr.json index cfcabc221..a036c3d4c 100644 --- a/webapp/locales/fr.json +++ b/webapp/locales/fr.json @@ -2,6 +2,20 @@ "filter-menu": { "title": "Votre bulle de filtre" }, + "site": { + "made": "Avec ❤ fait", + "imprint": "Mentions légales", + "termsAc": "modalités et conditions", + "privacy": "protection des données", + "changelog": "Changements et historique", + "contact": "Contacter", + "tribunal": "tribunal de registre", + "register": "numéro de registre", + "director": "Directeur Général", + "taxident": "Numéro d'identification à la taxe sur la valeur ajoutée selon § 27 a de la loi sur la taxe sur la valeur ajoutée (Allemagne)", + "responsible": "Responsable selon § 55 Abs. 2 RStV (Allemagne)", + "bank": "Bankverbindung" + }, "login": { "copy": "Si vous avez déjà un compte human-connection, connectez-vous ici.", "login": "Connexion", diff --git a/webapp/locales/it.json b/webapp/locales/it.json index 25005a07a..968ee3269 100644 --- a/webapp/locales/it.json +++ b/webapp/locales/it.json @@ -1,4 +1,19 @@ { + "site": { + "made": "Con ❤ fatto", + "imprint": "Impressum", + "termsAc": "Condizioni d'uso", + "privacy": "protezione dei dati", + "changelog": "Cambiamenti e storia", + "contact": "Contatto", + "tribunal": "registro tribunale", + "register": "numero di registro", + "director": "Direttore Generale", + "taxident": "Numero di identificazione dell'imposta sul valore aggiunto ai sensi del § 27 a Legge sull'imposta sul valore aggiunto (Germania)", + "responsible": "Responsabile ai sensi del § 55 Abs. 2 RStV (Germania)", + "bank": "conto bancario", + "germany": "Germania" + }, "login": { "copy": "Se sei gia registrato su Human Connection, accedi qui.", "login": "Accesso", @@ -126,4 +141,4 @@ "edit": "Modifica", "delete": "Cancella" } -} \ No newline at end of file +} diff --git a/webapp/locales/nl.json b/webapp/locales/nl.json index 6c52877a4..a2bde02f1 100644 --- a/webapp/locales/nl.json +++ b/webapp/locales/nl.json @@ -1,4 +1,19 @@ { + "site": { + "made": "Met ❤ gemaakt", + "imprint": "Afdruk", + "termsAc": "Gebruiksvoorwaarden", + "privacy": "gegevensbescherming", + "changelog": "Veranderingen & Geschiedenis", + "contact": "contact", + "tribunal": "registerrechtbank", + "register": "inschrijfnummer", + "director": "Directeur", + "taxident": "Identificatienummer voor de belasting over de toegevoegde waarde overeenkomstig § 27 a Wet op de belasting over de toegevoegde waarde (Duitsland).", + "responsible": "Verantwoordelijk volgens § 55 Abs. 2 RStV (Duitsland).", + "bank": "bankrekening", + "germany": "Duitsland" + }, "login": { "copy": "Als u al een mini-aansluiting account heeft, log dan hier in.", "login": "Inloggen", @@ -156,4 +171,4 @@ "shoutButton": { "shouted": "uitgeroepen" } -} \ No newline at end of file +} diff --git a/webapp/locales/pl.json b/webapp/locales/pl.json index 506a04f1b..f53d95c3d 100644 --- a/webapp/locales/pl.json +++ b/webapp/locales/pl.json @@ -1,4 +1,19 @@ { + "site": { + "made": "Z ❤ zrobiony", + "imprint": "Nadruk", + "termsAc": "Warunki użytkowania", + "privacy": "ochrona danych", + "changelog": "Zmiany i historia", + "contact": "Kontakt", + "tribunal": "sąd rejestrowy", + "register": "numer rejestracyjny", + "director": "Dyrektor zarządzający", + "taxident": "Numer identyfikacyjny podatku od wartości dodanej zgodnie z § 27 a Ustawa o podatku od wartości dodanej (Niemcy)", + "responsible": "Odpowiedzialny zgodnie z § 55 Abs. 2 RStV (Niemcy)", + "bank": "rachunek bankowy", + "germany": "Niemcy" + }, "login": { "copy": "Jeśli masz już konto Human Connection, zaloguj się tutaj.", "login": "logowanie", @@ -187,4 +202,4 @@ "shoutButton": { "shouted": "krzyczeć" } -} \ No newline at end of file +} diff --git a/webapp/locales/pt.json b/webapp/locales/pt.json index 0636ba6f9..d84e00c08 100644 --- a/webapp/locales/pt.json +++ b/webapp/locales/pt.json @@ -1,4 +1,20 @@ { + "site": { + "made": "Com ❤ feito", + "imprint": "Impressão", + "termsAc": "termos e condições", + "privacy": "protecção de dados", + "changelog": "Mudanças e Histórico", + "contact": "Contato", + "tribunal": "tribunal", + "tribunal": "tribunal de registo", + "register": "número de registo", + "director": "Diretor Administrativo", + "taxident": "Número de identificação do imposto sobre o valor acrescentado de acordo com o § 27 da Lei do Imposto sobre o Valor Acrescentado (Alemanha)", + "responsible": "Responsável segundo § 55 Abs. 2 RStV (Alemanha) ", + "bank": "conta bancária", + "germany": "Alemanha" + }, "login": { "copy": "Se você já tem uma conta no Human Connection, entre aqui.", "login": "Entrar", @@ -187,4 +203,4 @@ "shoutButton": { "shouted": "Aclamou" } -} \ No newline at end of file +} diff --git a/webapp/pages/admin.vue b/webapp/pages/admin.vue index 0cbee05d5..818cb58b5 100644 --- a/webapp/pages/admin.vue +++ b/webapp/pages/admin.vue @@ -1,8 +1,6 @@