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 ( -