diff --git a/public/locales/fa/app.json b/public/locales/fa/app.json index 48be747..fbfa9df 100644 --- a/public/locales/fa/app.json +++ b/public/locales/fa/app.json @@ -9,7 +9,7 @@ "last_updated_at": "اخرین بروز رسانی", "header": { "open_profile": "پروفایل", - "edit_profile": "ویرایش پروفایل", + "edit_profile": " پروفایل", "change_password": "تغییر رمز عبور", "logout": "خروج" }, @@ -78,7 +78,7 @@ }, "UpdateProfile": { "error_invalid_email": "ایمیل نامعتبر است", - "typography_edit_profile": "ویرایش پروفایل", + "typography_edit_profile": "پروفایل", "text_field_email": "ایمیل", "text_field_enter_your_password": "رمز عبور خود را وارد کنید", "text_field_username": "نام کاربری", diff --git a/src/components/dashboard/loan-follow-up/index.jsx b/src/components/dashboard/loan-follow-up/index.jsx deleted file mode 100644 index e69147e..0000000 --- a/src/components/dashboard/loan-follow-up/index.jsx +++ /dev/null @@ -1,19 +0,0 @@ -import CenterLayout from "@/layouts/CenterLayout"; -import DashboardLayouts from "@/layouts/dashboardLayouts"; -import useUser from "@/lib/app/hooks/useUser"; -import { useTranslations } from "next-intl"; -import React from "react"; - -const DashboardLoanFollowUpComponent = () => { - const t = useTranslations(); - const { token } = useUser(); - return ( - - -

چه کشکی چه پشمی

-
-
- ); -}; - -export default DashboardLoanFollowUpComponent; diff --git a/src/components/dashboard/loan-request/index.jsx b/src/components/dashboard/loan-request/index.jsx deleted file mode 100644 index b13cf78..0000000 --- a/src/components/dashboard/loan-request/index.jsx +++ /dev/null @@ -1,19 +0,0 @@ -import CenterLayout from "@/layouts/CenterLayout"; -import DashboardLayouts from "@/layouts/dashboardLayouts"; -import useUser from "@/lib/app/hooks/useUser"; -import { useTranslations } from "next-intl"; -import React from "react"; - -const DashboardLoanRequestComponent = () => { - const t = useTranslations(); - const { token } = useUser(); - return ( - - -

نکنه وامم میخوای؟؟؟

-
-
- ); -}; - -export default DashboardLoanRequestComponent; diff --git a/src/pages/dashboard/loan-follow-up/index.jsx b/src/pages/dashboard/loan-follow-up/index.jsx deleted file mode 100644 index 6bab35f..0000000 --- a/src/pages/dashboard/loan-follow-up/index.jsx +++ /dev/null @@ -1,23 +0,0 @@ -import DashboardLoanFollowUpComponent from "@/components/dashboard/loan-follow-up"; -import TitlePage from "@/core/components/TitlePage"; -import WithAuthMiddleware from "@/middlewares/WithoutAuth"; -import { parse } from "next-useragent"; - -export default function LoanFollowUp() { - return ( - - - - - ); -} - -export async function getServerSideProps({ req, locale }) { - const { isBot } = parse(req.headers["user-agent"]); - return { - props: { - messages: (await import(`&/locales/${locale}/app.json`)).default, - isBot, - }, - }; -} diff --git a/src/pages/dashboard/loan-request/index.jsx b/src/pages/dashboard/loan-request/index.jsx deleted file mode 100644 index ad64ce8..0000000 --- a/src/pages/dashboard/loan-request/index.jsx +++ /dev/null @@ -1,23 +0,0 @@ -import DashboardLoanRequestComponent from "@/components/dashboard/loan-request"; -import TitlePage from "@/core/components/TitlePage"; -import WithAuthMiddleware from "@/middlewares/WithoutAuth"; -import { parse } from "next-useragent"; - -export default function LoanRequest() { - return ( - - - - - ); -} - -export async function getServerSideProps({ req, locale }) { - const { isBot } = parse(req.headers["user-agent"]); - return { - props: { - messages: (await import(`&/locales/${locale}/app.json`)).default, - isBot, - }, - }; -}