-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuserDash.html
164 lines (161 loc) · 6.67 KB
/
userDash.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
152
153
154
155
156
157
158
159
160
161
162
163
164
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>User Dashboard</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
font-family: Arial, sans-serif;
}
.navbar {
background-color: #0d6efd;
}
.navbar-brand, .nav-link {
color: white !important;
}
.nav-link:hover {
color: #dfe6e9 !important;
}
.sidebar {
height: 100vh;
padding: 20px;
background-color: #f8f9fa;
}
.main-content {
padding: 20px;
}
.card {
margin-bottom: 20px;
}
@media (max-width: 768px) {
.sidebar {
height: auto;
padding: 10px;
}
.main-content {
padding: 10px;
}
.card {
margin-bottom: 15px;
}
}
@media (max-width: 576px) {
.navbar-brand, .nav-link {
font-size: 0.9rem;
}
.sidebar {
padding: 5px;
}
.main-content {
padding: 5px;
}
.card h5 {
font-size: 1rem;
}
.card p {
font-size: 0.875rem;
}
}
</style>
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="#">My Dashboard</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Profile</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Settings</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Reserved Items</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Logout</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<!-- Sidebar -->
<div class="col-lg-2 col-md-3 col-12 bg-light sidebar">
<h5 class="mt-3">Dashboard</h5>
<nav class="nav flex-column mt-4">
<a class="nav-link active" href="#">Overview</a>
<a class="nav-link" href="#">Orders</a>
<a class="nav-link" href="#">Products</a>
<a class="nav-link" href="#">Customers</a>
</nav>
</div>
<!-- Main Content -->
<div class="col-lg-10 col-md-9 col-12 main-content">
<h2 class="mt-4">Welcome to Your Dashboard</h2>
<div class="row">
<div class="col-lg-4 col-md-6 col-12">
<div class="card" style="background: linear-gradient(45deg, #ff416c, #ff4b2b); border-radius: 15px; box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);">
<div class="card-body" style="color: #fff; text-align: center;">
<h5 class="card-title" style="font-weight: bold; letter-spacing: 2px;">SHOP ITEMS</h5>
<p class="card-text" style="font-size: 1.1em;">Shop items on the go</p>
<a href="./fruitables-1.0.0/index.html" class="btn btn-primary" style="background: #3a1c71; border: none; padding: 10px 20px; font-size: 1.2em; border-radius: 25px; transition: background 0.3s ease;">
SHOP NOW
</a>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-12">
<div class="card">
<div class="card-body">
<h5 class="card-title">Recent Orders</h5>
<p class="card-text">View and manage your recent orders.</p>
<a href="./fruitables-1.0.0/viewOrders.html" class="btn btn-primary">View Orders</a>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-12">
<div class="card">
<div class="card-body">
<h5 class="card-title">Product Review and Rating</h5>
<p class="card-text">View and manage your recent reviews.</p>
<a href="./product.html" class="btn btn-primary">View Reviews</a>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-12">
<div class="card">
<div class="card-body">
<h5 class="card-title">Mart Maps</h5>
<p class="card-text">View your location in the store.</p>
<a href="./maps.html" class="btn btn-primary">View Maps</a>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-12">
<div class="card">
<div class="card-body">
<h5 class="card-title">Reserve Items</h5>
<p class="card-text">Browse and reserve grocery items.</p>
<a href="./reserve-items.html" class="btn btn-primary">Reserve Items</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>