-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
175 lines (168 loc) · 6.21 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
167
168
169
170
171
172
173
174
175
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="title" content="GitFinder - Github User Finder" />
<meta
name="description"
content="Explore GitHub profiles effortlessly with GitProfileFinder. Discover user details, repositories, and more, enhancing your GitHub experience."
/>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<title>GitProfileFinder</title>
</head>
<body>
<div class="input-group mt-5 justify-content-center">
<select
class="custom-select pl-1 btn-info"
id="reposPerPageSelect"
onchange="searchUser()"
>
<option value="10">10 per page</option>
<option value="20">20 per page</option>
<option value="50">50 per page</option>
<option value="100">100 per page</option>
</select>
<input
type="text"
class="form-control border border-dark"
style="max-width: 30%"
id="usernameInput"
name="username"
placeholder="Enter Github Username"
aria-label="Username"
onkeydown="handleEnter(event)"
/>
<div class="input-group-append border border-dark">
<button
class="btn btn-primary"
style="border-radius: 0"
type="button"
id="search"
onclick="searchUser()"
>
Search
</button>
</div>
</div>
<div id="loader" class="text-center mt-3" style="display: none">
<div class="spinner-border text-primary" role="status">
<span class="sr-only"></span>
</div>
</div>
<div class="container my-5 border border-dark p-5">
<div class="row" id="profileContainer">
<div class="col-12 col-md-3 text-center">
<div class="d-flex flex-column align-items-center" id="imgContainer">
<img
src="./images/profile.png"
alt="userImg"
class="img-fluid mb-3 rounded-circle border border-secondary border-dark"
style="width: 120px; height: 120px"
/>
<a href="https://github.com/jhon_doe" target="_blank"
><i class="fa-solid fa-link"></i> https://github.com/jhon_doe</a
>
</div>
</div>
<div id="bioContainer" class="col-12 col-md-9 ps-5 pt-3">
<h3>John Doe</h3>
<p>Bio goes here</p>
<p><i class="fa-solid fa-location-dot"></i> Orlando</p>
<p>Twitter: https://twitter.com/john_doe</p>
</div>
</div>
<div id="repoContainer" class="row mt-3">
<div class="col-md-12">
<div class="row">
<div class="col-md-6 mb-4">
<div class="border border-dark p-3">
<h4 style="color: #0d6efd">Repo Name</h4>
<p>Description</p>
<button class="repoBtn btn btn-primary">Javascript</button>
<button class="repoBtn btn btn-primary">React</button>
</div>
</div>
<div class="col-md-6 mb-4">
<div class="border border-dark p-3">
<h4 style="color: #0d6efd">Repo Name</h4>
<p>Description</p>
<button class="repoBtn btn btn-primary">Javascript</button>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 mb-4">
<div class="border border-dark p-3">
<h4 style="color: #0d6efd">Repo Name</h4>
<p>Description</p>
<button class="repoBtn btn btn-primary">Javascript</button>
</div>
</div>
<div class="col-md-6 mb-4">
<div class="border border-dark p-3">
<h4 style="color: #0d6efd">Repo Name</h4>
<p>Description</p>
<button class="repoBtn btn btn-primary">Javascript</button>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 mb-4">
<div class="border border-dark p-3">
<h4 style="color: #0d6efd">Repo Name</h4>
<p>Description</p>
<button class="repoBtn btn btn-primary">Javascript</button>
</div>
</div>
<div class="col-md-6 mb-4">
<div class="border border-dark p-3">
<h4 style="color: #0d6efd">Repo Name</h4>
<p>Description</p>
<button class="repoBtn btn btn-primary">Javascript</button>
</div>
</div>
</div>
</div>
</div>
<nav aria-label="Page navigation example">
<ul
class="pagination justify-content-center mb-0"
id="paginationContainer"
>
<li class="page-item" id="previousPage">
<a class="page-link" href="#" aria-label="Previous">
<span aria-hidden="true">«</span>
</a>
</li>
<li class="page-item"><a class="page-link" href="#">1</a></li>
<li class="page-item"><a class="page-link" href="#">2</a></li>
<li class="page-item"><a class="page-link" href="#">3</a></li>
<li class="page-item" id="nextPage">
<a class="page-link" href="#" aria-label="Next">
<span aria-hidden="true">»</span>
</a>
</li>
</ul>
</nav>
</div>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"
></script>
<script src="script.js"></script>
</body>
</html>