change date-picker & add page login-verify & account & new user & payment

This commit is contained in:
Ehsan
2024-08-26 20:04:33 +03:30
parent 31ed32fc21
commit 7925493681
34 changed files with 564 additions and 60 deletions
+27
View File
@@ -0,0 +1,27 @@
'use client';
import { useState } from "react";
import Detail from "./detail";
import Payment from "./payment";
function Information() {
const [isForAnother, setIsForAnother] = useState(false)
const [isPay, setIsPay] = useState(false);
return (
<div className="w-[59%] p-[24px] bg-[#FFF] border border-solid border-[#EFEFEF] rounded-[8px]">
{isPay ?
<Payment /> :
<Detail
setIsPay={setIsPay}
isForAnother={isForAnother}
setIsForAnother={setIsForAnother}
/>
}
</div>
)
}
export default Information