- لیست محتوا
+ <>
+ {/* دسکتاپ Sidebar */}
+
+
+ لیست محتوا
+
+
+
+ {guides.length > 0 ? (
+ guides.map((guide) => (
+
handleGuideClick(guide.id)}
+ >
+
+ {guide.title}
+
+
+ {guide.description}
+
+
+ ))
+ ) : null}
+
-
- {guides.length > 0 ? (
- guides.map((guide) => (
-
handleGuideClick(guide.id)}
- >
-
- {guide.title}
-
-
- {guide.description}
-
-
- ))
- ) : null}
+ {/* موبایل Floating Button */}
+
+
-
+
+ {/* موبایل Drawer */}
+ {isMobileMenuOpen && (
+
+ {/* Backdrop */}
+
+
+ {/* Drawer */}
+
+ {/* Header */}
+
+
لیست محتوا
+
+
+
+ {/* Content */}
+
+ {guides.length > 0 ? (
+ guides.map((guide) => (
+
handleGuideClick(guide.id)}
+ >
+
+ {guide.title}
+
+
+ {guide.description}
+
+
+ ))
+ ) : (
+
+ محتوایی برای نمایش وجود ندارد
+
+ )}
+
+
+
+ )}
+ >
)
}
diff --git a/src/index.css b/src/index.css
index 9caad10..5175bbe 100644
--- a/src/index.css
+++ b/src/index.css
@@ -2,7 +2,6 @@
html {
direction: rtl;
- overflow: hidden;
max-width: 100%;
}
@@ -12,10 +11,8 @@ body {
padding: 0;
width: 100%;
direction: rtl;
- overflow: hidden !important;
background: #eceef6;
font-weight: 300;
- overflow: hidden;
font-feature-settings: "lnum"; /* اطمینان از نمایش اعداد انگلیسی */
user-select: none;
-webkit-user-select: none;