new dynamic title
This commit is contained in:
@@ -1,30 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
definePageMeta({
|
||||
layout: "dashboard"
|
||||
layout: "dash-settings",
|
||||
title: "Settings"
|
||||
})
|
||||
const settings_submenu = ref([
|
||||
{
|
||||
label: "Profile",
|
||||
icon: "i-lucide-user-round",
|
||||
to: "/settings/profile"
|
||||
},
|
||||
{
|
||||
label: "Security",
|
||||
icon: "i-lucide-lock",
|
||||
to: "/settings/security"
|
||||
},
|
||||
{
|
||||
label: "Aspect",
|
||||
icon: "i-lucide-palette",
|
||||
to: "/settings/ui"
|
||||
}
|
||||
])
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<DashboardHeader title="Settings" />
|
||||
|
||||
<UNavigationMenu :items="settings_submenu" />
|
||||
|
||||
|
||||
</template>
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
<script setup lang="ts">
|
||||
definePageMeta({
|
||||
layout: "dashboard"
|
||||
layout: "dash-settings"
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<DashboardHeader title="Profile" />
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
definePageMeta({
|
||||
layout: "dashboard"
|
||||
layout: "dash-settings"
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<DashboardHeader title="Security" />
|
||||
|
||||
|
||||
</template>
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
import type {CookieRef} from "#app";
|
||||
|
||||
definePageMeta({
|
||||
layout: "dashboard"
|
||||
layout: "dash-settings",
|
||||
title: "Customization"
|
||||
})
|
||||
|
||||
const colors_list = ref(["Cyan","Red","Green","Blue","Purple"])
|
||||
@@ -26,7 +27,6 @@ watch(color, (newVal, oldVal) => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<DashboardHeader title="Customization" />
|
||||
|
||||
<UContainer class="mt-4 max-w-full justify-center">
|
||||
<UFormField
|
||||
|
||||
Reference in New Issue
Block a user