- Translated UI elements to Indonesian for better localization. - Improved layout by introducing Card components for better visual structure. - Removed unnecessary imports and props related to passkeys and two-factor authentication. - Updated tests to cover new password update scenarios and validation rules. - Ensured proper redirection and error handling for unauthorized access to security settings. - Enhanced user experience by adding success flash messages on password updates.
27 lines
584 B
TypeScript
27 lines
584 B
TypeScript
import AppearanceTabs from '@/components/appearance-tabs';
|
|
import { edit as editAppearance } from '@/routes/appearance';
|
|
import { Head } from '@inertiajs/react';
|
|
|
|
export default function Appearance() {
|
|
return (
|
|
<>
|
|
<Head title="Tampilan" />
|
|
|
|
<h1 className="sr-only">Tampilan</h1>
|
|
|
|
<div className="space-y-6 px-4 md:px-6">
|
|
<AppearanceTabs />
|
|
</div>
|
|
</>
|
|
);
|
|
}
|
|
|
|
Appearance.layout = {
|
|
breadcrumbs: [
|
|
{
|
|
title: 'Tampilan',
|
|
href: editAppearance(),
|
|
},
|
|
],
|
|
};
|