Client - init "About" page and admin contact in footer
+ add missing translations
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user