-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDashboard.html
151 lines (134 loc) · 5.99 KB
/
Dashboard.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Your Dashboard</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link rel="stylesheet" href="Dashboard.css">
</head>
<body>
<div class="container">
<!-- Sidebar -->
<aside class="sidebar">
<ul class="icon-menu">
<a href="Homepage.html"><img src="z (1).png"></a>
<li><a href="Dashboard.html" class="active"><i class="fas fa-home"></i></a></li>
<li><a href="Community.html"><i class="fas fa-comment"></i></a></li>
<li><a href="#"><i class="fa-solid fa-medal"></i></a></li>
<li><a href="Education.html"><i class="fa-solid fa-lightbulb"></i></a></li>
<li><a href="#"><i class="fa-solid fa-robot"></i></a></li>
<li><a href="subs.html"><i class="fa-solid fa-wallet"></i></a></li>
<li id="logout"><a href="signin_page.html"><i class="fas fa-sign-out-alt"></i></a></li>
</ul>
</aside>
<!-- Main Content -->
<main class="content">
<!-- Header with Welcome Text -->
<header class="header">
<div class="welcome-text">
<p id="greeting">Good Morning</p>
<h1>Welcome Back <span class="emoji">🎉</span></h1>
<div class="navbar-right">
<i class="fas fa-bell"></i> <!-- Notification icon -->
<i class="fas fa-cog"></i> <!-- Settings icon -->
<img src="profile.jpg" alt="Profile" class="profile-img"> <!-- Profile picture -->
</div>
</div>
</header>
<!-- Dashboard Section -->
<section class="dashboard">
<div class="carousel-container">
<div class="carousel-slide">
<div class="carousel-item">
<img src="banner1.jpg" alt="Image 1">
</div>
<div class="carousel-item">
<img src="banner2.jpg" alt="Image 2">
</div>
<div class="carousel-item">
<img src="banner3.jpg" alt="Image 3">
</div>
</div>
<!-- Navigation buttons -->
<a class="prev" onclick="moveSlide(-1)">❮</a>
<a class="next" onclick="moveSlide(1)">❯</a>
<!-- Dots -->
<div class="dots-container">
<span class="dot" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
<span class="dot" onclick="currentSlide(3)"></span>
</div>
</div>
<div class="cards">
<div class="card">
<h3><i class="fa-solid fa-fire"></i> Carbs</h3>
<p>270g</p>
</div>
<div class="card">
<h3><i class="fa-solid fa-egg"></i> Protein</h3>
<p>97g</p>
</div>
<div class="card">
<h3><i class="fa-solid fa-pizza-slice"></i> Fats</h3>
<p>150g</p>
</div>
</div>
</section>
<div class="charthead">Nutrients Consumed:</div>
<div class="chartsprogress-container">
<div class="chart-container">
<canvas id="goalProgressChart"></canvas>
</div>
<div class="progress-card">
<h3>Monthly Progress</h3>
<div class="progress-circle">
<div class="progress-bar">
<span class="progress-percentage">80%</span>
</div>
</div>
<p class="progress-description">You have achieved <span class="highlight">80%</span> of your goal
this month</p>
</div>
</div>
</section>
<div class="schedule-container">
<div class="schedule-header">
<h3>Meals Consumed</h3>
<a href="#">+ ADD</a>
</div>
<div class="schedule-card">
<div class="day">Monday</div>
<div class="details">
<span>Bread Jam</span>
<span>At 08:00am</span>
</div>
<div class="progress">6 Pieces</div>
</div>
<div class="schedule-card">
<div class="day">Sunday</div>
<div class="details">
<span>Pizza</span>
<span>At 09:00pm</span>
</div>
<div class="progress">Medium</div>
</div>
<div class="schedule-card">
<div class="day">Sunday</div>
<div class="details">
<span>Chips</span>
<span>At 07:30pm</span>
</div>
<div class="progress">1 Packet</div>
</div>
</div>
<div class="communitycontainer">
<div class="communitycard">Explore</div>
<div class="communitycard">Communities <i class="fas fa-arrow-right"></i></div>
</div>
</main>
</div>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="Dashboard.js"></script>
</body>
</html>