add header, footer, etc to various static pages for the new client (#8996)

This commit is contained in:
Alys
2017-08-28 08:05:37 +10:00
committed by GitHub
parent 9436c83919
commit fd05286e1a
9 changed files with 943 additions and 791 deletions

View File

@@ -1,28 +1,44 @@
<template lang="pug">
.row
.col-6.offset-3
.page-header
h1 {{ $t('overview') }}
p {{ $t('needTips') }}
div(v-for='step in stepsNum')
h3 {{ $t('step'+step) }}
p(v-markdown="$t('webStep'+step+'Text')")
hr
p(v-markdown="$t('overviewQuestions')")
div
static-header
.container-fluid
.row
.col-md-6.offset-3
h1 {{ $t('overview') }}
p {{ $t('needTips') }}
div(v-for='step in stepsNum')
h3 {{ $t('step'+step) }}
p(v-markdown="$t('webStep'+step+'Text')")
hr
p(v-markdown="$t('overviewQuestions')")
app-footer
</template>
<script>
import markdownDirective from 'client/directives/markdown';
<style lang='scss' scoped>
@import '~client/assets/scss/static.scss';
export default {
directives: {
markdown: markdownDirective,
},
data () {
return {
stepsNum: ['1', '2', '3'],
};
},
};
.container-fluid {
margin-top: 56px;
}
</style>
<script>
import AppFooter from 'client/components/appFooter';
import StaticHeader from './header.vue';
import markdownDirective from 'client/directives/markdown';
export default {
components: {
AppFooter,
StaticHeader,
},
directives: {
markdown: markdownDirective,
},
data () {
return {
stepsNum: ['1', '2', '3'],
};
},
};
</script>