diff --git a/src/app/[name]/[id]/page.tsx b/src/app/[name]/[id]/page.tsx index 241df54..4e6b2e9 100644 --- a/src/app/[name]/[id]/page.tsx +++ b/src/app/[name]/[id]/page.tsx @@ -18,7 +18,7 @@ function FoodPage({ }: Props) { const price = 0; // TODO: Replace with actual price if needed return ( -
+
) { } return ( -
+
-

علی مصلحی

+
+

علی مصلحی

-
-
-
    -
  • +
    +
    +
      +
    • لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ، و با استفاده از طراحان گرافیک است، چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است @@ -30,7 +30,61 @@ function ChatIndex({ }: Props) {

    • -
    • +
    • +
      +
      + سیما فرهادی +
      +

      + لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ، و با استفاده از طراحان گرافیک است، +

      + + + 10:07 | 1403/09/30 + +
      +
    • + +
    • +
      +

      + لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ، و با استفاده از طراحان گرافیک است، چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است +

      + + + 10:07 | 1403/09/30 + +
      +
    • + +
    • +
      +
      + سیما فرهادی +
      +

      + لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ، و با استفاده از طراحان گرافیک است، +

      + + + 10:07 | 1403/09/30 + +
      +
    • + +
    • +
      +

      + لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ، و با استفاده از طراحان گرافیک است، چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است +

      + + + 10:07 | 1403/09/30 + +
      +
    • + +
    • سیما فرهادی @@ -45,23 +99,30 @@ function ChatIndex({ }: Props) {
    -
+
-
+
- + className="focus-within:outline-blue-400 outline outline-transparent transition-colors duration-100 flex items-center gap-0 bg-transparent border border-[#D0D0D0] h-12 rounded-xl py-2.5 px-2" + > + - - + +
diff --git a/src/app/[name]/chat/page.tsx b/src/app/[name]/chat/page.tsx index 50f84dc..1b34b01 100644 --- a/src/app/[name]/chat/page.tsx +++ b/src/app/[name]/chat/page.tsx @@ -56,8 +56,14 @@ function ChatIndex() { return ( -
+
+ + + -
+
{positions.length === users.length && users.map((v, i) => ( +
{firstTab()}} diff --git a/src/app/[name]/page.tsx b/src/app/[name]/page.tsx index a4f2d0a..5c4191c 100644 --- a/src/app/[name]/page.tsx +++ b/src/app/[name]/page.tsx @@ -218,28 +218,30 @@ const MenuIndex = () => { return ( -
- - - {categories.map((item, index) => ( - updateCategory(index)} - > - category image - {item.title} - - ))} - +
+
+ + + {categories.map((item, index) => ( + updateCategory(index)} + > + category image + {item.title} + + ))} + +
@@ -249,7 +251,7 @@ const MenuIndex = () => {
- +
) } diff --git a/src/app/profile/page.tsx b/src/app/profile/page.tsx index 03fb787..ed54c56 100644 --- a/src/app/profile/page.tsx +++ b/src/app/profile/page.tsx @@ -24,15 +24,15 @@ function ProfileIndex({ }: Props) { // }, [isAuthenticated]) return ( - <> +
-
پروفایل کاربری
+

پروفایل کاربری

-
+
@@ -85,7 +85,7 @@ function ProfileIndex({ }: Props) {
- +
) } diff --git a/src/components/input/SearchBox.tsx b/src/components/input/SearchBox.tsx index 2b0b810..7d51ada 100644 --- a/src/components/input/SearchBox.tsx +++ b/src/components/input/SearchBox.tsx @@ -8,7 +8,7 @@ type Props = { export default function SearchBox({ value, onChange }: Props) { return ( -
+
{ />
-
{food.name}
+
{food.name}
{food.contains}
@@ -50,7 +50,7 @@ const MenuItem = ({ food }: MenuItemProps) => { className="inline-flex w-full justify-center items-center gap-2" > -
افزودن
+
افزودن
) : ( <> diff --git a/src/components/wrapper/ClientMenuRouteWrapper.tsx.tsx b/src/components/wrapper/ClientMenuRouteWrapper.tsx.tsx index 99f74ca..d7ab840 100644 --- a/src/components/wrapper/ClientMenuRouteWrapper.tsx.tsx +++ b/src/components/wrapper/ClientMenuRouteWrapper.tsx.tsx @@ -36,28 +36,42 @@ function ClientMenuRouteWrapper({ children }: Props) { // }, [location]) return ( -
-
+
+ +
-
-
+ profileDropState={profileDrop} + toggleProfileDropState={toggleProfileDrop} + menuState={menuState} + toggleMenuState={toggleMenuState} + searchModalState={searchModal} + toggleSearchModalState={toggleSearchModal} + nightModeState={nightMode} + toggleNightModeState={toggleNightMode} + /> +
+ + +
+ +
+ + + + + +
{children}
- -
+ ) }