22import { ref , onMounted , computed , watch } from ' vue'
33import { useRoute } from ' vue-router'
44import { useI18n } from ' vue-i18n'
5- import { Separator } from ' @/components/ui/separator' // Adjusted path
65import GlobalSettingsSidebarNav , { type GlobalSettingGroup } from ' @/components/settings/GlobalSettingsSidebarNav.vue'
7- import DashboardLayout from ' @/components/DashboardLayout.vue' // Reinstated
6+ import DashboardLayout from ' @/components/DashboardLayout.vue'
87import { getEnv } from ' @/utils/env'
98import { Alert , AlertDescription , AlertTitle } from ' @/components/ui/alert'
10- import { CheckCircle2Icon , XIcon } from ' lucide-vue-next' // Added XIcon
9+ import { CheckCircle2Icon , XIcon } from ' lucide-vue-next'
1110
1211const { t } = useI18n ()
1312const route = useRoute ()
@@ -212,7 +211,7 @@ async function handleSaveChanges() {
212211
213212<template >
214213 <DashboardLayout :title =" t('globalSettings.title')" >
215- <div class =" hidden space-y-6 p-10 pb-16 md:block" >
214+ <div class =" hidden space-y-6 pb-16 md:block" >
216215 <Alert v-if =" showSuccessAlert" variant =" default" class =" mb-4 border-green-500 bg-green-50 text-green-700 relative" >
217216 <CheckCircle2Icon class =" h-5 w-5 text-green-600" />
218217 <AlertTitle class =" font-semibold text-green-800" >{{ t('globalSettings.alerts.successTitle') }}</AlertTitle >
@@ -230,15 +229,7 @@ async function handleSaveChanges() {
230229 </Button >
231230 </Alert >
232231
233- <div class =" space-y-0.5" >
234- <h2 class =" text-2xl font-bold tracking-tight" >
235- {{ t('globalSettings.title') }}
236- </h2 >
237- <p class =" text-muted-foreground" >
238- {{ t('globalSettings.description') }}
239- </p >
240- </div >
241- <Separator class =" my-6" />
232+
242233 <div class =" flex flex-col space-y-8 lg:flex-row lg:space-x-12 lg:space-y-0" >
243234 <aside class =" -mx-4 lg:w-1/5" >
244235 <GlobalSettingsSidebarNav :groups =" settingGroups" />
@@ -255,7 +246,6 @@ async function handleSaveChanges() {
255246 {{ selectedGroup.description }}
256247 </p >
257248 </div >
258- <Separator />
259249 <form v-if =" editableSettings.length > 0" class =" space-y-6" @submit.prevent =" handleSaveChanges" >
260250 <div v-for =" (setting, index) in editableSettings" :key =" setting.key" class =" space-y-2" >
261251 <Label :for =" `setting-${setting.key}`" >{{ setting.description || setting.key }}</Label >
0 commit comments