-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
166 lines (151 loc) · 4.65 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>DevDetective</title>
<link
rel="apple-touch-icon"
sizes="180x180"
href="./Images/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./Images/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="./Images/favicon-16x16.png"
/>
<link rel="manifest" href="./Images/site.webmanifest" />
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap"
rel="stylesheet"
/>
<!-- CSS -->
<link rel="stylesheet" href="./style.css" />
<!-- JS -->
<script src="./script.js" defer></script>
</head>
<body>
<div class="wrapper">
<div class="container">
<!-- Header -->
<header class="header">
<h1 class="title">DevDetective</h1>
<div class="btn" id="modeBtn">
<p id="modeText">dark</p>
<div class="iconContainer">
<img
src="./Images/moon-icon.svg"
alt=""
id="modeIcon"
loading="lazy"
/>
</div>
</div>
</header>
<main>
<!-- Search Container -->
<div class="searchContainer">
<input
type="text"
id="input"
placeholder="Enter a Github username..."
required
autofocus
/>
<div class="error">
<p id="noResults">no search results</p>
</div>
<button id="btn">Search </button>
</div>
<!-- Profile Container -->
<div class="profileContainer">
<div class="profileContent">
<div class="profileHeader">
<img id="userImage" loading="lazy" />
<div class="profileInfoWrapper">
<div class="profileName">
<h2 id="name"></h2>
<a
href=""
target="_blank"
rel="noopener noreferrer"
id="username"
></a>
</div>
<p id="date"></p>
</div>
</div>
<p id="profileBio"></p>
<div class="statsContainer">
<div class="profileStats">
<p class="statsTitle">Repositories</p>
<a id="repos"></a>
</div>
<div class="profileStats">
<p class="statsTitle">Followers</p>
<a id="followers"></a>
</div>
<div class="profileStats">
<p class="statsTitle">Following</p>
<a id="following"></a>
</div>
</div>
<div class="profileFooter">
<div class="profileInfo">
<div class="bottomIcon">
<img
src="./Images/location-icon.svg"
alt=""
loading="lazy"
/>
</div>
<p id="location"></p>
</div>
<div class="profileInfo">
<div class="bottomIcon">
<img
src="./Images/website-icon.svg"
alt=""
loading="lazy"
/>
</div>
<a id="website"></a>
</div>
<div class="profileInfo">
<div class="bottomIcon">
<img
src="./Images/twitter-icon.svg"
alt=""
loading="lazy"
/>
</div>
<a id="twitter"></a>
</div>
<div class="profileInfo">
<div class="bottomIcon">
<img
src="./Images/company-icon.svg"
alt=""
loading="lazy"
/>
</div>
<p id="company"></p>
</div>
</div>
</div>
</div>
</main>
</div>
</div>
</body>
</html>