feat: design update, show avatar in navbar
This commit is contained in:
14
frontend/spa/src/views/BaseViewWrapper.vue
Normal file
14
frontend/spa/src/views/BaseViewWrapper.vue
Normal file
@@ -0,0 +1,14 @@
|
||||
<template>
|
||||
<main class="px-4 mt-4">
|
||||
<header v-if="title" class="font-bold uppercase mb-4">{{ title }}</header>
|
||||
<section>
|
||||
<slot></slot>
|
||||
</section>
|
||||
</main>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
const props = defineProps({
|
||||
title: String,
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user