add website config.
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
import Login from "../Login.vue"
|
||||
import Signup from "../Signup.vue"
|
||||
import Header from "../Header.vue"
|
||||
import { useConfigStore } from "../store/config"
|
||||
|
||||
const configStore = useConfigStore()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -12,6 +15,7 @@ import Header from "../Header.vue"
|
||||
<n-layout-content content-style="padding: 16px; overflow-x: initial">
|
||||
<router-view></router-view>
|
||||
</n-layout-content>
|
||||
<p class="footer">{{ configStore.config?.website_footer }}</p>
|
||||
<Login />
|
||||
<Signup />
|
||||
</n-layout>
|
||||
@@ -21,4 +25,8 @@ import Header from "../Header.vue"
|
||||
.header {
|
||||
padding: 8px;
|
||||
}
|
||||
.footer {
|
||||
text-align: center;
|
||||
margin: 20px 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user