feat: improve header responsiveness and update seed initialization
- Add text truncation for title on mobile screens - Hide user info section on mobile, show simplified icons only - Update seed.ts to create admin and demo users with proper password hashing - Add bcryptjs for password hashing in seed script - Update QWEN.md documentation with seed command and default users Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { createFileRoute } from '@tanstack/react-router'
|
||||
import AksesDanTimSettings from '@/components/pengaturan/akses-dan-tim'
|
||||
import { createFileRoute } from "@tanstack/react-router";
|
||||
import AksesDanTimSettings from "@/components/pengaturan/akses-dan-tim";
|
||||
|
||||
export const Route = createFileRoute('/dashboard/pengaturan/akses-dan-tim')({
|
||||
component: AksesDanTimSettings,
|
||||
})
|
||||
export const Route = createFileRoute("/dashboard/pengaturan/akses-dan-tim")({
|
||||
component: AksesDanTimSettings,
|
||||
});
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { createFileRoute } from '@tanstack/react-router'
|
||||
import KeamananSettings from '@/components/pengaturan/keamanan'
|
||||
|
||||
export const Route = createFileRoute('/dashboard/pengaturan/keamanan')({
|
||||
component: KeamananSettings,
|
||||
})
|
||||
import { createFileRoute } from "@tanstack/react-router";
|
||||
import KeamananSettings from "@/components/pengaturan/keamanan";
|
||||
|
||||
export const Route = createFileRoute("/dashboard/pengaturan/keamanan")({
|
||||
component: KeamananSettings,
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { createFileRoute } from '@tanstack/react-router'
|
||||
import NotifikasiSettings from '@/components/pengaturan/notifikasi'
|
||||
import { createFileRoute } from "@tanstack/react-router";
|
||||
import NotifikasiSettings from "@/components/pengaturan/notifikasi";
|
||||
|
||||
export const Route = createFileRoute('/dashboard/pengaturan/notifikasi')({
|
||||
component: NotifikasiSettings,
|
||||
})
|
||||
export const Route = createFileRoute("/dashboard/pengaturan/notifikasi")({
|
||||
component: NotifikasiSettings,
|
||||
});
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { createFileRoute, Outlet } from '@tanstack/react-router';
|
||||
import { createFileRoute, Outlet } from "@tanstack/react-router";
|
||||
|
||||
export const Route = createFileRoute('/dashboard/pengaturan')({
|
||||
component: () => (
|
||||
<div className="p-2">
|
||||
<Outlet />
|
||||
</div>
|
||||
),
|
||||
});
|
||||
export const Route = createFileRoute("/dashboard/pengaturan")({
|
||||
component: () => (
|
||||
<div className="p-2">
|
||||
<Outlet />
|
||||
</div>
|
||||
),
|
||||
});
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import UmumSettings from '@/components/pengaturan/umum'
|
||||
import { createFileRoute } from '@tanstack/react-router'
|
||||
|
||||
export const Route = createFileRoute('/dashboard/pengaturan/umum')({
|
||||
component: UmumSettings,
|
||||
})
|
||||
import { createFileRoute } from "@tanstack/react-router";
|
||||
import UmumSettings from "@/components/pengaturan/umum";
|
||||
|
||||
export const Route = createFileRoute("/dashboard/pengaturan/umum")({
|
||||
component: UmumSettings,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user