-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
188 lines (164 loc) · 8.39 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
176
177
178
179
180
181
182
183
184
185
186
187
188
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta tags for document information -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="name" content="GitExplore" />
<meta name="description"
content="GitExplore is an intuitive application that enables users to effortlessly browse through GitHub repositories. With features such as repository search, detailed repository information, and user profiles, GitExplore offers a seamless experience for exploring and discovering projects on GitHub." />
<meta name="author" content="Kushal Kumar" />
<meta name="keywords"
content="GitHub, Repositories, Explore, Search, Developers, Mobile App, User Profiles, Trending, Favorites" />
<!-- Favicon -->
<link rel="icon" type="image/png" sizes="32x32" href="./Assets/favicon.png" />
<!-- 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" />
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- Custom CSS -->
<link rel="stylesheet" href="style.css" />
<!-- Document title -->
<title>GitHub Explorer | kushal</title>
</head>
<body>
<div class="container">
<!-- Header section -->
<header class="header">
<h1 class="title">GitHub Explore</h1>
<!-- Dark mode toggle button -->
<div id="btn-mode">
<p id="mode-text">DARK</p>
<div class="icon-container">
<img id="mode-icon" src="./assets/moon-icon.svg" alt="" />
</div>
</div>
</header>
<!-- Main section -->
<main>
<div id="app">
<!-- Search bar -->
<div class="searchbar-container active">
<input type="search" name="user-input" id="input" placeholder="Enter a GitHub username..." />
<div id="name_error">
The user name field is required
</div>
<div class="error">
<p id="no-results">no search results</p>
</div>
<button class="btn-search" id="submit">Search</button>
</div>
<div class="suggestions"></div>
<!-- Profile container -->
<div class="profile-container">
<!-- Loader animation -->
<div class="loader" id="loader">
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
</div>
<!-- Profile features -->
<div class="features">
<!-- Hamburger menu icon -->
<div class="hamburger-menu">
<div class="hamburger-icon" id="hamburger" onclick="toggleMenu()">
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
</div>
</div>
<!-- Profile tabs -->
<ul>
<li>
<a href="#" class="tab" user-overview>
<i class="fa-solid fa-book-open"></i> <span>Overview</span>
</a>
</li>
<li>
<a href="#" class="tab" user-repos> <i class="fa-solid fa-folder"></i>
<span>Repositories</span>
</a>
</li>
<li>
<a href="#" class="tab" user-star> <i class="fa-solid fa-star"></i>
<span>Stars</span> </a>
</li>
</ul>
</div>
<!-- Profile content -->
<div class="profile-content">
<!-- User overview section -->
<div class="userOverView" user-overview-data>
<div class="profile-header">
<img id="avatar" src="#" alt="" />
<div class="profile-info-wrapper">
<div class="profile-name">
<h2 id="name"></h2>
<a href="#" target="_blank" rel="noopener noreferrer" id="user"></a>
</div>
<p id="date"></p>
</div>
</div>
<p id="bio"></p>
<!-- Profile statistics -->
<div class="profile-stats-wrapper">
<div class="profile-stat">
<p class="stat-title">Repositories</p>
<p id="repos" class="stat-value"></p>
</div>
<div class="profile-stat">
<p class="stat-title">Followers</p>
<p id="followers" class="stat-value"></p>
</div>
<div class="profile-stat">
<p class="stat-title">Following</p>
<p id="following" class="stat-value"></p>
</div>
</div>
<!-- Profile additional information -->
<div class="profile-bottom-wrapper">
<div class="profile-info">
<div class="bottom-icons"><img src="./Assets/location-icon.svg" alt=""></div>
<p id="location"></p>
</div>
<div class="profile-info">
<div class="bottom-icons"><img src="./Assets/website-icon.svg" alt=""></div>
<a href="#" id="page"></a>
</div>
<div class="profile-info">
<div class="bottom-icons"><img src="./Assets/company-icon.svg" alt=""></div>
<p id="company"></p>
</div>
<div class="profile-info">
<div class="bottom-icons"><img src="./Assets/twitter-icon.svg" alt=""></div>
<a href="#" id="twitter"></a>
</div>
</div>
</div>
</div>
<!-- User repositories section -->
<h2 id="user-repo-heading">User Repositories</h2>
<div class="userRepos" user-repos-data>
</div>
<div class="userRepospagination reposPagination"></div>
<!-- User starred repositories section -->
<h2 id="user-star-repo-heading">User Stars Repositories</h2>
<div class="userStar" user-star-data></div>
<div class="starPagination reposPagination"></div>
</div>
</div>
</main>
</div>
<!-- JavaScript file -->
<script src="script.js"></script>
</body>
</html>