add basic custom booter layout

This commit is contained in:
mahula 2023-11-16 22:42:43 +01:00
parent bd30ee0b8c
commit b846f6273a
2 changed files with 29 additions and 0 deletions

8
.vuepress/client.js Normal file
View File

@ -0,0 +1,8 @@
import { defineClientConfig } from '@vuepress/client'
import Layout from './layouts/Layout.vue'
export default defineClientConfig({
layouts: {
Layout,
},
})

View File

@ -0,0 +1,21 @@
<script setup>
import ParentLayout from '@vuepress/theme-default/layouts/Layout.vue'
</script>
<template>
<ParentLayout>
<template #page-bottom>
<div class="my-footer">CC BY busFaktor() e.V. & Authors</div>
</template>
</ParentLayout>
</template>
<style lang="css">
.my-footer {
text-align: center;
height: 50px;
position: relative;
bottom: 0;
width: 100%;
}
</style>