change space page user-account
This commit is contained in:
@@ -11,7 +11,7 @@ import BgGray from "@/components/layoutPanel/sidebar/BgGray";
|
||||
function LayoutPanel({ children }) {
|
||||
const pathname = usePathname();
|
||||
const [active, setActive] = useState(false);
|
||||
const [open, setOpen] = useState(false);
|
||||
const [open, setOpen] = useState(true);
|
||||
const [loading, setLoading] = useState(true);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
@@ -9,7 +9,7 @@ import GeneralInformation from "./listMenu/generalInformation";
|
||||
import Step from "./Step";
|
||||
|
||||
function AddDoctorPage() {
|
||||
const [value, setValue] = useState(1);
|
||||
const [value, setValue] = useState(0);
|
||||
const [data, setData] = useState({
|
||||
general: {
|
||||
name: { value: "احسان احمدی", isEdit: false },
|
||||
|
||||
@@ -36,8 +36,8 @@ function Form() {
|
||||
});
|
||||
|
||||
return (
|
||||
<div className="flex flex-col items-start justify-start gap-[32px] md:gap-[40px] lg:gap-[48px]">
|
||||
<ul className="grid w-full grid-cols-1 md:grid-cols-2 mt-[24px] md:mt-[28px] lg:mt-[32px] gap-x-[48px] gap-y-[24px] md:gap-y-[28px] lg:gap-y-[32px]">
|
||||
<div className="flex flex-col items-start justify-start mt-[24px] md:mt-[28px] lg:mt-[32px] gap-[32px] md:gap-[40px] lg:gap-[48px]">
|
||||
<ul className="grid w-full grid-cols-1 md:grid-cols-2 gap-x-[48px] gap-y-[24px] md:gap-y-[28px] lg:gap-y-[32px]">
|
||||
<ContentText text="نام و نام خانوادگی">
|
||||
<EditField
|
||||
isTransparent={true}
|
||||
|
||||
@@ -10,7 +10,7 @@ function List({ data, loading }) {
|
||||
const centerTable = [0, 4, 5];
|
||||
|
||||
return (
|
||||
<div className="!mt-[32px]">
|
||||
<div className="!mt-[40px]">
|
||||
<div className="hidden md:block w-full">
|
||||
<CustomTable tableHead={tableHead} centerTable={centerTable}>
|
||||
{data.map((row, idx) => (
|
||||
|
||||
@@ -7,7 +7,7 @@ import Tab from "./Tab";
|
||||
|
||||
const listTab = ["حساب کاربری", "حساب بانکی"];
|
||||
|
||||
function UserAccountPage({data}) {
|
||||
function UserAccountPage({ data }) {
|
||||
const [value, setValue] = useState(1);
|
||||
|
||||
const handleChange = (event, newValue) => setValue(newValue);
|
||||
@@ -17,9 +17,9 @@ function UserAccountPage({data}) {
|
||||
return (
|
||||
<div
|
||||
className="
|
||||
opacity-page rounded-[8px] bg-transparent md:bg-[#FFF]
|
||||
shadow-none md:shadow-[0px_1px_24.8px_0px_rgba(204,204,204,0.18)] py-0 md:py-[16px] lg:py-[32px]
|
||||
px-0 sm:px-[14px] md:px-[24px] lg:px-[44px] xl:px-[112px] dark:shadow-[0px_4px_25px_10px_#1F1D2B] dark:bg-transparent md:dark:bg-[#222433]
|
||||
opacity-page rounded-[8px] bg-transparent md:bg-[#FFF] min-h-[80vh]
|
||||
shadow-none md:shadow-[0px_1px_24.8px_0px_rgba(204,204,204,0.18)] py-0 md:py-[7px] lg:py-[14px]
|
||||
px-0 sm:px-[18px] md:px-[36px] lg:px-[44px] xl:px-[56px] dark:shadow-[0px_4px_25px_10px_#1F1D2B] dark:bg-transparent md:dark:bg-[#222433]
|
||||
"
|
||||
>
|
||||
<Tab listTab={listTab} handleChange={handleChange} value={value} />
|
||||
|
||||
Reference in New Issue
Block a user