-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
110 lines (90 loc) · 4.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GitHub Finder</title>
<link rel="stylesheet" href="style.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link href="https://use.fontawesome.com/releases/v5.6.1/css/all.css" rel="stylesheet">
</head>
<body>
<div class="container mt-5">
<h3 style="text-align: center; color: white;" id="searchtext"><b>Search Profile By Username</b></h3>
<div class="search-container mt-5">
<input type="text" name="search" class="search-input" id="username" placeholder="GitHub Username">
<div class="button-search">
<a href="#" class="search-btn" onclick="find()">
<i class="fas fa-search"></i>
</a>
</div>
</div>
<div class="invaliduser mt-5" id="invaliduser">
<h6>Invalid User</h6>
</div>
<div class="profilebox mt-5" id="profilebox">
<div class="profile">
<h6 id="accountname" class="me-3">Username</h6>
<div class="row mt-3">
<div class="col-md-4 text-center">
<div class="profileimage">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSbqj9Ii13d6hx5a9kyLnC5A8A96LDSaSZv_w&s"
alt="" id="profileimage">
<h6 id="name" class="mt-2">Name</h6>
<hr>
<div class="profiledetails mt-3">
<h6 id="bio">Bio</h6>
<h6 id="location">Location</h6>
<h6 id="company">Company</h6>
</div>
<h6 class="mt-3" style="text-align: left;">Used language :</h6>
<div class="language mt-3" id="language">
</div>
</div>
</div>
<div class="col-md-8">
<div class="profiledescription mt-3">
<div class="row text-center">
<div class="col">
<h6>Repo</h6>
<span id="repocount"></span>
</div>
<div class="col">
<h6>Followers</h6>
<span id="followers"></span>
</div>
<div class="col">
<h6>Following</h6>
<span id="following"></span>
</div>
</div>
</div>
<hr>
<div class="repo mt-1 ms-1" id="repo">
</div>
</div>
</div>
<hr>
<div class="status mt-3" id="status" style=" padding: 10px;">
<div class="row">
<div class="col-md-4 col-12 d-flex justify-content-center align-items-center" id="statshtml"
style="padding: 2px; ">
</div>
<div class="col-md-4 col-12 d-flex justify-content-center align-items-center" id="langshtml"
style="padding: 2px;">
</div>
<div class="col-md-4 col-12 d-flex justify-content-center align-items-center" id="streakhtml"
style="padding: 2px;">
</div>
</div>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
</body>
</html>