-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofile.html
More file actions
221 lines (190 loc) · 7.01 KB
/
profile.html
File metadata and controls
221 lines (190 loc) · 7.01 KB
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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>User Profile</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
background-color: #f4f4f4;
color: #333;
margin: 0;
padding: 20px;
background-size: cover;
}
h1 {
text-align: center;
color: #333;
}
p {
font-size: 18px;
margin: 10px 0;
}
strong{
color: #555;
}
/* Sidebar Navigation */
.side-nav {
height: 100vh;
width: 60px; /* Only show the logo area by default */
position: fixed;
top: 0;
left: 0;
background-color: #f3f3f3; /* Parent background color */
overflow-x: hidden;
transition: width 0.3s ease; /* Smooth transition for expanding */
padding-top: 4px;
z-index: 2000;
display: flex;
flex-direction: column; /* Arrange items in a column */
align-items: center; /* Center items horizontally */
}
.side-nav:hover {
width: 250px; /* Expand the sidebar on hover */
}
.nav-items {
height: 80vh; /* Child div height */
display: flex;
flex-direction: column; /* Arrange items in a column */
justify-content: space-between; /* Space out items evenly */
width: 100%; /* Ensure it spans the full width of the parent */
padding-left: 20px; /* Add padding for spacing */
}
.side-nav a {
padding: 10px 0;
text-decoration: none;
font-size: 1.5em;
color: #333;
display: flex; /* Use flexbox for alignment */
align-items: center; /* Vertically center the content */
gap: 10px; /* Add space between the icon and the text */
transition: 0.3s;
white-space: nowrap; /* Prevent text wrapping */
}
.side-nav a span {
opacity: 0; /* Hide text by default */
transform: translateX(-20px); /* Slide text out of view */
transition: opacity 0.3s ease, transform 0.3s ease;
}
.side-nav:hover a span {
opacity: 1; /* Show text on hover */
transform: translateX(0); /* Slide text into view */
}
.side-nav a i {
font-size: 24px; /* Adjust icon size */
color: #333; /* Ensure icons are visible */
}
.side-nav a:hover {
background-color: #fff;
}
/* side nav end here */
.side-nav:hover ~ #profile_container {
margin-left: 250px; /* Adjust for the expanded sidebar */
}
/* side nav end here */
#profile_container{
margin-left: 65px; /* Adjust for the collapsed sidebar */
margin-right: 0px;
padding: 15px;
transition: margin-left 0.3s ease;
margin-top: 1vh;
height: 100vh;
}
#card {
background-color: #fff;
border-radius: 10px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
padding: 20px;
max-width: 600px;
margin: 20px auto;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#card:hover {
transform: scale(1.02);
box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
}
.footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 20px 0;
margin-top: 40px;
}
.end {
background-color: #fafafc;
color: #0000008f;
text-align: center;
padding: 5px 0 5px 0px;
}
.links {
display: flex;
justify-content: center;
align-items: center;
padding-bottom: 20px;
}
.links a {
font-size: 2rem;
margin: 0 15px;
color: #6e6e73;
transition: transform 0.3s ease, color 0.3s ease;
}
.links a:hover {
color: #092147;
transform: scale(1.2);
}
</style>
</head>
<body>
<!-- Sliding Sidebar -->
<div id="mySidenav" class="side-nav">
<div class="nav-items">
<a href="#"><img src="Logo.jpg" alt="Logo" width="40px" style="border-radius: 50%;"><span>Task Sphere</span></a>
<a href="calendar.html"><i class="fa-solid fa-house-chimney"></i><span>Home</span></a>
<a href="myTasks.html"><i class="fa-regular fa-pen-to-square"></i><span>My Task</span></a>
<a href="project.html"><i class="fa-solid fa-diagram-project"></i><span>Project</span></a>
<a href="profile.html"><i class="fa-regular fa-circle-user user-icon"></i><span>Profile</span></a>
<a href="Login.html"><i class="fa-solid fa-arrow-right-from-bracket"></i><span>Logout</span></a>
</div>
</div>
<!-- Slidebar End -->
<div id="profile_container">
<img src="Logo.jpg" alt="Logo" height="120vh" style=" padding: 4px; border-radius: 50%; display: block; margin: 0 auto;">
<h1><strong>Task Sphere</strong></h1>
<div id="card">
<h1><i class="fa-regular fa-circle-user user-icon"></i> User Details</h1><hr>
<p><strong>Username:</strong> <span id="displayUsername"></span></p>
<p><strong>Name:</strong> <span id="displayName"></span></p>
<p><strong>Contact:</strong> <span id="displayContact"></span></p>
<p><strong>DOB:</strong> <span id="displayDOB"></span></p>
<p><strong>Email:</strong> <span id="displayEmail"></span></p>
</div>
<!-- Not displaying password for security -->
</div>
=======
<footer>
<div class="end">
<p style="font-family: sans-serif;">Company Name: Task Sphere Pvt Ltd</p>
<p>Regd. Office Address : <a href="https://maps.app.goo.gl/eDEJrQZkLnKJhYbF9?g_st=awH R Mahajani Rd, Matunga East, Mumbai, Maharashtra 400019">H R Mahajani Rd, Matunga East, Mumbai, Maharashtra 400019</a></p>
<p style="font-family: sans-serif;"> Telephone No.: +91-325258 | E-mail: Helpline@support.TaskSphere.com | Contact No.: +91 9022672625</b></p>
<p style="font-family: sans-serif;">Corporate Social Responsibility (CSR) Policy</p><hr>
<p>
© 2025 TaskSphere.com. All rights reserved.
</div>
<div class="links">
<a href="https://www.facebook.com" title="Facebook"><i class="fa-brands fa-facebook"></i></a>
<a href="https://www.instagram.com/" title="Instagram"><i class="fa-brands fa-instagram"></i></a>
<a href="https://www.linkedin.com" title="LinkedIn"><i class="fa-brands fa-linkedin"></i></a>
</div>
</footer>
<script>
document.getElementById("displayUsername").textContent = localStorage.getItem("username");
document.getElementById("displayName").textContent = localStorage.getItem("name");
document.getElementById("displayContact").textContent = localStorage.getItem("contact");
document.getElementById("displayDOB").textContent = localStorage.getItem("DOB");
document.getElementById("displayEmail").textContent = localStorage.getItem("email");
</script>
</body>
</html>