mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
add basic custom booter layout
This commit is contained in:
parent
bd30ee0b8c
commit
b846f6273a
8
.vuepress/client.js
Normal file
8
.vuepress/client.js
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
import { defineClientConfig } from '@vuepress/client'
|
||||||
|
import Layout from './layouts/Layout.vue'
|
||||||
|
|
||||||
|
export default defineClientConfig({
|
||||||
|
layouts: {
|
||||||
|
Layout,
|
||||||
|
},
|
||||||
|
})
|
||||||
21
.vuepress/layouts/Layout.vue
Normal file
21
.vuepress/layouts/Layout.vue
Normal 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>
|
||||||
Loading…
x
Reference in New Issue
Block a user