From 71fd53c8105ca44de5eb3efe1adf1d4c20a5d632 Mon Sep 17 00:00:00 2001 From: mahyargdz Date: Wed, 11 Jun 2025 21:58:47 +0330 Subject: [PATCH] chore: fix --- Dockerfile | 2 +- src/shared/Footer.tsx | 214 ++++++++++++++++++++++++++---------------- 2 files changed, 133 insertions(+), 83 deletions(-) diff --git a/Dockerfile b/Dockerfile index f6d066c..e8a618d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN corepack enable && corepack prepare pnpm@10 --activate RUN cp /usr/share/zoneinfo/Asia/Tehran /etc/localtime && echo "Asia/Tehran" > /etc/timezone WORKDIR /build -COPY package*.json ./ +COPY package*.json pnpm-lock.yaml ./ RUN pnpm install --frozen-lockfile --loglevel info COPY . ./ RUN pnpm run build diff --git a/src/shared/Footer.tsx b/src/shared/Footer.tsx index 43901e5..70e0f02 100644 --- a/src/shared/Footer.tsx +++ b/src/shared/Footer.tsx @@ -1,86 +1,136 @@ -import { Element3, Element4, Home2, Messages3, NotificationStatus } from 'iconsax-react' -import { FC } from 'react' -import { useTranslation } from 'react-i18next' -import { Pages } from '../config/Pages' -import { Link, useLocation } from 'react-router-dom' +// import { +// Element3, +// Element4, +// Home2, +// Messages3, +// NotificationStatus, +// } from "iconsax-react"; +// import { FC } from "react"; +// import { useTranslation } from "react-i18next"; +// // import { Pages } from "../config/Pages"; +// import { Link, useLocation } from "react-router-dom"; -const Footer: FC = () => { - const { t } = useTranslation('global') - const location = useLocation() +// const Footer: FC = () => { +// const { t } = useTranslation("global"); +// const location = useLocation(); - const isActive = (path: string) => location.pathname === path +// const isActive = (path: string) => location.pathname === path; - return ( -
-
-
- -
- -
- {t('footer.my_services')} -
-
- - -
- -
- {t('footer.other_services')} -
-
- - -
-
-
- -
-
-
- {t('footer.home')} -
-
- - -
- -
- {t('footer.announcements')} -
-
- - -
- -
- {t('footer.tickets')} -
-
- -
-
- ) -} +// return ( +//
+//
+//
+// +//
+// +//
+// {t("footer.my_services")} +//
+//
+// +// +//
+// +//
+// {t("footer.other_services")} +//
+//
+// +// +//
+//
+//
+// +//
+//
+//
+// {t("footer.home")} +//
+//
+// +// +//
+// +//
+// {t("footer.announcements")} +//
+//
+// +// +//
+// +//
+// {t("footer.tickets")} +//
+//
+// +//
+//
+// ); +// }; -export default Footer +// export default Footer;