This commit is contained in:
alma 2025-05-04 22:26:25 +02:00
parent 692c72481f
commit b3569f80f7

View File

@ -123,7 +123,7 @@ export function AnnouncementsList({ userRole }: AnnouncementsListProps) {
: role.charAt(0).toUpperCase() + role.slice(1); : role.charAt(0).toUpperCase() + role.slice(1);
return ( return (
<Badge key={role} variant="outline" className="mr-1"> <Badge key={role} variant="secondary" className="mr-1 bg-gray-100 hover:bg-gray-200 text-gray-800 border-gray-200">
{roleName} {roleName}
</Badge> </Badge>
); );
@ -182,6 +182,7 @@ export function AnnouncementsList({ userRole }: AnnouncementsListProps) {
variant="outline" variant="outline"
size="sm" size="sm"
onClick={() => handleViewAnnouncement(announcement)} onClick={() => handleViewAnnouncement(announcement)}
className="bg-white hover:bg-gray-50 border-gray-200 text-gray-700"
> >
<Eye className="h-4 w-4" /> <Eye className="h-4 w-4" />
<span className="sr-only">View</span> <span className="sr-only">View</span>
@ -190,6 +191,7 @@ export function AnnouncementsList({ userRole }: AnnouncementsListProps) {
variant="outline" variant="outline"
size="sm" size="sm"
onClick={() => handleDeleteClick(announcement)} onClick={() => handleDeleteClick(announcement)}
className="bg-white hover:bg-gray-50 border-gray-200 text-gray-700"
> >
<Trash2 className="h-4 w-4" /> <Trash2 className="h-4 w-4" />
<span className="sr-only">Delete</span> <span className="sr-only">Delete</span>