load pattern

This commit is contained in:
hamid zarghami
2026-06-21 11:08:11 +03:30
parent f6cfa369fc
commit d3ef8e1a98
13 changed files with 222 additions and 12 deletions
@@ -132,7 +132,7 @@ function UserAddressesPage({ }: Props) {
onClick={() => handleSetDefault(address.id)}
disabled={isSettingDefault}
pending={isSettingDefault}
className='bg-background! text-foreground! flex items-center gap-2 text-xs h-8 flex-1'
className='bg-background! pattern-secondary-bg text-foreground! flex items-center gap-2 text-xs h-8 flex-1'
>
<TickCircle variant='Bold' className='fill-foreground stroke-background size-4.5 mb-0.5' />
تنظیم به عنوان فعال
@@ -140,14 +140,14 @@ function UserAddressesPage({ }: Props) {
)}
<div className="flex gap-2">
<Link href={getEditHref(address.id)}>
<Button className='bg-background! text-foreground! flex justify-center items-center gap-2 text-xs p-0! size-8!'>
<Button className='bg-background! pattern-secondary-bg text-foreground! flex justify-center items-center gap-2 text-xs p-0! size-8!'>
<Edit2 className='stroke-foreground size-5 mb-0.5' />
</Button>
</Link>
<Button
onClick={() => handleDeleteClick(address.id)}
disabled={isDeleting}
className='bg-background! text-foreground! flex justify-center items-center gap-2 text-xs p-0! size-8!'
className='bg-background! pattern-secondary-bg text-foreground! flex justify-center items-center gap-2 text-xs p-0! size-8!'
>
<Trash className='stroke-foreground size-5 mb-0.5' />
</Button>