@@ -12,4 +12,4 @@ function PanelPage({ data }) {
)
}
-export default PanelPage
\ No newline at end of file
+export default DashboardPage
\ No newline at end of file
diff --git a/components/panel/list/Table.js b/components/panel/dashboard/list/Table.js
similarity index 100%
rename from components/panel/list/Table.js
rename to components/panel/dashboard/list/Table.js
diff --git a/components/panel/list/index.js b/components/panel/dashboard/list/index.js
similarity index 93%
rename from components/panel/list/index.js
rename to components/panel/dashboard/list/index.js
index 20e4d91..664e898 100644
--- a/components/panel/list/index.js
+++ b/components/panel/dashboard/list/index.js
@@ -1,5 +1,5 @@
import { Button } from "@mui/material"
-import ArrowLeftP from "../../icons/ArrowLeftP"
+import ArrowLeftP from "../../../icons/ArrowLeftP"
import Table from "./Table"
function List({ data }) {
diff --git a/components/panel/userAccount/Head.js b/components/panel/userAccount/Head.js
new file mode 100644
index 0000000..0dc8593
--- /dev/null
+++ b/components/panel/userAccount/Head.js
@@ -0,0 +1,22 @@
+import ArrowLeftPU from "@/components/icons/ArrowLeftPU";
+import ProfileP from "@/components/icons/ProfileP";
+import { Button } from "@mui/material";
+
+function Head() {
+ return (
+
+ )
+}
+
+export default Head
\ No newline at end of file
diff --git a/components/panel/userAccount/form/Content.js b/components/panel/userAccount/form/Content.js
new file mode 100644
index 0000000..240e94c
--- /dev/null
+++ b/components/panel/userAccount/form/Content.js
@@ -0,0 +1,10 @@
+function Content({ children, text }) {
+ return (
+
+ )
+}
+
+export default Content
\ No newline at end of file
diff --git a/components/panel/userAccount/form/index.js b/components/panel/userAccount/form/index.js
new file mode 100644
index 0000000..3b82285
--- /dev/null
+++ b/components/panel/userAccount/form/index.js
@@ -0,0 +1,94 @@
+'use client';
+
+import { useState } from "react";
+
+import Content from "./Content";
+import EditField from "@/app/component/EditField";
+import AutoCompleteSelect from "@/app/component/element/AutoCompleteSelect";
+import { bank, city, state } from "./listSelector";
+import AddLocationP from "@/components/icons/AddLocationP";
+import { Button } from "@mui/material";
+import ArrowLeftButtonP from "@/components/icons/ArrowLeftButtonP";
+
+function Form() {
+
+ const [data, setData] = useState({
+ name: { value: 'احسان احمدی', isEdit: false },
+ national_code: { value: '123456789', isEdit: false },
+ address: { value: '', isEdit: false },
+ phone: { value: '', isEdit: false },
+ account_number: { value: '', isEdit: false },
+ });
+ const [selected, setSelected] = useState({
+ state: '',
+ city: '',
+ bank: ''
+ });
+ const updateSelect = (event, name) => setSelected({ ...selected, [name]: event.target.innerText })
+
+ const changeData = (value, type, name) =>
+ setData({
+ ...data,
+ [name]: {
+ ...data[name],
+ [type]: value
+ }
+ });
+
+ return (
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ } isTransparent={true} placeholder='از روی نقشه انتخاب کنید...' iconGray={true} changeData={changeData} data={data?.address} name='address' />
+
+
+
+
+
+
+
+
+
+
+
+
+
+ )
+}
+
+export default Form
\ No newline at end of file
diff --git a/components/panel/userAccount/form/listSelector.js b/components/panel/userAccount/form/listSelector.js
new file mode 100644
index 0000000..55423b2
--- /dev/null
+++ b/components/panel/userAccount/form/listSelector.js
@@ -0,0 +1,20 @@
+export const state = [
+ { label: 'استان 1', id: 10 },
+ { label: 'استان 2', id: 20 },
+ { label: 'استان 3', id: 30 },
+ { label: 'استان 4', id: 40 }
+];
+
+export const city = [
+ { label: 'شهر 1', id: 10 },
+ { label: 'شهر 2', id: 20 },
+ { label: 'شهر 3', id: 30 },
+ { label: 'شهر 4', id: 40 }
+];
+
+export const bank = [
+ { label: 'بانک 1', id: 10 },
+ { label: 'بانک 2', id: 20 },
+ { label: 'بانک 3', id: 30 },
+ { label: 'بانک 4', id: 40 }
+];
\ No newline at end of file
diff --git a/components/panel/userAccount/index.js b/components/panel/userAccount/index.js
new file mode 100644
index 0000000..7ca347b
--- /dev/null
+++ b/components/panel/userAccount/index.js
@@ -0,0 +1,13 @@
+import Form from "./form";
+import Head from "./Head";
+
+function UserAccountPage({ data }) {
+ return (
+
+
+
+