Enhance button styling: add cursor-pointer class to refresh buttons across admin components

This commit is contained in:
Marco Pedone 2025-08-20 14:06:38 +02:00
parent 485bcda0d3
commit b2a118e907
9 changed files with 34 additions and 9 deletions

View file

@ -16,7 +16,10 @@ const Admin_Annunci: NextPageWithLayout = () => {
<div className="mx-3 items-start justify-between md:flex"> <div className="mx-3 items-start justify-between md:flex">
<div className="flex max-w-lg items-center gap-3"> <div className="flex max-w-lg items-center gap-3">
<h3 className="text-2xl font-bold">Annunci</h3> <h3 className="text-2xl font-bold">Annunci</h3>
<button onClick={async () => await refetch()}> <button
onClick={async () => await refetch()}
className="cursor-pointer"
>
<RefreshCcw className="size-6" /> <RefreshCcw className="size-6" />
</button> </button>
</div> </div>

View file

@ -42,7 +42,10 @@ const AdminBanners: NextPageWithLayout = () => {
<h3 className="text-accent-foreground text-xl font-bold sm:text-2xl"> <h3 className="text-accent-foreground text-xl font-bold sm:text-2xl">
Banners Banners
</h3> </h3>
<button onClick={async () => await refetch()}> <button
onClick={async () => await refetch()}
className="cursor-pointer"
>
<RefreshCcw className="size-6" /> <RefreshCcw className="size-6" />
</button> </button>
</div> </div>

View file

@ -42,7 +42,10 @@ const AdminBlacklist: NextPageWithLayout = () => {
<h3 className="text-accent-foreground text-xl font-bold sm:text-2xl"> <h3 className="text-accent-foreground text-xl font-bold sm:text-2xl">
Black list Black list
</h3> </h3>
<button onClick={async () => await refetch()}> <button
onClick={async () => await refetch()}
className="cursor-pointer"
>
<RefreshCcw className="size-6" /> <RefreshCcw className="size-6" />
</button> </button>
</div> </div>

View file

@ -43,7 +43,10 @@ const AdminEtichette: NextPageWithLayout = () => {
<h3 className="text-accent-foreground text-xl font-bold sm:text-2xl"> <h3 className="text-accent-foreground text-xl font-bold sm:text-2xl">
Etichette Etichette
</h3> </h3>
<button onClick={async () => await refetch()}> <button
onClick={async () => await refetch()}
className="cursor-pointer"
>
<RefreshCcw className="size-6" /> <RefreshCcw className="size-6" />
</button> </button>
</div> </div>

View file

@ -41,7 +41,10 @@ const AdminFlags: NextPageWithLayout = () => {
<h3 className="text-accent-foreground text-xl font-bold sm:text-2xl"> <h3 className="text-accent-foreground text-xl font-bold sm:text-2xl">
Impostazioni Impostazioni
</h3> </h3>
<button onClick={async () => await refetch()}> <button
onClick={async () => await refetch()}
className="cursor-pointer"
>
<RefreshCcw className="size-6" /> <RefreshCcw className="size-6" />
</button> </button>
</div> </div>

View file

@ -43,7 +43,10 @@ const Admin_Prezziario: NextPageWithLayout = () => {
<div className="mx-3 items-start justify-between md:flex"> <div className="mx-3 items-start justify-between md:flex">
<div className="flex max-w-lg items-center gap-3"> <div className="flex max-w-lg items-center gap-3">
<h3 className="text-2xl font-bold">Prezziario</h3> <h3 className="text-2xl font-bold">Prezziario</h3>
<button onClick={async () => await refetch()}> <button
onClick={async () => await refetch()}
className="cursor-pointer"
>
<RefreshCcw className="size-6" /> <RefreshCcw className="size-6" />
</button> </button>
</div> </div>

View file

@ -114,7 +114,7 @@ const StorageTableHeader = ({
await handleRefetch(); await handleRefetch();
table.resetRowSelection(); table.resetRowSelection();
}} }}
className="hover:scale-110" className="cursor-pointer hover:scale-110"
> >
<RefreshCcw className="size-6" /> <RefreshCcw className="size-6" />
</button> </button>

View file

@ -42,7 +42,10 @@ const AdminTestiStringhe: NextPageWithLayout = () => {
<h3 className="text-accent-foreground text-xl font-bold sm:text-2xl"> <h3 className="text-accent-foreground text-xl font-bold sm:text-2xl">
Testi e Stringhe Testi e Stringhe
</h3> </h3>
<button onClick={async () => await refetch()}> <button
onClick={async () => await refetch()}
className="cursor-pointer"
>
<RefreshCcw className="size-6" /> <RefreshCcw className="size-6" />
</button> </button>
</div> </div>

View file

@ -36,7 +36,11 @@ const Admin_Utenti: NextPageWithLayout = () => {
<div className="mx-3 items-start justify-between md:flex"> <div className="mx-3 items-start justify-between md:flex">
<div className="flex max-w-lg items-center gap-3"> <div className="flex max-w-lg items-center gap-3">
<h3 className="text-2xl font-bold">Utenti</h3> <h3 className="text-2xl font-bold">Utenti</h3>
<button type="button" onClick={async () => await refetch()}> <button
type="button"
onClick={async () => await refetch()}
className="cursor-pointer"
>
<RefreshCcw className="size-6" /> <RefreshCcw className="size-6" />
</button> </button>
</div> </div>