From 37947805743b3526ea828dbf26e4152dd65ca755 Mon Sep 17 00:00:00 2001 From: Valentin Kaelin Date: Tue, 16 Apr 2019 21:28:42 +0900 Subject: [PATCH] Fix homepage --- client/package-lock.json | 47 ++++++++++++++++++++-------- client/src/assets/css/base.css | 38 +++++++++++++++++++++- client/src/components/SearchForm.vue | 11 +++++-- client/src/views/Home.vue | 35 +++++++++++++++++++-- 4 files changed, 112 insertions(+), 19 deletions(-) diff --git a/client/package-lock.json b/client/package-lock.json index e65b10e..66fac0d 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -2767,7 +2767,8 @@ "version": "4.6.0", "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", - "dev": true + "dev": true, + "optional": true }, "coa": { "version": "2.0.2", @@ -5043,7 +5044,8 @@ "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "aproba": { "version": "1.2.0", @@ -5064,12 +5066,14 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, + "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -5084,17 +5088,20 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "core-util-is": { "version": "1.0.2", @@ -5211,7 +5218,8 @@ "inherits": { "version": "2.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "ini": { "version": "1.3.5", @@ -5223,6 +5231,7 @@ "version": "1.0.0", "bundled": true, "dev": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -5237,6 +5246,7 @@ "version": "3.0.4", "bundled": true, "dev": true, + "optional": true, "requires": { "brace-expansion": "^1.1.7" } @@ -5244,12 +5254,14 @@ "minimist": { "version": "0.0.8", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "minipass": { "version": "2.3.5", "bundled": true, "dev": true, + "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -5268,6 +5280,7 @@ "version": "0.5.1", "bundled": true, "dev": true, + "optional": true, "requires": { "minimist": "0.0.8" } @@ -5348,7 +5361,8 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "object-assign": { "version": "4.1.1", @@ -5360,6 +5374,7 @@ "version": "1.4.0", "bundled": true, "dev": true, + "optional": true, "requires": { "wrappy": "1" } @@ -5445,7 +5460,8 @@ "safe-buffer": { "version": "5.1.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "safer-buffer": { "version": "2.1.2", @@ -5481,6 +5497,7 @@ "version": "1.0.2", "bundled": true, "dev": true, + "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -5500,6 +5517,7 @@ "version": "3.0.1", "bundled": true, "dev": true, + "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -5543,12 +5561,14 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "yallist": { "version": "3.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true } } }, @@ -9435,7 +9455,8 @@ "version": "4.0.8", "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz", "integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=", - "dev": true + "dev": true, + "optional": true }, "rx-lite-aggregates": { "version": "4.0.8", diff --git a/client/src/assets/css/base.css b/client/src/assets/css/base.css index 2c010f0..770568a 100644 --- a/client/src/assets/css/base.css +++ b/client/src/assets/css/base.css @@ -1 +1,37 @@ -@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700,900'); \ No newline at end of file +@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700,900'); + +.transition-all { + transition-property: all; +} + +.transition-fastest { + transition-duration: 50ms; +} + +.transition-faster { + transition-duration: 100ms; +} + +.transition-fast { + transition-duration: 150ms; +} + +.transition-medium { + transition-duration: 200ms; +} + +.ease-out-quad { + transition-timing-function: cubic-bezier(.25, .46, .45, .94); +} + +.ease-in-quad { + transition-timing-function: cubic-bezier(.55, .085, .68, .53); +} + +.scale-70 { + transform: scale(.7); +} + +.scale-100 { + transform: scale(1); +} \ No newline at end of file diff --git a/client/src/components/SearchForm.vue b/client/src/components/SearchForm.vue index 7818559..8c6df4a 100644 --- a/client/src/components/SearchForm.vue +++ b/client/src/components/SearchForm.vue @@ -17,7 +17,14 @@ - +
{{ region }} diff --git a/client/src/views/Home.vue b/client/src/views/Home.vue index fd09854..427af70 100644 --- a/client/src/views/Home.vue +++ b/client/src/views/Home.vue @@ -1,10 +1,16 @@