Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ✨ feat(admin-example): Update UI components and add admin examples #25

Merged
merged 1 commit into from
Jan 13, 2024

Conversation

RicardoGEsteves
Copy link
Owner

Description:
This commit introduces updates to the user interface components and adds new admin examples. The changes are part of the ongoing work on the admin-example branch.

  • In app/(protected)/_components/navbar.tsx, app/(protected)/layout.tsx, app/(protected)/server/page.tsx, components/user-info.tsx, lib/auth.ts, package-lock.json, and package.json, updates have been made to handle the UI enhancements and functionality updates.
  • New files actions/admin.ts, app/(protected)/admin/, app/api/admin/, components/auth/role-gate.tsx, components/ui/sonner.tsx, and hooks/use-current-role.ts have been added to handle the new admin examples and features.

Changes:

  • Update app/(protected)/_components/navbar.tsx to modify the navbar styling and add a TODO for mobile navbar
  • Update app/(protected)/layout.tsx, app/(protected)/server/page.tsx, components/user-info.tsx, and lib/auth.ts for functionality updates
  • Update package-lock.json and package.json for dependency updates
  • Add new files for handling new admin examples and features

This commit doesn't introduce any breaking changes. The updates are compatible with the existing codebase.
Co-authored-by: Ricardo Esteves [email protected]

Description:
This commit introduces updates to the user interface components and adds new admin examples. The changes are part of the ongoing work on the `admin-example` branch.
- In `app/(protected)/_components/navbar.tsx`, `app/(protected)/layout.tsx`, `app/(protected)/server/page.tsx`, `components/user-info.tsx`, `lib/auth.ts`, `package-lock.json`, and `package.json`, updates have been made to handle the UI enhancements and functionality updates.
- New files `actions/admin.ts`, `app/(protected)/admin/`, `app/api/admin/`, `components/auth/role-gate.tsx`, `components/ui/sonner.tsx`, and `hooks/use-current-role.ts` have been added to handle the new admin examples and features.

Changes:
- Update `app/(protected)/_components/navbar.tsx` to modify the navbar styling and add a TODO for mobile navbar
- Update `app/(protected)/layout.tsx`, `app/(protected)/server/page.tsx`, `components/user-info.tsx`, and `lib/auth.ts` for functionality updates
- Update `package-lock.json` and `package.json` for dependency updates
- Add new files for handling new admin examples and features

This commit doesn't introduce any breaking changes. The updates are compatible with the existing codebase.
Co-authored-by: Ricardo Esteves <[email protected]>
@RicardoGEsteves RicardoGEsteves merged commit b1d677e into main Jan 13, 2024
3 checks passed
@RicardoGEsteves RicardoGEsteves deleted the admin-example branch January 13, 2024 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant