UI/UX Enhancement: Hero Section Balancing + Expandable Editor Panel#170
UI/UX Enhancement: Hero Section Balancing + Expandable Editor Panel#170KD2303 wants to merge 1 commit into
Conversation
✅ Deploy Preview for makeareadme ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
@Mohit-368 |
There was a problem hiding this comment.
Pull request overview
This PR enhances the landing page hero visuals and upgrades the README Maker workspace to support collapsible/expandable panels and a focus (fullscreen) editing mode.
Changes:
- Added new floating hero decorative elements (capsule + mini asterisk) with animations and responsive positioning.
- Introduced collapsible sidebar/editor/preview panels, preview expand mode, and focus/fullscreen mode controls.
- Updated workspace CSS to support panel transitions, resizing, and responsive behavior.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/styles/index.css | Adds hero animations/elements and implements resizable + collapsible workspace panel styling. |
| src/pages/ReadmeMaker/Sidebar.jsx | Applies collapsed class based on new isCollapsed prop. |
| src/pages/ReadmeMaker/ReadmeMaker.jsx | Adds panel state management and header controls (collapse/expand + focus mode). |
| src/pages/ReadmeMaker/PreviewPanel.jsx | Adds collapsed/expanded panel states and preview header actions. |
| src/pages/ReadmeMaker/EditorPanel.jsx | Adds editor header with focus/collapse actions and collapsed state support. |
| src/pages/Landing/LandingPage.jsx | Adds new hero decorative DOM elements. |
| readmeforge.css | Mirrors hero animation/asset styling for the standalone preview stylesheet. |
Comments suppressed due to low confidence (1)
src/pages/ReadmeMaker/ReadmeMaker.jsx:185
- These toggle controls indicate state visually via the
activeclass, but they don’t expose the state to assistive tech. Addaria-pressed(and, if you keep emoji icons, ensure an accessible name via text/aria-label) so screen readers can announce whether Sidebar/Editor/Preview/Focus Mode is on or off.
<button
className={`hbtn-control ${sidebarCollapsed ? 'active' : ''}`}
onClick={handleToggleSidebar}
title={sidebarCollapsed ? "Expand Sidebar" : "Collapse Sidebar"}
>
📁 {sidebarCollapsed ? "Sidebar" : "Sidebar"}
</button>
<button
className={`hbtn-control ${editorCollapsed ? 'active' : ''}`}
onClick={handleToggleEditor}
title={editorCollapsed ? "Expand Editor" : "Collapse Editor"}
>
✍️ {editorCollapsed ? "Editor" : "Editor"}
</button>
<button
className={`hbtn-control ${previewCollapsed ? 'active' : ''}`}
onClick={handleTogglePreview}
title={previewCollapsed ? "Expand Preview" : "Collapse Preview"}
>
👁️ {previewCollapsed ? "Preview" : "Preview"}
</button>
<button
className={`hbtn-control primary-focus ${focusMode ? 'active' : ''}`}
onClick={handleToggleFocusMode}
title={focusMode ? "Exit Focus Mode" : "Focus Mode"}
>
✨ Focus Mode
</button>
</div>
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Hi @Mohit-368, I didn't quite get your point. Could you please explain it in a bit more detail? |
|
Hey @Mohit-368 , Could you review the changes and fixes I've made to the UI and merge the PR under GSSOC 26' if everything looks good? |
✨ UI/UX Enhancement: Balanced Hero Section + Expandable Editor Workspace
Description
This PR improves the overall UI/UX experience by redesigning the hero section layout and introducing expandable editor panels for a cleaner and more productive workflow.
The update focuses on visual balance, responsive behavior, smoother interactions, and distraction-free editing.
🚀 Changes Made
🎨 Hero Section Improvements
🖥️ Editor Workspace Improvements
🛠️ Tech Used
✅ Expected Outcome
📸 Screenshots
Before
After
🏷️ Labels
gssoc:approvedlevel:intermediatequality:cleantype:designtype:feature🔗 Related Issue
Closes #158