diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 000000000..9d4508b38 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 Human-Connection gGmbH + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index fbbe2e770..f7d296f87 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,12 @@ -# Human Connection - NITRO Web -[![Build Status](https://travis-ci.com/Human-Connection/Nitro-Web.svg?branch=master)](https://travis-ci.com/Human-Connection/Nitro-Web) +

+ Human Connection +

+ +# NITRO Web +[![Build Status](https://img.shields.io/travis/com/Human-Connection/Nitro-Web/master.svg)](https://travis-ci.com/Human-Connection/Nitro-Web) +[![MIT License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/Human-Connection/Nitro-Web/blob/master/LICENSE.md) +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FHuman-Connection%2FNitro-Web.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FHuman-Connection%2FNitro-Web?ref=badge_shield) +[![Discord Channel](https://img.shields.io/discord/489522408076738561.svg)](https://discord.gg/6ub73U3) ![UI Screenshot](screenshot.png) @@ -52,3 +59,6 @@ Thanks lokalise.co that we can use your premium account! ## Attributions
Locale Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY
+ +## License +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FHuman-Connection%2FNitro-Web.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2FHuman-Connection%2FNitro-Web?ref=badge_large) diff --git a/nuxt.config.js b/nuxt.config.js index fba8d65a6..3fab93c35 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -43,7 +43,14 @@ module.exports = { { name: 'viewport', content: 'width=device-width, initial-scale=1' }, { hid: 'description', name: 'description', content: pkg.description } ], - link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }] + link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }], + script: [ + { + src: + 'https://polyfill.io/v3/polyfill.min.js?features=IntersectionObserver', + body: true + } + ] }, /* diff --git a/pages/login.vue b/pages/login.vue index 36829e0ee..846191c40 100644 --- a/pages/login.vue +++ b/pages/login.vue @@ -113,16 +113,16 @@ export default { } } }, - asyncData({ store, redirect }) { - if (store.getters['auth/isLoggedIn']) { - redirect('/') - } - }, computed: { pending() { return this.$store.getters['auth/pending'] } }, + asyncData({ store, redirect }) { + if (store.getters['auth/isLoggedIn']) { + redirect('/') + } + }, mounted() { setTimeout(() => { // NOTE: quick fix for jumping flexbox implementation