This commit is contained in:
javad committed 2024-02-15 09:48:03 +03:30
1 parent db10146ecd
commit 9f4fbfd963
2 files changed
+3 -1

No files matched your search

@@ -43,6 +43,7 @@ const Page = ()=>{
console.log(data)
if ('error' in data){
alert("خطا در کد تایید")
router.push('/login/')
} else {
@@ -6,7 +6,8 @@ const ProductCategoryBox: any = (props:any)=>{
return (
<div className="flex flex-col bg-white text-center rounded overflow-hidden text-white border-solid border-[1px] border-slate-700">
<h2 className="bg-slate-600 mb-2">{props.iteam.name}</h2>
<Image className="p-1 mx-auto" alt="a" width={"100"} height={"100"} src={`http://127.0.0.1:8000/${props.iteam.image}`} />
<Image className="p-1 mx-auto" alt="a" width={"200"} height={"100"} src={`http://127.0.0.1:8000/${props.iteam.image}`} />
<div className="flex justify-between text-black border-t-[1px] mt-2 p-1">