Some checks failed
tests / ci (pull_request) Has been cancelled
- Moved profile and security settings from the general settings route to a dedicated admin settings route. - Created new components and pages for managing user profile and security settings. - Updated user menu to link to the new admin settings pages. - Removed old settings pages and routes that are no longer in use. - Added tests for profile and security settings functionality.
33 lines
870 B
TypeScript
33 lines
870 B
TypeScript
import { Head } from '@inertiajs/react';
|
|
import AppearanceTabs from '@/components/appearance-tabs';
|
|
import Heading from '@/components/heading';
|
|
import { edit as editAppearance } from '@/routes/admin/settings/appearance';
|
|
|
|
export default function Appearance() {
|
|
return (
|
|
<>
|
|
<Head title="Pengaturan Tampilan" />
|
|
|
|
<h1 className="sr-only">Pengaturan Tampilan</h1>
|
|
|
|
<div className="space-y-6">
|
|
<Heading
|
|
variant="small"
|
|
title="Pengaturan tampilan"
|
|
description="Perbarui pengaturan tampilan untuk akun Anda"
|
|
/>
|
|
<AppearanceTabs />
|
|
</div>
|
|
</>
|
|
);
|
|
}
|
|
|
|
Appearance.layout = {
|
|
breadcrumbs: [
|
|
{
|
|
title: 'Pengaturan Tampilan',
|
|
href: editAppearance(),
|
|
},
|
|
],
|
|
};
|