-
Notifications
You must be signed in to change notification settings - Fork 1
/
profile.html
85 lines (72 loc) · 2.85 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./style/profile.css">
<link rel="stylesheet" href="./style/header.css">
<link rel="stylesheet" href="./style/pop.css">
<link rel="stylesheet" href="./style/myprof.css">
<link rel="stylesheet" href="./style/notification.css">
<link rel="stylesheet" href="./style/content.css">
<link rel="stylesheet" href="./style/main-photo.css">
<link rel="stylesheet" href="./style/threedotspop.css">
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css">
</head>
<body>
<script type="module">
import { header} from "./components/header.js"
import {profile} from './components/profile.js'
import {Notification} from './components/notification.js'
import threeDotsPop from "./components/threedotspop.js"
document.body.append(header());
// document.body.append(myshow());
document.body.append(profile());
document.body.append(threeDotsPop());
document.body.append(Notification());
document.getElementById("hamberbur").addEventListener("click", function(){
console.log("hi")
appearDotsDiv()
})
let flag = 0
function appearDotsDiv(){
if(flag==0){
document.querySelector(".dots-div").style.display = "block"
flag = 1
}
else{
document.querySelector(".dots-div").style.display = "none"
flag = 0
}
}
</script>
<section id="user_section" >
<div>
<img class="avatar-large" alt="avatar-large" src="https://images.unsplash.com/placeholder-avatars/large.jpg" />
</div>
<div>
<div id="user"></div>
<div id="username"></div>
</div>
</section>
<nav id="profile_nav" >
<div id="nav_div">
</div>
</nav>
<section id="content">
<div style=" width:100%;height: auto;" id="display">
</div>
</section>
<div style="padding-left: 42%;margin-top: 30px;">
<a href="index.html"> <img style="padding-left:6.5% ; width: 10%;"
src="https://unsplash.com/assets/core/logo-black-df2168ed0c378fa5506b1816e75eb379d06cfcd0af01e07a2eb813ae9b5d7405.svg"
alt="logo"> </a> <!-- homepage -->
<p style="color: gray;">Make something awesome</p>
</div>
<script src="./components/myprofile.js"></script>
<script src="./components/menutoggle.js"></script>
<script src="./components/notificationtoggle.js"></script>
</body>
</html>