-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdashboard.html
186 lines (160 loc) · 4.48 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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Salon Dashboard</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #FACFCE;
}
.sidebar {
width: 250px;
position: fixed;
height: 100vh;
background-color: pink;
color: #0D0D0D;
padding-top: 20px;
overflow-y: auto;
}
.sidebar a {
display: block;
color: #0D0D0D;
padding: 15px;
text-decoration: none;
font-size: 18px;
}
.sidebar a:hover {
background-color: #34495E;
}
.main-content {
margin-left: 260px;
padding: 20px;
}
.header {
background-color: pink;
color: black;
padding: 15px;
text-align: center;
}
.dashboard-section {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
margin-top: 20px;
}
.card {
background-color: #fff;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
padding: 20px;
width: 100%;
margin-bottom: 20px;
}
.card h3 {
margin-top: 0;
}
.card p {
font-size: 24px;
font-weight: bold;
}
.card .btn {
display: inline-block;
padding: 10px 20px;
background-color: #2980B9;
color: white;
text-decoration: none;
border-radius: 5px;
margin-top: 10px;
}
.card .btn:hover {
background-color: #3498DB;
}
.hero {
display: flex;
justify-content: space-between;
align-items: center;
}
.hero .left {
flex: 1;
}
.hero .image {
flex: 1;
display: flex;
justify-content: flex-end;
}
.hero img {
max-width: 100%;
height: auto;
margin-left: 20px;
}
@media (max-width: 768px) {
.dashboard-section {
flex-direction: column;
}
.card {
width: 100%;
}
.hero {
flex-direction: column;
align-items: center;
text-align: center;
}
.hero .image {
justify-content: center;
margin-top: 20px;
}
}
footer {
background-color: #FACFCE;
padding: 10px 20px;
position: fixed;
bottom: 0;
width: calc(100% - 260px); /* Adjusts for the sidebar width */
margin-left: 60px; /* Aligns to start after sidebar */
text-align: right;
box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.1);
}
footer p {
margin: 0;
color: #0D0D0D;
}
</style>
</head>
<body>
<div class="sidebar">
<h2 style="text-align:center; color: black;">Mega Beauty</h2>
<a href="#">Dashboard</a>
<a href="contact.html">Book appointment</a>
<a href="client.html">Clients</a>
<a href="services.html">Our Services</a>
<li><a href="staff.html">Our Staff</a></li>
</div>
<div class="main-content">
<div class="header">
<h1>Welcome</h1>
<p>Your Mega Salon Dashboard</p>
</div>
<div class="dashboard-section">
<div class="card">
<section class="hero">
<div class="left">
<h1>Get Your <br> Desired <br> Hair</h1>
<p>Mega beauty awaits you where we<br> ensure you get quality services and products from us to you</p>
</div>
<div class="image">
<img src="Vero.jpeg" alt="A beautiful hairstyle from mega beauty" height="600px" width="500px">
</div>
</section>
</div>
</div>
</div>
<footer>
<div class="container">
<p>Mega Beauty. Your desire<br>our service to you</p>
</div>
</footer>
</body>
</html>