mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Added regsiter page and styles (#8836)
* Added regsiter page and styles * Added style updates * Added login server connection and logout * Added login * Added social auth * Moved image assests * Added trasnlations * Added social icons * Removed duplicate * Updated shrinkwrap
This commit is contained in:
@@ -7,6 +7,9 @@ import EmptyView from './components/emptyView';
|
||||
import ParentPage from './components/parentPage';
|
||||
import Page from './components/page';
|
||||
|
||||
// Static Pages
|
||||
const Home = () => import(/* webpackChunkName: "static" */'./components/static/home');
|
||||
const RegisterLogin = () => import(/* webpackChunkName: "auth" */'./components/auth/registerLogin');
|
||||
|
||||
// All the main level
|
||||
// components are loaded in separate webpack chunks.
|
||||
@@ -45,6 +48,9 @@ export default new VueRouter({
|
||||
return { x: 0, y: 0 };
|
||||
},
|
||||
routes: [
|
||||
{ name: 'home', path: '/home', component: Home },
|
||||
{ name: 'register', path: '/register', component: RegisterLogin },
|
||||
{ name: 'login', path: '/login', component: RegisterLogin },
|
||||
{ name: 'tasks', path: '/', component: UserTasks },
|
||||
{
|
||||
path: '/inventory',
|
||||
|
||||
Reference in New Issue
Block a user