diff --git a/src/components/listview/MenuItem.tsx b/src/components/listview/MenuItem.tsx
index 6e15db5..9bb6182 100644
--- a/src/components/listview/MenuItem.tsx
+++ b/src/components/listview/MenuItem.tsx
@@ -47,7 +47,7 @@ const MenuItem = ({ food }: MenuItemProps) => {
className="inline-flex w-full justify-center items-center gap-2"
>
-
افزودن
+ افزودن
) : (
<>
diff --git a/src/components/menu/Menu.tsx b/src/components/menu/SideMenu.tsx
similarity index 71%
rename from src/components/menu/Menu.tsx
rename to src/components/menu/SideMenu.tsx
index 5af6fec..2f472c1 100644
--- a/src/components/menu/Menu.tsx
+++ b/src/components/menu/SideMenu.tsx
@@ -1,8 +1,8 @@
'use client';
import React, { useMemo } from 'react'
-import MenuItemType from './MenuItem'
-import MenuItem from './MenuItem';
+import MenuItemType from './SideMenuItem'
+import SideMenuItem from './SideMenuItem';
import NotificationBellIcon from '../icons/NotificationBellIcon';
import CupIcon from '../icons/CupIcon';
import TicketDiscountIcon from '../icons/TickerDiscountIcon';
@@ -26,40 +26,40 @@ type MenuItemType = {
const menuItems: Array> = [
[
{
- href: '/', title: 'صفحه اصلی', icon:
+ href: '/', title: 'صفحه اصلی', icon:
},
{
- href: 'my-services', title: 'سرویس های من', icon:
+ href: 'my-services', title: 'سرویس های من', icon:
},
{
- href: 'services', title: 'سایر سرویس ها', icon:
+ href: 'services', title: 'سایر سرویس ها', icon:
},
{
- href: 'invoices', title: 'لیست', icon:
+ href: 'invoices', title: 'لیست', icon:
},
{
- href: 'transactions', title: 'تراکنش ها', icon:
+ href: 'transactions', title: 'تراکنش ها', icon:
},
{
- href: '/', title: 'صفحه اصلی', icon:
+ href: '/', title: 'صفحه اصلی', icon:
},
{
- href: 'my-services', title: 'سرویس های من', icon:
+ href: 'my-services', title: 'سرویس های من', icon:
},
{
- href: 'services', title: 'سایر سرویس ها', icon:
+ href: 'services', title: 'سایر سرویس ها', icon:
},
{
- href: 'invoices', title: 'نصب اپلیکیشن', icon:
+ href: 'invoices', title: 'نصب اپلیکیشن', icon:
},
],
[],
[
{
- href: undefined, title: 'تنظیمات', icon:
+ href: undefined, title: 'تنظیمات', icon:
},
{
- href: undefined, title: 'خروج', icon:
+ href: undefined, title: 'خروج', icon:
},
]
]
@@ -71,7 +71,7 @@ type Props = {
togglenightModeState: React.MouseEventHandler | undefined
}
-function Menu({ menuState, toggleMenuState, nightModeState, togglenightModeState }: Props) {
+function SideMenu({ menuState, toggleMenuState, nightModeState, togglenightModeState }: Props) {
const menuStateMemo = useMemo(() => menuState, [menuState]);
return (
@@ -87,16 +87,16 @@ function Menu({ menuState, toggleMenuState, nightModeState, togglenightModeState
منو
{menuItems[0].map((v, i) => {
- return
+ return
})}
{menuItems[2].map((v, i) => {
- return
+ return
})}
-
+ >}>
@@ -105,4 +105,4 @@ function Menu({ menuState, toggleMenuState, nightModeState, togglenightModeState
)
}
-export default Menu;
+export default SideMenu;
diff --git a/src/components/menu/MenuItem.tsx b/src/components/menu/SideMenuItem.tsx
similarity index 73%
rename from src/components/menu/MenuItem.tsx
rename to src/components/menu/SideMenuItem.tsx
index 52e1f73..c9af430 100644
--- a/src/components/menu/MenuItem.tsx
+++ b/src/components/menu/SideMenuItem.tsx
@@ -6,12 +6,12 @@ type Props = {
title: string
} & LinkProps & React.AnchorHTMLAttributes
-export default function MenuItem({ href, title, icon, className, children, ...restProps }: Props) {
+export default function SideMenuItem({ href, title, icon, className, children, ...restProps }: Props) {
return (
{children}
{icon}
diff --git a/src/components/navigation/BottomNavBar.tsx b/src/components/navigation/BottomNavBar.tsx
index b3afcc3..ef20dd8 100644
--- a/src/components/navigation/BottomNavBar.tsx
+++ b/src/components/navigation/BottomNavBar.tsx
@@ -36,18 +36,20 @@ function BottomNavBar() {
- } value="سبد خرید" />
- } value="پیجر" />
+ } value="سبد خرید" />
+ } value="پیجر" />
}
+ strokeWidth={1}
+ width={20}
+ height={20} />}
value="منو" />
- } value="اعلان ها" />
- } value="پسند ها" />
+ } value="اعلان ها" />
+ } value="پسند ها" />
diff --git a/src/components/navigation/BottomNavLinkBig.tsx b/src/components/navigation/BottomNavLinkBig.tsx
index de59304..1e546e7 100644
--- a/src/components/navigation/BottomNavLinkBig.tsx
+++ b/src/components/navigation/BottomNavLinkBig.tsx
@@ -20,7 +20,7 @@ function BottomNavHighlightLink({ icon, value, href, ...restProps }: Props) {
restProps.className ?? '',
)}>
{icon}
diff --git a/src/components/wrapper/ClientMenuRouteWrapper.tsx.tsx b/src/components/wrapper/ClientMenuRouteWrapper.tsx.tsx
index 8813ca6..869412b 100644
--- a/src/components/wrapper/ClientMenuRouteWrapper.tsx.tsx
+++ b/src/components/wrapper/ClientMenuRouteWrapper.tsx.tsx
@@ -2,7 +2,7 @@
import React, { useState } from 'react'
import TopBar from '../topbar/TopBar'
-import Menu from '../menu/Menu'
+import SideMenu from '../menu/SideMenu'
import BottomNavBar from '../navigation/BottomNavBar'
type Props = {} & React.AllHTMLAttributes
@@ -49,7 +49,7 @@ function ClientMenuRouteWrapper({ children }: Props) {