diff --git a/src/components/AdminSidebar.tsx b/src/components/AdminSidebar.tsx index 10298f3..e2b6b7c 100644 --- a/src/components/AdminSidebar.tsx +++ b/src/components/AdminSidebar.tsx @@ -22,11 +22,11 @@ const GROUPS: NavItem[][] = [ { href: '/admin', label: 'Dashboard', icon: LayoutGrid }, { href: '/admin/department', label: 'Department Management', icon: Building2 }, { href: '/admin/designation', label: 'Designation Management', icon: Briefcase }, - { href: '/admin/internal-role-management', label: 'Internal Role Management', icon: ShieldCheck, aliasPrefix: '/admin/roles' }, + { href: '/admin/roles', label: 'Internal Role Management', icon: ShieldCheck }, { href: '/admin/employees', label: 'Employee Management', icon: Users }, ], [ - { href: '/admin/runtime-roles', label: 'External Role Management', icon: ShieldCheck, aliasPrefix: '/admin/external-role-management' }, + { href: '/admin/runtime-roles', label: 'External Role Management', icon: ShieldCheck }, { href: '/admin/onboarding-management', label: 'External Onboarding Management', icon: FileText, aliasPrefix: '/admin/onboarding-schemas' }, { href: '/admin/internal-dashboard-management', label: 'Internal Dashboard Management', icon: LayoutDashboard }, { href: '/admin/external-dashboard-management', label: 'External Dashboard Management', icon: LayoutDashboard, aliasPrefix: '/admin/role-ui-configs' }, diff --git a/src/components/Counter.css b/src/components/Counter.css deleted file mode 100644 index 220e179..0000000 --- a/src/components/Counter.css +++ /dev/null @@ -1,21 +0,0 @@ -.increment { - font-family: inherit; - font-size: inherit; - padding: 1em 2em; - color: #335d92; - background-color: rgba(68, 107, 158, 0.1); - border-radius: 2em; - border: 2px solid rgba(68, 107, 158, 0); - outline: none; - width: 200px; - font-variant-numeric: tabular-nums; - cursor: pointer; -} - -.increment:focus { - border: 2px solid #335d92; -} - -.increment:active { - background-color: rgba(68, 107, 158, 0.2); -} \ No newline at end of file diff --git a/src/components/Counter.tsx b/src/components/Counter.tsx deleted file mode 100644 index 091fc5d..0000000 --- a/src/components/Counter.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import { createSignal } from "solid-js"; -import "./Counter.css"; - -export default function Counter() { - const [count, setCount] = createSignal(0); - return ( - - ); -} diff --git a/src/routes/admin/approval-management.tsx b/src/routes/admin/approval-management.tsx deleted file mode 100644 index e45aa78..0000000 --- a/src/routes/admin/approval-management.tsx +++ /dev/null @@ -1,15 +0,0 @@ -import { onMount } from 'solid-js'; -import { useNavigate } from '@solidjs/router'; -import AdminShell from '~/components/AdminShell'; - -export default function ApprovalManagementAliasPage() { - const navigate = useNavigate(); - onMount(() => navigate('/admin/approval', { replace: true })); - return ( - -
-

Redirecting to Approval Management...

-
-
- ); -} diff --git a/src/routes/admin/approvals.tsx b/src/routes/admin/approvals.tsx deleted file mode 100644 index e0d5ca5..0000000 --- a/src/routes/admin/approvals.tsx +++ /dev/null @@ -1,15 +0,0 @@ -import { onMount } from 'solid-js'; -import { useNavigate } from '@solidjs/router'; -import AdminShell from '~/components/AdminShell'; - -export default function ApprovalsAliasPage() { - const navigate = useNavigate(); - onMount(() => navigate('/admin/approval', { replace: true })); - return ( - -
-

Redirecting to Approval Management...

-
-
- ); -} diff --git a/src/routes/admin/external-role-management.tsx b/src/routes/admin/external-role-management.tsx deleted file mode 100644 index 61d2e1e..0000000 --- a/src/routes/admin/external-role-management.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import { onMount } from 'solid-js'; -import { useNavigate } from '@solidjs/router'; -import AdminShell from '~/components/AdminShell'; - -export default function ExternalRoleManagementAliasPage() { - const navigate = useNavigate(); - onMount(() => navigate('/admin/runtime-roles', { replace: true })); - return ( - -

Redirecting to external role management...

-
- ); -} diff --git a/src/routes/admin/help.tsx b/src/routes/admin/help.tsx deleted file mode 100644 index c1716d4..0000000 --- a/src/routes/admin/help.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import { onMount } from 'solid-js'; -import { useNavigate } from '@solidjs/router'; -import AdminShell from '~/components/AdminShell'; - -export default function HelpAliasPage() { - const navigate = useNavigate(); - onMount(() => navigate('/admin/support', { replace: true })); - return ( - -

Redirecting to support management...

-
- ); -} diff --git a/src/routes/admin/internal-role-management.tsx b/src/routes/admin/internal-role-management.tsx deleted file mode 100644 index d1a0a3c..0000000 --- a/src/routes/admin/internal-role-management.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import { onMount } from 'solid-js'; -import { useNavigate } from '@solidjs/router'; -import AdminShell from '~/components/AdminShell'; - -export default function InternalRoleManagementAliasPage() { - const navigate = useNavigate(); - onMount(() => navigate('/admin/roles', { replace: true })); - return ( - -

Redirecting to internal role management...

-
- ); -} diff --git a/src/routes/admin/role-modules.tsx b/src/routes/admin/role-modules.tsx deleted file mode 100644 index b7139cd..0000000 --- a/src/routes/admin/role-modules.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { onMount } from 'solid-js'; -import { useNavigate } from '@solidjs/router'; -import AdminShell from '~/components/AdminShell'; - -export default function RoleModulesAliasPage() { - const navigate = useNavigate(); - onMount(() => navigate('/admin/role-ui-configs', { replace: true })); - return

Redirecting to role module configuration...

; -} diff --git a/src/routes/admin/settings.tsx b/src/routes/admin/settings.tsx deleted file mode 100644 index fbaecb0..0000000 --- a/src/routes/admin/settings.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { onMount } from 'solid-js'; -import { useNavigate } from '@solidjs/router'; -import AdminShell from '~/components/AdminShell'; - -export default function SettingsAliasPage() { - const navigate = useNavigate(); - onMount(() => navigate('/admin/internal-dashboard-management', { replace: true })); - return

Redirecting to settings/configuration...

; -} diff --git a/src/routes/admin/workspace.tsx b/src/routes/admin/workspace.tsx deleted file mode 100644 index 18ca66f..0000000 --- a/src/routes/admin/workspace.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { onMount } from 'solid-js'; -import { useNavigate } from '@solidjs/router'; -import AdminShell from '~/components/AdminShell'; - -export default function WorkspaceAliasPage() { - const navigate = useNavigate(); - onMount(() => navigate('/admin', { replace: true })); - return

Redirecting to dashboard workspace...

; -}