fix bugs
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 25 KiB |
@@ -117,7 +117,7 @@ export default function ProductDetailPage() {
|
||||
<h2 className="text-2xl font-bold text-gray-800 mb-4">محصول مورد نظر یافت نشد!</h2>
|
||||
<button
|
||||
onClick={() => router.back()}
|
||||
className="text-salona-500 hover:text-salona-600 font-medium flex items-center gap-2 bg-salona-50 px-6 py-3 rounded-xl transition-colors"
|
||||
className="text-salona-500 cursor-pointer hover:text-salona-600 font-medium flex items-center gap-2 bg-salona-50 px-6 py-3 rounded-xl transition-colors"
|
||||
>
|
||||
<ChevronRight className="w-5 h-5" />
|
||||
بازگشت به صفحه محصولات
|
||||
|
||||
@@ -22,6 +22,8 @@ import { useQueryClient } from "@tanstack/react-query";
|
||||
import Swal from "sweetalert2";
|
||||
import { useUserProfile } from "@/services/useUser";
|
||||
import { removeAuthCookie } from "@/app/actions";
|
||||
import Image from "next/image";
|
||||
import LOGO from "@/../public/assets/images/logo/logo.png"
|
||||
|
||||
// تعریف اینترفیس برای آدرس کاربر
|
||||
interface UserAddress {
|
||||
@@ -189,6 +191,9 @@ export const Header = () => {
|
||||
>
|
||||
<Menu className="w-6 h-6" />
|
||||
</button>
|
||||
{/* <Link href="/">
|
||||
<Image src={LOGO} className="w-50" alt="logo" />
|
||||
</Link> */}
|
||||
<Link href="/" className="text-2xl font-black text-primary tracking-tighter">
|
||||
SALONA<span className="text-gray-900">.</span>
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user