Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
209 lines (189 loc) · 5.84 KB
/
Copy pathindex.html
File metadata and controls
209 lines (189 loc) · 5.84 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Github App</title>
<!-- favicon -->
<link
rel="shortcut icon"
href="https://www.svgrepo.com/show/501210/github.svg"
type="image/x-icon"
/>
<!-- font awesome -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css"
integrity="sha512-2SwdPD6INVrV/lHTZbO2nodKhrnDdJK9/kg2XD1r9uGqPo1cUbujc+IYdlYdEErWNu69gVcYgdxlmVmzTWnetw=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<!-- Outfit Font -->
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap"
/>
<!-- external style -->
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- Header -->
<header>
<div class="logo-icon">
<i class="fa-brands fa-github"></i>
</div>
<h1>Git<span>Hub</span> Explorer</h1>
</header>
<main>
<!-- Left side -->
<aside aria-label="Sidebar">
<div class="card">
<h2>
<i
class="fa-solid fa-magnifying-glass"
style="margin-right: 6px"
></i
>Search User
</h2>
<form id="search-form">
<label for="username">Username</label>
<input
type="text"
placeholder="e.g. karim1safan"
id="username"
autocomplete="new-password"
required
/>
<button type="submit" id="submit-btn">
<i class="fa-brands fa-github"></i>
Get Repos
</button>
</form>
</div>
<div class="card">
<h2>
<i class="fa-solid fa-tag" style="margin-right: 6px"></i>
Topics
</h2>
<ul id="topics">
<li>
<button>
<i class="fa-brands fa-html5"></i>
HTML
</button>
</li>
<li>
<button>
<i class="fa-brands fa-css3"></i>
CSS
</button>
</li>
<li>
<button>C++</button>
</li>
<li>
<button>C#</button>
</li>
<li>
<button>
<i class="fa-brands fa-js"></i>
JavaScript
</button>
</li>
<li>
<button>TypeScript</button>
</li>
<li>
<button>
<i class="fa-brands fa-php"></i>
PHP
</button>
</li>
</ul>
</div>
</aside>
<!-- Right side -->
<div class="right-panel" aria-label="Repositories">
<div class="panel-header" id="panel-header">
<h3 class="topic-term" id="topic-term">Topic</h3>
<span class="results-count" id="results-count">0</span>
</div>
<div class="repo-toolbar" id="repo-toolbar" aria-label="Repository filters" style="display: none">
<div class="toolbar-field">
<label for="repo-filter">Filter by name</label>
<input
type="text"
id="repo-filter"
placeholder="Filter loaded repositories"
autocomplete="off"
/>
</div>
<div class="toolbar-field">
<label for="repo-sort">Sort by</label>
<select id="repo-sort">
<option value="default">Default order</option>
<option value="stars">Stars descending</option>
<option value="forks">Forks descending</option>
<option value="issues">Open issues descending</option>
<option value="updated">Last updated descending</option>
</select>
</div>
<p class="repo-counter" id="repo-counter">Showing 0 of 0 repositories</p>
</div>
<div class="repos" id="repos-container">
<!-- repo items -->
<!-- <div id="no-repo-message">
<p>Search for a user or choose a topic to get started 🚀</p>
</div> -->
<div class="repo-item">
<div class="repo-header">
<div class="repo-name">
<i class="fa-solid fa-book"></i>
<h3>Full Name</h3>
</div>
<span class="lang-badge">
<span class="lang-dot"></span>
Language
</span>
</div>
<p class="repo-desc">Description</p>
<div class="repo-data">
<p class="stars">
<i class="fa-solid fa-star"></i>
<span>0</span>
</p>
<p class="forks">
<i class="fa-solid fa-code-fork"></i>
<span>0</span>
</p>
<p class="issues">
<i class="fa-solid fa-bug"></i>
<span>0</span>
</p>
</div>
</div>
</div>
<div class="pagination" id="pagination" style="display: none">
<button class="prev-btn" id="prev-btn">
<i class="fa-solid fa-arrow-left"></i>
Previous
</button>
<button class="next-btn" id="next-btn">
<i class="fa-solid fa-arrow-right"></i>
Next
</button>
</div>
</div>
</main>
<footer class="footer">
<p>
Created by
<a href="https://github.com/karim1safan" target="_blank">
Karim Safan
<i class="fa fa-heart"></i>
</a>
</p>
</footer>
<script src="js/main.js"></script>
</body>
</html>