-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.html
65 lines (54 loc) · 1.82 KB
/
profile.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="google-signin-client_id" content="722298456324-188oee4kbfmg5fhm0hmrufpvd78fsi1f.apps.googleusercontent.com">
<script src="https://apis.google.com/js/platform.js" async defer></script>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/profile.css">
<title>Profile</title>
</head>
<body>
<nav id="nav2">
<a href="index.html" class="logo">
Socialize
<img src="https://img.icons8.com/cotton/64/000000/messaging-.png" height="35px" width="35px"/>
</a>
<ul class="menu2">
<li><a href="profile.html">Profile</a></li>
<li><a href="map.html">Map</a></li>
</ul>
<a href="index.html" class="signup" onclick="signOut()" >Sign Out</a>
</nav>
<div class="card-box">
<!-- <div id="move"> -->
<img src="" id="pfp" style="width:200px">
<br>
<ul id="listprofile">
<li>
<p id="name"></p>
</li>
<li>
<p id="email"></p>
</li>
<br>
<li id="block-display">
<p id="friends">45 Friends</p>
<p id="followers">15 Followers</p>
</li>
</ul>
<!-- </div> -->
</div>
<script>
function signOut() {
var auth2 = gapi.auth2.getAuthInstance();
auth2.signOut().then(function () {
console.log('User signed out.');
});
localStorage.setItem('out?', true);
}
</script>
</body>
</html>
<script src="scripts/profile.js"></script>