feat: add side menu

This commit is contained in:
Mahyar Khanbolooki
2025-07-04 15:49:38 +03:30
parent 691dc7c100
commit 424373bc3f
25 changed files with 758 additions and 11 deletions
+2
View File
@@ -13,6 +13,8 @@
--color-foreground: #333333;
--color-disabled: #E7E7E7;
--color-disabled-text: #8C90A3;
--color-menu-header: #C3C7DD;
--color-icon-deactive: #A8ABBF;
--radius-normal: 10px;
--text-sm2: 13px;
--text-xs2: 10px;
+1
View File
@@ -16,6 +16,7 @@ export default function RootLayout({
<html lang="en">
<body
dir="rtl"
className={`antialiased bg-background h-full`}
>
{children}
+1 -1
View File
@@ -1,4 +1,4 @@
import LoadingOverlay from '@/components/loading/LoadingOverlay'
import LoadingOverlay from '@/components/overlays/LoadingOverlay'
import React from 'react'
function Loading() {
+11 -3
View File
@@ -1,5 +1,6 @@
import BottomNavBar from "@/components/navigation/BottomNavBar";
import { ReactQueryProvider } from "@/components/providers/ReactQueryProvider";
import { Menu } from '@/components/menu/Menu';
export const metadata = {
title: 'Menu',
@@ -13,10 +14,17 @@ export default function MenuLayout({
return (
<ReactQueryProvider>
<main className="h-full pb-0">
{children}
</main>
<main className="h-full pb-0">
{children}
</main>
<aside>
<Menu />
</aside>
<footer>
<BottomNavBar />
</footer>
</ReactQueryProvider>
);
}