-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
190 lines (187 loc) · 7.45 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
189
190
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>G-Card</title>
<link rel="stylesheet" href="style.css" />
<!-- <script type="text/javascript" src="../ext/html2canvas.js"></script> -->
<script src="./dom-to-image.js"></script>
<script src="./FileSaver.js"></script>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6"
crossorigin="anonymous"
/>
<link rel="shortcut icon" type="image/jpg" href="./text861.png"/>
</head>
<body id="body" style="user-select: none;">
<!-- nav starting -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="#"> <img src="./logo.png" alt="G-Card" width="50px" height="50px"></a>
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarNav"
aria-controls="navbarNav"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<!-- <li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">Home</a>
</li> -->
<!-- <li class="nav-item">
<a class="nav-link" href="#">Features</a>
</li> -->
<li class="nav-item">
<a class="nav-link" href="./support.html">Support</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./aboutme.html">About me</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- nav ending -->
<div id="inpdiv" style="display: block">
<input type="text" autocomplete="off" name="" id="text" />
<button onclick="dta()" id="submit">
<lord-icon
id="butimg"
src="https://cdn.lordicon.com//xgeyogar.json"
trigger="hover"
colors="primary:#9cf4df,secondary:#9cf4df"
stroke="92"
style="width: 40px; height: 40px; text-align: center"
>
</lord-icon>
</button>
</div>
<div class="container" id="con" style="display: block">
<h1 class="explanation-title">Enter your GitHub username</h1>
<p class="explanation-para">
Generate a card containing info from your GitHub profile. All
you have to do is enter your username in the above box, and let
us do the work from there.
</p>
<p class="explanation-para">
Feel free to use this card wherever you want. We're sure this
card would be a nice touch to your LinkedIn profile background.
</p>
</div>
<!-- main div for download -->
<div id="ss" class="container max-width:1400px max-height:350px">
<!--screenshot div-->
<div id="maindiv" style="display: none">
<div class="container">
<div class="row">
<div class="col-sm">
<!--column 1-->
<div id="gravatardiv">
<!-- link to respective profile -->
<a id="profilelink">
<!-- profile picture -->
<img id="gravatar" src="" alt="" />
</a>
</div>
<div id="nameloc">
<!-- name -->
<div id="name"></div>
<!-- location -->
<div id="location"></div>
</div>
<!-- organistion data.... -->
<div id="orgs" class="container">
<p id="orgtitle"></p>
<!-- dynamic organisation images inserted here.... -->
</div>
</div>
<div class="col-sm">
<!--column 2-->
<!-- bio div -->
<div id="bio"></div>
<!-- progress bar -->
<section class="charts_orb">
<article class="orb">
<div class="orb_graphic">
<svg>
<circle class="fill"></circle>
<circle class="progress"></circle>
</svg>
<div id="numrepo" class="orb_value count"></div>
</div>
<div class="orb_label">public repos</div>
</article>
<article class="orb">
<div class="orb_graphic">
<svg>
<circle class="fill"></circle>
<circle class="progress"></circle>
</svg>
<div id="gists" class="orb_value count"></div>
</div>
<div class="orb_label">public gists</div>
</article>
</section>
<!-- star div.... -->
<div id="stardiv" class="container">
<!-- star info appear here -->
<p id="startitle"></p>
<!-- <p style="display: inline;"></p> -->
</div>
</div>
<div class="col-sm">
<!--column 3-->
<div id="langdiv" class="container">
<p id="langtitle"></p>
<div class="row">
<div class="col1"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- <img src="./img/star.png" alt=""> testing purpose -->
<!--ss div ending-->
<!-- button for taking screenshot -->
<br />
<br />
<br />
<div id="butdiv" style="display: none">
<button id="ssbut" onclick="ss()">Download</button>
<!-- <button id="sharebut" onclick="share()">Share</button> -->
<button id="theme">Themes</button>
</div>
<div style="text-align: center;margin-top: 200px;">
<p style="color: aliceblue;">Made with <span id="heart">❤</span> by @code-reaper08</p>
</div>
<!-- <div class="box box--4">
<a class="btn"></a>
<div class="box_rotate">
<svg enable-background="new 0 0 300 300" space="preserve" version="1.1" viewbox="0 0 300 300" x="0px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px"><defs><path d="M 150, 150 m -40, 0 a 40,40 0 0,1 80,0 a 40,40 0 0,1 -80,0 " id="circlePath"></path></defs><circle cx="150" cy="100" fill="none" r="75"></circle><g><use fill="none" xlink:href="#circlePath"></use><text fill="#000"><textpath xlink:href="#circlePath">SALE | SALE | SALE | SALE | SALE | SALE |</textpath></text></g></svg>
</div>
</div>
-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf"
crossorigin="anonymous"
></script>
<script src="./counter.js"></script>
<script src="https://cdn.lordicon.com//libs/frhvbuzj/lord-icon-2.0.2.js"></script>
<script src="index.js"></script>
<!-- <script src="../node_modules/file-saver/dist/FileSaver.min.js"></script> -->
</body>
</html>