-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
177 lines (164 loc) · 5.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta information for character set and viewport -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Title of the webpage -->
<title>Flye Assignment</title>
<!-- Link to external CSS file (index.css) -->
<link rel="stylesheet" href="index.css" />
<!-- Bootstrap CSS from CDN -->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9"
crossorigin="anonymous"
/>
<!-- FontAwesome CSS from CDN -->
<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"
/>
</head>
<body>
<!-- Navigation bar with Bootstrap styles -->
<nav class="navbar navbar-expand-lg bg-body-tertiary">
<div class="container-fluid">
<!-- Toggle button for off-canvas menu -->
<button
class="navbar-brand btn mx-2"
type="button"
data-bs-toggle="offcanvas"
data-bs-target="#offcanvasWithBothOptions"
aria-controls="offcanvasWithBothOptions"
>
<i class="fa-solid fa-bars"></i>
</button>
<!-- GitHub icon as a link to the homepage -->
<a class="navbar-brand mx-2" href="#"
><i class="fa-brands fa-github"></i
></a>
<!-- Standard Bootstrap navbar toggler button -->
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<!-- User's name and search form -->
<h6>Mithilesh689</h6>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ms-auto mb-2 mb-lg-0">
<!-- Dropdown button for additional actions -->
<li class="nav-item dropdown d-flex align-items-center">
<button
class="btn dropdown-toggle"
type="button"
data-bs-toggle="dropdown"
aria-expanded="false"
>
<i class="fa-solid fa-plus"></i>
</button>
<!-- Dropdown menu with actions -->
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">Action</a></li>
<li><a class="dropdown-item" href="#">Another action</a></li>
<li>
<a class="dropdown-item" href="#">Something else here</a>
</li>
</ul>
</li>
<!-- Navigation items including a button and a link -->
<li class="nav-item">
<a class="nav-link border rounded px-2 py-1 mx-3" href="#"
><i class="fa-regular fa-circle-dot"></i
></a>
</li>
<li class="nav-item dropdown">
<a class="nav-link" href="#"> </a>
</li>
</ul>
<!-- Search form -->
<form class="d-flex" role="search">
<input
class="form-control me-2"
type="search"
placeholder="Search"
aria-label="Search"
id="searchInput"
oninput="handleSearch()"
/>
</form>
</div>
</div>
</nav>
<!-- Off-canvas menu -->
<div
class="offcanvas offcanvas-start"
data-bs-scroll="true"
tabindex="-1"
id="offcanvasWithBothOptions"
aria-labelledby="offcanvasWithBothOptionsLabel"
>
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="offcanvasWithBothOptionsLabel">
Backdrop with scrolling
</h5>
<!-- Close button for the off-canvas menu -->
<button
type="button"
class="btn-close"
data-bs-dismiss="offcanvas"
aria-label="Close"
></button>
</div>
<div class="offcanvas-body">
<p>Try scrolling the rest of the page to see this option in action.</p>
</div>
</div>
<!-- Main content area -->
<main>
<div class="container-fluid m-0 p-0">
<div class="row m-0 p-0">
<!-- Sidebar with user information -->
<div class="col-3">
<div class="icon-class"><i class="fa-brands fa-gitkraken"></i></div>
<div class="w-75 text-start"><h6>Mithilesh689</h6></div>
<!-- Button to edit user profile -->
<div class="btn btn-outline-secondary border-2 border w-75">
Edit Profile
</div>
</div>
<!-- Main content area with user repositories -->
<div class="col-9">
<h6>Popular Repositories</h6>
<div class="row m-0">
<!-- Placeholder for a list of repositories -->
<div id="repoList" class="repo-grid align-top"></div>
<!-- Pagination section -->
<div
id="pagination"
class="pagination d-flex justify-content-center align-self-end"
></div>
</div>
</div>
</div>
</div>
</main>
<!-- BOOTSTARP -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"
crossorigin="anonymous"></script>
<!-- External JavaScript file (server.js) -->
<script src="./server.js"></script>
</body>
</html>