-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
87 lines (82 loc) · 2.63 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta name="description" content="GitHub App" />
<meta name="author" content="Gaurav Singh" />
<link rel="icon" type="image/png" href="git.png" />
<link rel="manifest" href="manifest.json" />
<link rel="apple-touch-icon" href="logo.png" />
<meta name="theme-color" content="#000000" />
<title>GitHub App</title>
<link href="bootstrap.min (3).css" rel="stylesheet" />
<!-- Custom styles for this template -->
<link href="./css/style.css" rel="stylesheet" />
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
<a class="navbar-brand" href="#">GitHub App</a>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarColor01"
aria-controls="navbarColor01"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarColor01">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="https://github.com"
>GitHub <span class="sr-only">(current)</span></a
>
</li>
<li class="nav-item">
<a class="nav-link" href="https://codepen.io">Codepen </a>
</li>
</ul>
</div>
</nav>
<br />
<main role="main" class="container">
<div class="searchContainer">
<h1>Explore GitHub</h1>
<p class="lead">
Enter a username to get users Profile Info and Repos
</p>
<input
type="text"
id="searchUser"
class="form-control"
placeholder="Github Username"
/>
<br />
<div id="profile"></div>
</div>
</main>
<script
src="https://code.jquery.com/jquery-3.5.1.js"
integrity="sha256-QWo7LDvxbWT2tbbQ97B53yJnYU3WhH/C8ycbRAkjPDc="
crossorigin="anonymous"
></script>
<script src="js/main.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker
.register('serviceworker.js')
.then((reg) => console.log('Success:', reg.scope))
.catch((err) => console.log('Failure:', err));
});
}
</script>
</body>
</html>