-
-
Notifications
You must be signed in to change notification settings - Fork 59
Description
Describion
The website's layout is not adequately responsive on small mobile viewports. The navigation sidebar (containing menu items like "Ethical Hacking," "Python for Ethical Hacking," etc.) occupies a disproportionate amount of the screen width, causing the main content area ("Tutorial," "Available Courses") to be severely compressed and almost unreadable.
To Reproduce
Steps to reproduce the behavior:
- Go to
https://hacking-tutorial.vercel.app - Open Developer Tools (F12 or Ctrl+Shift+I / Cmd+Option+I).
- Switch to Device Emulation Mode (Toggle device toolbar).
- Select a small mobile device preset, such as 'iPhone SE' or set a custom width under 400px.
- See error: The main content is squeezed into a very narrow column next to the sidebar.
Expected behavior
On small mobile viewports, the layout should prioritize the main content. The expected behavior is for the navigation sidebar to either:
- Collapse into a hamburger menu that opens on demand.
- Move above or below the main content area, allowing the main content to use the full screen width.
Screenshots
Additional context
The issue stems from a lack of, or incorrect, media queries that define a mobile-specific layout. The current layout appears to be a fixed-width desktop/tablet layout scaled down, resulting in poor user experience on smaller screens.
@amandewatnitrr, please consider assigning this issue to me as part of hacktober.