-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
165 lines (153 loc) · 9.28 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
<!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">
<link rel="icon" href="gdsc-icon.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css" integrity="sha512-YWzhKL2whUzgiheMoBFwW8CKV4qpHQAEuvilg9FAn5VJUDwKZZxkJNuGM4XkWuk94WCrrwslk8yWNGmY1EduTA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.min.js" integrity="sha384-skAcpIdS7UcVUC05LJ9Dxay8AXcDYfBJqt1CJ85S/CFujBsIzCIv+l9liuYLaMQ/" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-/bQdsTh/da6pkI1MST/rWKFNjaCP5gBSY4sEBT38Q/9RBh9AH40zEOg7Hlq2THRZ" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0/jquery.js"></script>
<script src="https://html2canvas.hertzen.com/dist/html2canvas.js"></script>
</script>
<link rel="stylesheet" href="style.css">
<title>Badge Generator</title>
</head>
<body>
<!-- Nav Bar -->
<nav class="navbar navbar-expand-lg navbar-light transparent">
<div class="container-fluid container">
<a class="navbar-brand" href="#">
<button class="navbar-toggler collapsed" type="button" id="navbar-custom-button" onclick="onNavButtonClick()" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<img id="gdsc-logo-top" src="assets/gdsc-header.svg" alt="Google Developer Student Club">
</a>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarLightDropdownMenuLink" role="button" onclick="onDropDownActivate()" aria-expanded="false">
About Dsc
</a>
<ul class="dropdown-menu dropdown-menu-list" aria-labelledby="navbarLightDropdownMenuLink" id="ulLightDropDown">
<li><a class="dropdown-item" href="https://developers.google.com/community/gdsc">About</a></li>
<li><a class="dropdown-item" href="https://developers.google.com/community/gdsc/leads">Leads</a></li>
<li><a class="dropdown-item" href="https://developers.google.com/community-guidelines">Community Guidelines</a></li>
<li><a class="dropdown-item" href="https://developers.google.com/community/gdsc/stories">Blog</a></li>
<li><a class="dropdown-item" href="https://developers.google.com/community/gdsc-solution-challenge">Solution Challenge</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link" target="_blank" href="https://gdsc.community.dev/rcc-institute-of-information-technology-kolkata/">Gdsc</a>
</li>
<li class="nav-item">
<a class="nav-link" target="_blank" href="https://dscrcciit.com/">Rcciit</a>
</li>
</ul>
</div>
</div>
</nav>
<div id="wrapper" class="container">
<div class="row justify-content-center align-items-center" id="card-wrapper">
<div id="card" style="background-color: white; border-radius: 20px;">
<img id="photo" src="" style="border-radius: 20px 20px 0 0;">
<div id="gdsc-branding">
<!-- <h4 id="name">Supratik Chakraborty</h4><hr> -->
<img id="gdsc-logo"src="assets/gdsc.png"><hr>
<p id="name">Name</p>
</div>
</div>
</div>
<br><br>
<form>
<div class="form-group">
<label for="inputname">Name</label>
<input id="inputname" class="form-control" type="text" placeholder="Enter Name" required oninput="loadName(event)">
<small id="namehelp" class="form-text text-muted">Please provide your full name as it will appear on your badge.</small>
<br><br>
</div>
<div class="form-group">
<label for="inputphoto">Photo</label>
<input id="inputphoto" class="form-control" type="file" placeholder="Enter your photo" required onchange=loadFile(event)>
<small id="photohelp" class="form-text text-muted">Please provide a photograph of yourself in JPEG or PNG formats.</small>
<br><br>
</div>
</form>
<div class="text-center mb-3">
<button class="btn btn-block btn-primary" type="submit" onclick="downloadImg()">Download Your GDSC Badge</button>
</div>
</div>
<div class="w-100 p-3"></div>
<!-- Footer -->
<hr>
<footer class="page-footer pt-4">
<div class="container-fluid text-center text-md-left">
<div class="row">
<div class="col-md-5 mt-md-0 mt-3">
<img id="gdsc-logo-footer" src="assets/gdsc-footer.svg" alt="Google Developer Student Club">
</div>
<div class="w-100 d-md-none p-3"></div>
<div class="w-100 d-md-none p-3"></div>
<!-- <hr class="w-100 d-md-none"> -->
<div class="col-md-3 mb-md-0 mb-3">
<h5 class="text-uppercase">QUICK LINKS</h5>
<ul class="list-unstyled justify-content-center">
<li class="nav-item">
<a class="nav-link" target="_blank" style="color: gray;" href="https://invites.dscrcciit.com/">Invite Page</a>
</li>
<li>
<a class="nav-link" target="_blank" style="color: gray;" href="https://www.facebook.com/GDGKolkata/about/">Gdg Kolkata</a>
</li>
<li>
<a class="nav-link" target="_blank" style="color: gray;" href="https://www.facebook.com/WTMKolkata/">Wtm Kolkata</a>
</li>
<li>
<a class="nav-link" target="_blank" style="color: gray;" href="https://gdsc.community.dev/rcc-institute-of-information-technology-kolkata/">Gdsc Community</a>
</li>
</ul>
</div>
<div class="col-md-3 mb-md-0 mb-3">
<h5 class="text-uppercase">CONNECT WITH US</h5>
<ul class="list-unstyled">
<li class="nav-item">
<a target="_blank" href="https://www.linkedin.com/company/gdsc-rcciit/" style="color: rgb(62, 60, 60); text-decoration: none;">
<i class="fa-brands fa-linkedin"></i>
</a>
<a target="_blank" href="https://facebook.com/gdscrcciit/" style="color: rgb(62, 60, 60); text-decoration: none;">
<i class="fa-brands fa-facebook"></i>
</a>
<a target="_blank" href="https://instagram.com/gdsc_rcciit/" style="color: rgb(62, 60, 60); text-decoration: none;">
<i class="fa-brands fa-instagram"></i>
</a>
<a target="_blank" href="https://twitter.com/gdsc_rcciit/" style="color: rgb(62, 60, 60); text-decoration: none;">
<i class="fa-brands fa-twitter"></i>
</a>
<a target="_blank" href="https://github.com/GDSC-RCCIIT/" style="color: rgb(62, 60, 60); text-decoration: none;">
<i class="fa-brands fa-github"></i>
</a>
</li>
<div class="w-100 p-3"></div>
<li>
<h5 class="text-uppercase">WRITE US</h5>
<a class="nav-link" target="_blank" style="color: gray;" href="mailto:gdscrcciit@gmail.com">gdscrcciit@gmail.com</a>
</li>
<!-- <li>
<a class="nav-link" target="_blank" style="color: gray;" href="/">Gdsc</a>
</li>
<li>
<a class="nav-link" target="_blank" style="color: gray;" href="/">Gdsc</a>
</li> -->
</ul>
</div>
</div>
</div>
</footer>
<script src="main.js"></script>
</body>
</html>