feat(ui): optimize wiki ingredient links, product images, back buttons, and checkout settings
Deploy Canina / deploy (push) Successful in 1m54s
Deploy Canina / deploy (push) Successful in 1m54s
This commit is contained in:
1 parent
03c6ed58c7
commit
2d83a00169
15 files changed
+550
-396
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
import React from "react";
|
||||
import { useRouter } from "next/navigation";
|
||||
import { ArrowRight } from "lucide-react";
|
||||
import { ChevronLeft } from "lucide-react";
|
||||
import { cn } from "../lib/utils";
|
||||
|
||||
interface BackButtonProps {
|
||||
@@ -27,12 +27,12 @@ export default function BackButton({ className, label = "بازگشت" }: BackBu
|
||||
type="button"
|
||||
onClick={handleBack}
|
||||
className={cn(
|
||||
"inline-flex items-center gap-2 px-4 py-2 bg-white/80 backdrop-blur-sm border border-medical-gray-200 hover:border-canina-blue hover:text-canina-blue text-medical-gray-700 text-xs font-black rounded-xl transition-all shadow-xs active:scale-95 whitespace-nowrap cursor-pointer",
|
||||
"inline-flex items-center gap-1.5 px-4 py-2 bg-white/80 backdrop-blur-sm border border-medical-gray-200 hover:border-canina-blue hover:text-canina-blue text-medical-gray-700 text-xs font-black rounded-xl transition-all shadow-xs active:scale-95 whitespace-nowrap cursor-pointer font-vazir",
|
||||
className
|
||||
)}
|
||||
>
|
||||
<ArrowRight className="w-4 h-4" />
|
||||
<span>{label}</span>
|
||||
<ChevronLeft className="w-4 h-4" />
|
||||
</button>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user