[UI/Auth] Implement Authorized 'Add Book' Trigger in Library View #32
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context: Due to legal and licensing constraints, not all users are allowed to upload books to the Nexus platform.
Role: Senior UI Engineer.
Task: Modify the current Library view (
Library.razor) to include the primary trigger for adding a new book.Requirements:
AuthorizeViewcomponent.AuthorizeViewso the button is strictly visible only to users possessing theContentManagerorAdminrole.NexusButtonstyling: Inter Sans-Serif font, secondary gray background, and a subtle--nexus-neon(#00ff99) glow effect on hover/focus. Use the aesthetic from the provided dashboard screenshot (image_dd2bd4.png) as visual reference.