-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnewdashboard.html
157 lines (140 loc) · 4.22 KB
/
newdashboard.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Health Connect Dashboard</title>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
/>
<style>
body {
background-image: url("https://images.unsplash.com/photo-1557683316-973673baf926?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2029&q=80");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
height: 100vh;
display: flex;
justify-content: center; /* Centers the content horizontally */
align-items: center; /* Centers the content vertically */
margin: 0;
padding: 0;
overflow-y: hidden;
}
.main-container {
display: flex;
height: 90vh; /* Ensure both image and dashboard are of equal height */
width: 100%;
max-width: 1300px; /* Adjust the max-width to limit the size */
border-radius: 30px;
}
.left-image-container {
flex: 2;
background-image: url("https://images.unsplash.com/photo-1603807008857-ad66b70431aa?q=80&w=2073&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
background-size: cover;
background-position: center;
transition: transform 0.5s ease;
}
.dashboard-container {
flex: 1;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
display: flex;
align-items: center;
justify-content: center;
}
h1 {
font-size: 3rem;
font-weight: bold;
}
.btn {
transition: all 0.3s ease;
border-radius: 25px;
padding: 10px 30px;
font-size: 1.1rem;
}
.btn-primary {
background-color: #4caf50;
border-color: #4caf50;
}
.btn-primary:hover,
.btn-primary:focus {
background-color: #45a049;
border-color: #45a049;
transform: translateY(-3px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.btn-outline-light:hover,
.btn-outline-light:focus {
background-color: rgba(255, 255, 255, 0.1);
transform: translateY(-3px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
.main-container {
flex-direction: column;
height: auto;
}
.left-image-container,
.dashboard-container {
width: 100%;
height: 40vh;
}
h1 {
font-size: 2.5rem;
}
.btn {
padding: 8px 20px;
font-size: 1rem;
}
}
@media (max-width: 576px) {
h1 {
font-size: 2rem;
}
.btn {
padding: 6px 15px;
font-size: 0.9rem;
}
}
a {
text-decoration: none;
color: white;
}
#signup :hover {
color: black;
}
</style>
</head>
<body>
<div class="main-container">
<!-- Left Image Container -->
<div class="left-image-container"></div>
<!-- Right Container -->
<div class="dashboard-container p-4 text-white">
<div>
<h1 class="text-center mb-4">Health Connect</h1>
<p class="text-center mb-5">Your gateway to college wellness</p>
<div class="d-flex justify-content-center">
<button
class="btn btn-primary me-3"
aria-label="Login to Health Connect"
>
<a href="/loginpage">Login</a>
</button>
<button
class="btn btn-outline-light"
aria-label="Sign up for Health Connect"
>
<a id="signup" href="/signup">Signup</a>
</button>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>