diff --git a/package-lock.json b/package-lock.json index 77d9c14..27e3e49 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7109,7 +7109,8 @@ "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "aproba": { "version": "1.2.0", @@ -7130,12 +7131,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" @@ -7150,17 +7153,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", @@ -7277,7 +7283,8 @@ "inherits": { "version": "2.0.4", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "ini": { "version": "1.3.5", @@ -7289,6 +7296,7 @@ "version": "1.0.0", "bundled": true, "dev": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -7303,6 +7311,7 @@ "version": "3.0.4", "bundled": true, "dev": true, + "optional": true, "requires": { "brace-expansion": "^1.1.7" } @@ -7310,12 +7319,14 @@ "minimist": { "version": "1.2.5", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "minipass": { "version": "2.9.0", "bundled": true, "dev": true, + "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -7334,6 +7345,7 @@ "version": "0.5.3", "bundled": true, "dev": true, + "optional": true, "requires": { "minimist": "^1.2.5" } @@ -7395,7 +7407,8 @@ "npm-normalize-package-bin": { "version": "1.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "npm-packlist": { "version": "1.4.8", @@ -7423,7 +7436,8 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "object-assign": { "version": "4.1.1", @@ -7435,6 +7449,7 @@ "version": "1.4.0", "bundled": true, "dev": true, + "optional": true, "requires": { "wrappy": "1" } @@ -7512,7 +7527,8 @@ "safe-buffer": { "version": "5.1.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "safer-buffer": { "version": "2.1.2", @@ -7548,6 +7564,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", @@ -7567,6 +7584,7 @@ "version": "3.0.1", "bundled": true, "dev": true, + "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -7610,12 +7628,14 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "yallist": { "version": "3.1.1", "bundled": true, - "dev": true + "dev": true, + "optional": true } } }, @@ -14376,6 +14396,11 @@ } } }, + "vue-fragment": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/vue-fragment/-/vue-fragment-1.5.1.tgz", + "integrity": "sha512-ig6eES6TcMBbANW71ylB+AJgRN+Zksb3f50AxjGpAk6hMzqmeuD80qeh4LJP0jVw2dMBMjgRUfIkrvxygoRgtQ==" + }, "vue-hot-reload-api": { "version": "2.3.4", "resolved": "https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz", diff --git a/package.json b/package.json index 75e1656..6c4799c 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "core-js": "^3.6.4", "register-service-worker": "^1.6.2", "vue": "^2.6.11", + "vue-fragment": "^1.5.1", "vue-i18n": "^8.0.0", "vue-router": "^3.1.5", "vuex": "^3.1.2", diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index a4537e1..c56c50b 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -24,14 +24,15 @@ h1, h2 ,h3 ,h4 ,h5 ,h6 { .page-container { margin: auto; max-width: 1200px; - &.home main { margin: 0 auto; - @media #{$desktop} { max-width: 800px; + min-height: 100vh; + display: flex; + flex-direction: column; + justify-content: space-between; } - @media #{$tablet} { max-width: 600px; } diff --git a/src/components/Card.vue b/src/components/Card.vue index 1e0613a..b547e03 100644 --- a/src/components/Card.vue +++ b/src/components/Card.vue @@ -17,6 +17,7 @@ export default { padding: 30px 20px; margin: 0 5px; text-align: center; + height: 400px; @include shadow(30); } diff --git a/src/components/DashboardNavigation.vue b/src/components/DashboardNavigation.vue new file mode 100644 index 0000000..2a26ce1 --- /dev/null +++ b/src/components/DashboardNavigation.vue @@ -0,0 +1,77 @@ + + + + + {{ $t('meta.title') }} + + + + Offene Tasks + + + Meine Tasks + + {{ email }} + + + + + + + diff --git a/src/components/EditIssueCard.vue b/src/components/EditIssueCard.vue new file mode 100644 index 0000000..4b0e4a6 --- /dev/null +++ b/src/components/EditIssueCard.vue @@ -0,0 +1,187 @@ + + + + + + + {{ city }} / + {{ zip }} + + {{ headline }} + {{ text }} + + + + + + + Deine Antwort + + + Senden + + + + + + + + diff --git a/src/components/IssueCard.vue b/src/components/IssueCard.vue index 4d9b294..589d572 100644 --- a/src/components/IssueCard.vue +++ b/src/components/IssueCard.vue @@ -19,11 +19,19 @@ - Übernehmen + Übernehmen + + + + Bearbeiten @@ -32,7 +40,7 @@ diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index 9b2b65c..f154f5a 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -1,7 +1,6 @@ - - {{ $t('dashboard.title') }} + {{ $t('dashboard.filter')}} @@ -36,17 +35,10 @@ - {{ $t('dashboard.open_requests')}} + {{ heading }} - - {{ $t('dashboard.open_requests')}} - - + @@ -54,26 +46,29 @@ -
{{ text }}