Enhance button styling: add cursor-pointer class to refresh buttons across admin components
This commit is contained in:
parent
485bcda0d3
commit
b2a118e907
9 changed files with 34 additions and 9 deletions
|
|
@ -16,7 +16,10 @@ const Admin_Annunci: NextPageWithLayout = () => {
|
|||
<div className="mx-3 items-start justify-between md:flex">
|
||||
<div className="flex max-w-lg items-center gap-3">
|
||||
<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" />
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,10 @@ const AdminBanners: NextPageWithLayout = () => {
|
|||
<h3 className="text-accent-foreground text-xl font-bold sm:text-2xl">
|
||||
Banners
|
||||
</h3>
|
||||
<button onClick={async () => await refetch()}>
|
||||
<button
|
||||
onClick={async () => await refetch()}
|
||||
className="cursor-pointer"
|
||||
>
|
||||
<RefreshCcw className="size-6" />
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,10 @@ const AdminBlacklist: NextPageWithLayout = () => {
|
|||
<h3 className="text-accent-foreground text-xl font-bold sm:text-2xl">
|
||||
Black list
|
||||
</h3>
|
||||
<button onClick={async () => await refetch()}>
|
||||
<button
|
||||
onClick={async () => await refetch()}
|
||||
className="cursor-pointer"
|
||||
>
|
||||
<RefreshCcw className="size-6" />
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -43,7 +43,10 @@ const AdminEtichette: NextPageWithLayout = () => {
|
|||
<h3 className="text-accent-foreground text-xl font-bold sm:text-2xl">
|
||||
Etichette
|
||||
</h3>
|
||||
<button onClick={async () => await refetch()}>
|
||||
<button
|
||||
onClick={async () => await refetch()}
|
||||
className="cursor-pointer"
|
||||
>
|
||||
<RefreshCcw className="size-6" />
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -41,7 +41,10 @@ const AdminFlags: NextPageWithLayout = () => {
|
|||
<h3 className="text-accent-foreground text-xl font-bold sm:text-2xl">
|
||||
Impostazioni
|
||||
</h3>
|
||||
<button onClick={async () => await refetch()}>
|
||||
<button
|
||||
onClick={async () => await refetch()}
|
||||
className="cursor-pointer"
|
||||
>
|
||||
<RefreshCcw className="size-6" />
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -43,7 +43,10 @@ const Admin_Prezziario: NextPageWithLayout = () => {
|
|||
<div className="mx-3 items-start justify-between md:flex">
|
||||
<div className="flex max-w-lg items-center gap-3">
|
||||
<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" />
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ const StorageTableHeader = ({
|
|||
await handleRefetch();
|
||||
table.resetRowSelection();
|
||||
}}
|
||||
className="hover:scale-110"
|
||||
className="cursor-pointer hover:scale-110"
|
||||
>
|
||||
<RefreshCcw className="size-6" />
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,10 @@ const AdminTestiStringhe: NextPageWithLayout = () => {
|
|||
<h3 className="text-accent-foreground text-xl font-bold sm:text-2xl">
|
||||
Testi e Stringhe
|
||||
</h3>
|
||||
<button onClick={async () => await refetch()}>
|
||||
<button
|
||||
onClick={async () => await refetch()}
|
||||
className="cursor-pointer"
|
||||
>
|
||||
<RefreshCcw className="size-6" />
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -36,7 +36,11 @@ const Admin_Utenti: NextPageWithLayout = () => {
|
|||
<div className="mx-3 items-start justify-between md:flex">
|
||||
<div className="flex max-w-lg items-center gap-3">
|
||||
<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" />
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue