bsoc-bitbyte/busify

Add Hamburger Menu for AdminPanel Sidebar on Mobile Devices.

開放

#85 建立於 2024年6月5日

 (4 則留言) (0 個反應) (1 位負責人)TypeScript (75 個分叉)auto 404
BSoC'24enhancementfrontendgood first issue

倉庫指標

星標
 (44 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Is your feature request related to a problem? Please describe.

We can't keep the AdminPanel sidebar open on mobile devices due to lack of space. So currently there's no way to access the AdminPanel sidebar on mobile devices. image

Describe the solution you'd like

Add a hamburger menu icon (keep the color "yellow", the same as the theme color) to the navbar that will be visible on mobile devices & admin route only. When the hamburger icon is clicked, it should open the AdminPanel sidebar in a side drawer.

Also, make the "BUSIFY" text of the sidebar responsive for tablet screens(currently seems too small).

Describe alternatives you've considered

No response

Developer Help

In order to view the admin page as an "Admin" role, you can make a slight change in "frontend/src/store/ authstore.tsx" file: At line 25 : setUser: user => set({ user: { ...user, role: 'admin', } }),

貢獻者指南