Add onboarding page with first layout implementation
This commit is contained in:
parent
28a617e5f5
commit
62338a5ddb
|
|
@ -20,6 +20,7 @@
|
|||
import SimpleLayout from '@/layouts/SimpleLayout';
|
||||
import FullScreenLayout from '@/layouts/FullScreenLayout';
|
||||
import PublicLayout from '@/layouts/PublicLayout';
|
||||
import BlankLayout from '@/layouts/BlankLayout';
|
||||
import Modal from '@/components/Modal';
|
||||
import NewContentBlockWizard from '@/components/content-block-form/NewContentBlockWizard';
|
||||
import EditContentBlockWizard from '@/components/content-block-form/EditContentBlockWizard';
|
||||
|
|
@ -48,6 +49,7 @@
|
|||
SimpleLayout,
|
||||
FullScreenLayout,
|
||||
PublicLayout,
|
||||
BlankLayout,
|
||||
Modal,
|
||||
NewContentBlockWizard,
|
||||
EditContentBlockWizard,
|
||||
|
|
|
|||
|
|
@ -0,0 +1,14 @@
|
|||
<template>
|
||||
<div class="blank-layout">
|
||||
<router-view/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
.blank-layout {
|
||||
/*
|
||||
For IE11
|
||||
*/
|
||||
display: flex;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -0,0 +1,67 @@
|
|||
<template>
|
||||
<div class="onboarding">
|
||||
<div class="onboarding__content">
|
||||
<logo class="onboarding__logo"/>
|
||||
<h1 class="onboarding__heading">Herzlich willkommen!</h1>
|
||||
|
||||
<p class="onboarding__claim">
|
||||
Schauen Sie sich die Einführung an und lernen Sie mySkillbox kennen.
|
||||
</p>
|
||||
<a class="button onboarding__button button--primary button--big">Einführung starten</a>
|
||||
<a class="onboarding__secondary-link">Einführung überspringen</a>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Logo from '@/components/icons/Logo';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
Logo
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
@import "@/styles/_variables.scss";
|
||||
@import "@/styles/_mixins.scss";
|
||||
|
||||
.onboarding {
|
||||
background-color: $color-brand;
|
||||
padding-left: 30vw;
|
||||
display: flex;
|
||||
|
||||
&__content {
|
||||
background-color: $color-white;
|
||||
padding: 2*$large-spacing;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
&__logo {
|
||||
width: 300px;
|
||||
height: 50px;
|
||||
margin-bottom: 70px;
|
||||
}
|
||||
|
||||
&__heading {
|
||||
@include heading-2;
|
||||
}
|
||||
|
||||
&__claim {
|
||||
@include heading-2;
|
||||
margin-bottom: 70px;
|
||||
}
|
||||
|
||||
&__button {
|
||||
@include regular-text;
|
||||
flex-grow: 0;
|
||||
align-self: flex-start;
|
||||
}
|
||||
&__secondary-link {
|
||||
margin-top: auto;
|
||||
@include inline-title;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
@ -39,6 +39,7 @@ import oldClasses from '@/pages/oldClasses';
|
|||
import createClass from '@/pages/createClass';
|
||||
import showCode from '@/pages/showCode';
|
||||
import news from '@/pages/news';
|
||||
import onboarding from '@/pages/onboarding';
|
||||
|
||||
import store from '@/store/index';
|
||||
|
||||
|
|
@ -192,6 +193,12 @@ const routes = [
|
|||
component: news,
|
||||
name: 'news'
|
||||
},
|
||||
{
|
||||
path: '/onboarding',
|
||||
component: onboarding,
|
||||
name: 'onboarding',
|
||||
meta: {layout: 'blank'}
|
||||
},
|
||||
{path: '/styleguide', component: styleGuidePage},
|
||||
{path: '*', component: p404}
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in New Issue