-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Added my HTML-CSS-only project: Glassmorphism Dashboard #984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
manvi255
wants to merge
3
commits into
you-dont-need:master
Choose a base branch
from
manvi255:add-my-project
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| # Glassmorphism Dashboard | ||
|
|
||
| A modern, responsive dashboard built with HTML, CSS, and JavaScript featuring a beautiful glassmorphism design. | ||
|
|
||
| ## Features | ||
|
|
||
| - 🎨 **Modern Glassmorphism Design**: Beautiful frosted glass effect with smooth animations | ||
| - 🌓 **Dark/Light Mode Toggle**: Switch between dark and light themes | ||
| - 📱 **Fully Responsive**: Works perfectly on all device sizes | ||
| - 📊 **Interactive Charts**: Real-time data visualization using Chart.js | ||
| - 🔄 **Live Updates**: Activity feed with real-time updates | ||
| - 📈 **Trend Indicators**: Shows performance trends with up/down arrows | ||
| - 🎯 **Status Cards**: Quick overview of important metrics | ||
| - 🎭 **Smooth Animations**: Elegant transitions and hover effects | ||
| - 📍 **Sidebar Navigation**: Easy access to different sections | ||
| - 👤 **Profile Section**: User profile integration | ||
|
|
||
| ## Enhancements Made | ||
|
|
||
| 1. Added Font Awesome icons for better visual hierarchy | ||
| 2. Implemented dark/light mode toggle with CSS variables | ||
| 3. Created a responsive sidebar with profile section | ||
| 4. Added trend indicators to status cards | ||
| 5. Integrated Chart.js for data visualization | ||
| 6. Created a recent activities section | ||
| 7. Enhanced hover effects and animations | ||
| 8. Improved mobile responsiveness | ||
| 9. Added CSS variables for better theme management | ||
| 10. Implemented glassmorphism effects consistently | ||
|
|
||
| ## Setup | ||
|
|
||
| 1. Clone this repository | ||
| 2. Open `index.html` in your browser | ||
| 3. No additional setup required - it's all static files! | ||
|
|
||
| ## Technologies Used | ||
|
|
||
| - HTML5 | ||
| - CSS3 (with CSS Variables) | ||
| - JavaScript (ES6+) | ||
| - Chart.js | ||
| - Font Awesome Icons | ||
|
|
||
| ## Contributing | ||
|
|
||
| Feel free to fork this project and submit pull requests. Here are some ways you could help improve this dashboard: | ||
|
|
||
| - Add more chart types and visualizations | ||
| - Implement data filters | ||
| - Add more themes | ||
| - Create additional components | ||
| - Improve accessibility | ||
| - Add more interactive features | ||
|
|
||
| ## License | ||
|
|
||
| MIT License - feel free to use this in your projects! | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,118 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>Glass Dashboard</title> | ||
| <link rel="stylesheet" href="style.css" /> | ||
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" /> | ||
| </head> | ||
|
|
||
| <body> | ||
| <!-- THEME SWITCH --> | ||
| <input type="checkbox" id="theme-toggle" class="theme-checkbox" /> | ||
| <label for="theme-toggle" class="theme-switch"> | ||
| <i class="fas fa-sun"></i> | ||
| <i class="fas fa-moon"></i> | ||
| </label> | ||
|
|
||
| <!-- HAMBURGER TOGGLE --> | ||
| <input type="checkbox" id="menu-toggle" class="menu-checkbox" /> | ||
| <label for="menu-toggle" class="hamburger"> | ||
| <i class="fas fa-bars"></i> | ||
| </label> | ||
|
|
||
| <!-- SIDEBAR --> | ||
| <nav class="sidebar"> | ||
| <div class="profile"> | ||
| <img src="https://via.placeholder.com/80" alt="Profile" class="profile-img"> | ||
| <h3>John Doe</h3> | ||
| <p>Admin</p> | ||
| </div> | ||
| <ul class="nav-links"> | ||
| <li class="active"><i class="fas fa-home"></i> Dashboard</li> | ||
| <li><i class="fas fa-chart-line"></i> Analytics</li> | ||
| <li><i class="fas fa-tasks"></i> Projects</li> | ||
| <li><i class="fas fa-cog"></i> Settings</li> | ||
| </ul> | ||
| </nav> | ||
|
|
||
| <!-- MAIN CONTENT --> | ||
| <div class="background"> | ||
| <div class="container"> | ||
| <h1 class="title">Glassmorphism Dashboard</h1> | ||
|
|
||
| <div class="cards"> | ||
| <div class="card"> | ||
| <i class="fas fa-users card-icon"></i> | ||
| <h2>Users</h2> | ||
| <p>1,245</p> | ||
| <div class="card-trend up"> | ||
| <i class="fas fa-arrow-up"></i> | ||
| <span>12%</span> | ||
| </div> | ||
| </div> | ||
| <div class="card"> | ||
| <i class="fas fa-dollar-sign card-icon"></i> | ||
| <h2>Revenue</h2> | ||
| <p>$12,345</p> | ||
| <div class="card-trend up"> | ||
| <i class="fas fa-arrow-up"></i> | ||
| <span>8%</span> | ||
| </div> | ||
| </div> | ||
| <div class="card"> | ||
| <i class="fas fa-tasks card-icon"></i> | ||
| <h2>Tasks</h2> | ||
| <p>87%</p> | ||
| <div class="card-trend down"> | ||
| <i class="fas fa-arrow-down"></i> | ||
| <span>3%</span> | ||
| </div> | ||
| </div> | ||
| <div class="card"> | ||
| <i class="fas fa-envelope card-icon"></i> | ||
| <h2>Messages</h2> | ||
| <p>56</p> | ||
| <div class="card-trend up"> | ||
| <i class="fas fa-arrow-up"></i> | ||
| <span>24%</span> | ||
| </div> | ||
| </div> | ||
| </div> | ||
|
|
||
| <div class="recent-activities"> | ||
| <h2>Recent Activities</h2> | ||
| <div class="activity-list"> | ||
| <div class="activity-item"> | ||
| <i class="fas fa-user-plus"></i> | ||
| <div class="activity-content"> | ||
| <h3>New User Registration</h3> | ||
| <p>John Smith joined the platform</p> | ||
| <span class="time">2 minutes ago</span> | ||
| </div> | ||
| </div> | ||
| <div class="activity-item"> | ||
| <i class="fas fa-shopping-cart"></i> | ||
| <div class="activity-content"> | ||
| <h3>New Sale</h3> | ||
| <p>Product XYZ was purchased</p> | ||
| <span class="time">15 minutes ago</span> | ||
| </div> | ||
| </div> | ||
| <div class="activity-item"> | ||
| <i class="fas fa-file-alt"></i> | ||
| <div class="activity-content"> | ||
| <h3>New Report</h3> | ||
| <p>Monthly report has been generated</p> | ||
| <span class="time">1 hour ago</span> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
|
|
||
| </div> | ||
| </div> | ||
| </body> | ||
| </html> | ||
|
|
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
???