This repository has been archived by the owner on Feb 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathUserpage.html
182 lines (168 loc) · 5.3 KB
/
Userpage.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<link href="https://fonts.googleapis.com/css?family=Dosis:300,400,700" rel="stylesheet"/>
<link rel="stylesheet" type="text/css" href="css/styles.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<title>User page</title>
<style>
* {
margin:0;
padding:0;
}
body{
font-family: "Dosis", sans-serif;
background-color: black;
}
.navbar{
width:300px;
height:100%;
background-color:black;
position:fixed;
top:0;
right:-300px;
display:flex;
justify-content: center;
align-items: center;
border-radius:20% 0 0 40%;
transition: right 0.8s cubic-bezier(1, 0, 0, 1);
}
.change{
right:0;
}
.hamburger-menu{
width:35px;
height:30px;
position:fixed;
top:20px;
right:50px;
cursor:pointer;
display:flex;
flex-direction: column;
justify-content: space-around;
}
.line{
width:100%;
height:3px;
background-color:white;
transition: all 0.8s;
}
.change .line-1{
transform:rotateZ(-405deg) translate(-8px, 6px);
}
.change .line-2{
opacity:0;
}
.change .line-3{
transform:rotateZ(405deg) translate(-8px, -6px);
}
.nav-list{
text-align:left;
}
.nav-item{
list-style: none;
margin:25px;
}
.nav-link{
text-decoration: none;
font-size: 22px;
color: #eee;
font-weight:500;
letter-spacing: 1px;
text-transform: uppercase;
position:relative;
padding:3px 0;
}
.nav-link::before,
.nav-link::after{
content: "";
width:100%;
height:2px;
background-color:red;
position:absolute;
right:0;
transform:scalex(0);
transition:transform 0.5s;
}
.nav-link::after{
bottom:0;
transform-origin:right;
}
.nav-link::before{
top:0;
transform-origin:left;
}
.nav-link:hover::before,
.nav-link:hover::after{
transform: scalex(1);
}
</style>
</head>
<body>
<nav>
<div class="container">
<h1 style="border:5px solid black; font-size: 35px; background-color:white; text-transform: uppercase; text-align: center; border-radius:15px; margin: 0px 500px 0px 500px; padding: 5px;">User</h1>
</div>
</nav>
<div id="demo" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ul class="carousel-indicators">
<li data-target="#demo" data-slide-to="0" class="active"></li>
<li data-target="#demo" data-slide-to="1"></li>
<li data-target="#demo" data-slide-to="2"></li>
</ul>
<!-- The slideshow -->
<div class="carousel-inner">
<div class="carousel-item active">
<img src="image/uSerbbms1.jpg" alt="Los Angeles" width="1100" height="500">
</div>
<div class="carousel-item">
<img src="image/userbbms2.jpeg" alt="Chicago" width="1100" height="500">
</div>
<div class="carousel-item">
<img src="image/Userbbms3.png" alt="New York" width="1100" height="500">
</div>
</div>
<!-- Left and right controls -->
<a class="carousel-control-prev" href="#demo" data-slide="prev">
<span class="carousel-control-prev-icon"></span>
</a>
</div>
<div class="container">
<nav class="navbar">
<div class="hamburger-menu">
<div class="line line-1"></div>
<div class="line line-2"></div>
<div class="line line-3"></div>
</div>
<ul class="nav-list">
<li class="nav-item">
<a href="rprofile.php" class="nav-link">My Account</a>
</li>
<li class="nav-item">
<a href="blooddinfo.php" class="nav-link">Blood info</a>
</li>
<li class="nav-item">
<a href="abs.php" class="nav-link">Blood available</a>
</li>
<li class="nav-item">
<a href="sentrequest.php" class="nav-link">Status of request</a>
</li>
<li class="nav-item">
<a href="blooddonate.php" class="nav-link">Blood donation request</a>
</li>
<li class="nav-item">
<a href="logout.php" class="nav-link">LogOut</a>
</li>
</ul>
</nav>
</div>
<script src="script.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>