Client - init "About" page and admin contact in footer

+  add missing translations
This commit is contained in:
Sam
2022-03-26 09:46:15 +01:00
parent 49100c27e7
commit 614c888ec4
17 changed files with 212 additions and 27 deletions

View File

@ -15,6 +15,7 @@ import UserPreferencesEdition from '@/components/User/ProfileEdition/UserPrefere
import UserSportPreferences from '@/components/User/UserSportPreferences.vue'
import store from '@/store'
import { AUTH_USER_STORE } from '@/store/constants'
import AboutView from '@/views/AboutView.vue'
import Dashboard from '@/views/Dashboard.vue'
import NotFoundView from '@/views/NotFoundView.vue'
import LoginOrRegister from '@/views/user/LoginOrRegister.vue'
@ -274,6 +275,11 @@ const routes: Array<RouteRecordRaw> = [
},
],
},
{
path: '/about',
name: 'About',
component: AboutView,
},
{
path: '/:pathMatch(.*)*',
name: 'not-found',
@ -298,7 +304,7 @@ const pathsWithoutAuthentication = [
'/account-confirmation/email-sent',
]
const pathsWithoutChecks = ['/email-update']
const pathsWithoutChecks = ['/email-update', '/about']
router.beforeEach((to, from, next) => {
store