-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathhomepage.html
More file actions
65 lines (65 loc) · 1.64 KB
/
homepage.html
File metadata and controls
65 lines (65 loc) · 1.64 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Homepage of Auth</title>
<style>
body {
padding: 30px;
background: linear-gradient(to right, #e2e2e2, #c9d6ff);
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
text-align: center;
margin-bottom: 20px;
color: #333;
}
.info {
background: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 80%;
max-width: 500px;
margin-bottom: 20px;
}
.info div {
margin-bottom: 10px;
font-size: 18px;
}
.info span {
font-weight: 600;
font-size: 20px;
color: #333;
}
button {
color: #fff;
background-color: #4caf50;
padding: 10px 20px;
border-radius: 5px;
font-size: 1rem;
font-weight: bold;
border: none;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #45a049;
}
</style>
<script type="module" src="./homepage.js"></script>
</head>
<body>
<h1>Welcome to the Homepage</h1>
<div class="info">
<div>First Name: <span id="loggedUserFName"></span></div>
<div>Last Name: <span id="loggedUserLName"></span></div>
<div>Email: <span id="loggedUserEmail"></span></div>
</div>
<button id="logout">Logout</button>
</body>
</html>