Files
ERP_Distribution/distribution_fe
Kalana B. Thilakarathna 0052725b88 feat: add user and role view sheets with detailed information display
- Created UserViewSheet component to display user details including username, full name, role, status, and timestamps.
- Created RoleViewSheet component to display role details including name, level, status, creation date, and associated permissions.
- Introduced permissions configuration in a new permissions.ts file, defining categories and permission codes for better management.
- Implemented middleware for authentication, ensuring access control for protected routes.
2026-10-18 23:11:01 +05:30
..
2026-08-25 16:20:50 +05:30
2026-08-25 16:20:50 +05:30
2026-08-25 16:20:50 +05:30
2026-08-25 16:20:50 +05:30
2026-09-29 12:32:22 +05:30
2026-08-25 16:20:50 +05:30
2026-08-25 16:20:50 +05:30

Next.js template

This is a Next.js template with shadcn/ui.

Adding components

To add components to your app, run the following command:

npx shadcn@latest add button

This will place the ui components in the components directory.

Using components

To use the components in your app, import them as follows:

import { Button } from "@/components/ui/button";