diff --git a/src/App.vue b/src/App.vue index c67cd15..c99bc14 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,5 @@ + + + + diff --git a/src/components/auth/OnboardingComponent.vue b/src/components/auth/OnboardingComponent.vue new file mode 100644 index 0000000..37be7f8 --- /dev/null +++ b/src/components/auth/OnboardingComponent.vue @@ -0,0 +1,62 @@ + + + + + diff --git a/src/components/auth/OpenWalletComponent.vue b/src/components/auth/OpenWalletComponent.vue new file mode 100644 index 0000000..48c14c6 --- /dev/null +++ b/src/components/auth/OpenWalletComponent.vue @@ -0,0 +1,49 @@ + + + + + diff --git a/src/components/common/ButtonCommon.vue b/src/components/common/ButtonCommon.vue new file mode 100644 index 0000000..8d81e39 --- /dev/null +++ b/src/components/common/ButtonCommon.vue @@ -0,0 +1,5 @@ + diff --git a/src/components/common/FormCommon.vue b/src/components/common/FormCommon.vue new file mode 100644 index 0000000..6bf9595 --- /dev/null +++ b/src/components/common/FormCommon.vue @@ -0,0 +1,152 @@ + + + + + diff --git a/src/components/common/index.ts b/src/components/common/index.ts deleted file mode 100644 index 1bc8b64..0000000 --- a/src/components/common/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -import LayoutVue from './LayoutVue.vue' - -export { LayoutVue } diff --git a/src/components/icon/IconCommon.vue b/src/components/icon/IconCommon.vue new file mode 100644 index 0000000..49f4e12 --- /dev/null +++ b/src/components/icon/IconCommon.vue @@ -0,0 +1,31 @@ + + + diff --git a/src/components/icon/index.ts b/src/components/icon/index.ts new file mode 100644 index 0000000..d9702c1 --- /dev/null +++ b/src/components/icon/index.ts @@ -0,0 +1 @@ +export { default as IconCommon } from './IconCommon.vue' diff --git a/src/components/index.ts b/src/components/index.ts new file mode 100644 index 0000000..b5f3c2b --- /dev/null +++ b/src/components/index.ts @@ -0,0 +1,17 @@ +import LayoutVue from './common/LayoutVue.vue' +import ButtonCommon from './common/ButtonCommon.vue' +import FormCommon from './common/FormCommon.vue' +import OnboardingComponent from './auth/OnboardingComponent.vue' +import OpenWalletComponent from './auth/OpenWalletComponent.vue' +import CreateWalletComponent from './auth/CreateWalletComponent.vue' +import { IconCommon } from './icon' + +export { + LayoutVue, + ButtonCommon, + FormCommon, + OnboardingComponent, + OpenWalletComponent, + CreateWalletComponent, + IconCommon, +} diff --git a/src/interface/index.ts b/src/interface/index.ts new file mode 100644 index 0000000..5da786c --- /dev/null +++ b/src/interface/index.ts @@ -0,0 +1,9 @@ +interface Props { + name?: string + size?: number | string + color?: string + class?: string +} +export interface IconProps extends Props { + icon: string +} diff --git a/src/router/route.ts b/src/router/route.ts index 5bb6ebb..b061a14 100644 --- a/src/router/route.ts +++ b/src/router/route.ts @@ -34,4 +34,10 @@ export const routes: any = [ }, ], }, + { + path: '/onboarding', + name: 'onboarding', + component: Page.Login, + beforeEnter: ifNotAuthenticated, + }, ] diff --git a/src/views/Auth/LoginView.vue b/src/views/Auth/LoginView.vue new file mode 100644 index 0000000..5eae679 --- /dev/null +++ b/src/views/Auth/LoginView.vue @@ -0,0 +1,8 @@ + + + diff --git a/src/views/index.ts b/src/views/index.ts index 294b7c3..b39abfc 100644 --- a/src/views/index.ts +++ b/src/views/index.ts @@ -1,2 +1,3 @@ export const Home = () => import('@/views/Home/HomeView.vue') export const NotFound = () => import('@/views/NotFound/NotFoundView.vue') +export const Login = () => import('@/views/Auth/LoginView.vue')