mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
add header, footer, etc to various static pages for the new client (#8996)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user