add about
This commit is contained in:
@@ -13,7 +13,7 @@ const BagIcon = (props: Props) => (
|
|||||||
>
|
>
|
||||||
<path
|
<path
|
||||||
d="M7.5 8V7.03C7.5 4.78 9.31 2.57 11.56 2.36C14.24 2.1 16.5 4.21 16.5 6.84V8.22"
|
d="M7.5 8V7.03C7.5 4.78 9.31 2.57 11.56 2.36C14.24 2.1 16.5 4.21 16.5 6.84V8.22"
|
||||||
stroke="currentColor"
|
stroke="#8C90A3"
|
||||||
strokeWidth={1.5}
|
strokeWidth={1.5}
|
||||||
strokeMiterlimit={10}
|
strokeMiterlimit={10}
|
||||||
strokeLinecap="round"
|
strokeLinecap="round"
|
||||||
@@ -21,7 +21,7 @@ const BagIcon = (props: Props) => (
|
|||||||
/>
|
/>
|
||||||
<path
|
<path
|
||||||
d="M8.99983 21H14.9998C19.0198 21 19.7398 19.39 19.9498 17.43L20.6998 11.43C20.9698 8.99 20.2698 7 15.9998 7H7.99983C3.72983 7 3.02983 8.99 3.29983 11.43L4.04983 17.43C4.25983 19.39 4.97983 21 8.99983 21Z"
|
d="M8.99983 21H14.9998C19.0198 21 19.7398 19.39 19.9498 17.43L20.6998 11.43C20.9698 8.99 20.2698 7 15.9998 7H7.99983C3.72983 7 3.02983 8.99 3.29983 11.43L4.04983 17.43C4.25983 19.39 4.97983 21 8.99983 21Z"
|
||||||
stroke="currentColor"
|
stroke="#8C90A3"
|
||||||
strokeWidth={1.5}
|
strokeWidth={1.5}
|
||||||
strokeMiterlimit={10}
|
strokeMiterlimit={10}
|
||||||
strokeLinecap="round"
|
strokeLinecap="round"
|
||||||
|
|||||||
@@ -4,13 +4,13 @@ import React from 'react'
|
|||||||
import BottomNavLink from './BottomNavLink'
|
import BottomNavLink from './BottomNavLink'
|
||||||
import BottomNavHighlightLink from './BottomNavLinkBig'
|
import BottomNavHighlightLink from './BottomNavLinkBig'
|
||||||
import PagerIcon from '../icons/PagerIcon'
|
import PagerIcon from '../icons/PagerIcon'
|
||||||
import NotifiBoardIcon from '../icons/NotifBoardIcon'
|
|
||||||
import BagIcon from '../icons/BagIcon'
|
import BagIcon from '../icons/BagIcon'
|
||||||
import HeartIcon from '../icons/HeartIcon'
|
import HeartIcon from '../icons/HeartIcon'
|
||||||
import { useParams, usePathname } from 'next/navigation'
|
import { useParams, usePathname } from 'next/navigation'
|
||||||
import HomeIcon from '../icons/HomeIcon'
|
import HomeIcon from '../icons/HomeIcon'
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { useCart } from '@/app/[name]/(Dialogs)/cart/hook/useCart';
|
import { useCart } from '@/app/[name]/(Dialogs)/cart/hook/useCart';
|
||||||
|
import { Building } from 'iconsax-react';
|
||||||
|
|
||||||
type BottomNavBarProps = {
|
type BottomNavBarProps = {
|
||||||
onPagerClick?: () => void;
|
onPagerClick?: () => void;
|
||||||
@@ -82,7 +82,17 @@ function BottomNavBar({ onPagerClick }: BottomNavBarProps) {
|
|||||||
width={20}
|
width={20}
|
||||||
height={20} />}
|
height={20} />}
|
||||||
value={t('Menu')} />
|
value={t('Menu')} />
|
||||||
<BottomNavLink href={`/${name}/notifications`} icon={<NotifiBoardIcon width={20} height={20} />} value={t('Notifications')} />
|
<BottomNavLink
|
||||||
|
href={`/${name}/about`}
|
||||||
|
icon={
|
||||||
|
<Building
|
||||||
|
size={20}
|
||||||
|
variant="Outline"
|
||||||
|
color="#8C90A3"
|
||||||
|
/>
|
||||||
|
}
|
||||||
|
value={t('about')}
|
||||||
|
/>
|
||||||
<BottomNavLink href={'/auth'} icon={<HeartIcon width={20} height={20} />} value={t('Favorites')} />
|
<BottomNavLink href={'/auth'} icon={<HeartIcon width={20} height={20} />} value={t('Favorites')} />
|
||||||
</nav>
|
</nav>
|
||||||
</foreignObject>
|
</foreignObject>
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
"Pager": "پیجر",
|
"Pager": "پیجر",
|
||||||
"Notifications": "اعلان ها",
|
"Notifications": "اعلان ها",
|
||||||
"Favorites": "پسند ها",
|
"Favorites": "پسند ها",
|
||||||
|
"about": "درباره",
|
||||||
"AriaLabel": ""
|
"AriaLabel": ""
|
||||||
},
|
},
|
||||||
"SideMenu": {
|
"SideMenu": {
|
||||||
|
|||||||
Reference in New Issue
Block a user