Refine student dashboard hierarchy with stronger section structure and action emphasis - #2
Merged
VishakhaVB merged 2 commits intoMay 27, 2026
Conversation
✅ Deploy Preview for ignitera-gamified-learning ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
VishakhaVB
marked this pull request as ready for review
May 27, 2026 11:58
Copilot
AI
changed the title
[WIP] Improve visual hierarchy in student dashboard
Refine student dashboard hierarchy with stronger section structure and action emphasis
May 27, 2026
There was a problem hiding this comment.
Pull request overview
Improves the visual hierarchy of the student dashboard by introducing clearer section titling, more consistent spacing, and refined card styling (including a highlighted primary action).
Changes:
- Added a “Quick Actions” section title and emphasized the “Daily Mission” card as a primary action.
- Adjusted typography, spacing, and shadows across the welcome/cards/notes/motivation sections for clearer hierarchy.
- Introduced new utility styles (
line-height,.section-title,.card-primary) and refined card hover styling.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| studentdash.html | Adds a “Quick Actions” heading and marks “Daily Mission” as a primary card. |
| studentdash.css | Refines global typography and reworks spacing/shadows; adds section title + primary card styling. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
41
to
+45
| <div class="card" onclick="goTo('course.html')">📚 <span>Courses</span></div> | ||
| <div class="card" onclick="goTo('quizz.html')">🎯 <span>Quizzes</span></div> | ||
| <div class="card" onclick="goTo('progress.html')">📊 <span>Progress</span></div> | ||
| <div class="card" onclick="goTo('leaderboard.html')">🏆 <span>Leaderboard</span></div> | ||
| <div class="card" onclick="goTo('dailychallenge.html')">⚡ <span>Daily Mission</span></div> | ||
| <div class="card card-primary" onclick="goTo('dailychallenge.html')">⚡ <span>Daily Mission</span></div> |
Comment on lines
+151
to
+155
| .card-primary { | ||
| background: linear-gradient(135deg, #eff6ff, #dbeafe); | ||
| border-color: #93c5fd; | ||
| box-shadow: 0 14px 30px rgba(37, 99, 235, 0.2); | ||
| } |
Comment on lines
144
to
148
| .card:hover { | ||
| transform: translateY(-6px); | ||
| box-shadow: 0 6px 15px rgba(0,0,0,0.15); | ||
| box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14); | ||
| border-color: #bfdbfe; | ||
| background: #f1f5f9; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The student dashboard currently gives similar visual weight to all sections, making key actions harder to scan. This update improves hierarchy, spacing, and card emphasis so important actions stand out faster.
Typography and section hierarchy
Section spacing and layout rhythm
Card consistency and action emphasis
card-primarystyle.