-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
124 lines (110 loc) · 4.88 KB
/
index.html
File metadata and controls
124 lines (110 loc) · 4.88 KB
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
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-0318ZCN8G2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-0318ZCN8G2');
</script>
<!-- meta -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>GitHub:QR</title>
<meta name="description" content="Unofficial QR code generator for GitHub profiles and projects.">
<meta property="og:image" content="./assets/img/OGP.png" />
<link rel="icon" href="./assets/img/favicon.svg" type="image/svg+xml"/>
<link rel="stylesheet" href="./assets/css/reset.css">
<link rel="stylesheet" href="./assets/css/style.css">
<link rel="stylesheet" href="./assets/css/bubble-float.css">
<script src="./assets/js/script.js"></script>
<!-- QR Code Styling -->
<script type="text/javascript" src="./assets/js/node_modules/qr-code-styling/lib/qr-code-styling.js"></script>
</head>
<body>
<!-- Header -->
<header>
<a class="logo" href="https://github.com/ohno/github-qr">
<img src ="./assets/img/logo.svg"/>
<h1>GitHub:<span>QR</span></h1>
</a>
<a class="menu" href="https://github.com/sponsors/ohno">
<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24"><path class="heart" stroke="#BF3989" stroke-width="2" fill="#BF3989" fill-opacity="0" d="M13.35 20.13c-.76.69-1.93.69-2.69-.01l-.11-.1C5.3 15.27 1.87 12.16 2 8.28c.06-1.7.93-3.33 2.34-4.29 2.64-1.8 5.9-.96 7.66 1.1 1.76-2.06 5.02-2.91 7.66-1.1 1.41.96 2.28 2.59 2.34 4.29.14 3.88-3.3 6.99-8.55 11.76l-.1.09z"/></svg>
</a>
</header>
<!-- Background -->
<div class="bubbles">
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
</div>
<!-- Main -->
<main>
<section class="section--1">
<div id="qrcode"></div>
</section>
<section class="section--2">
<button onClick='PNG().download({ name: "QR", extension: "png" });' on>Download</button>
</section>
<section class="section--3">
<input id="url" value="https://ohno.github.io/github-qr/" onInput="SVG();//this.style.fontSize=2*250/this.value.length">
</section>
<section class="section--4">
This is an unofficial QR code generator for GitHub profiles and projects. You must follow <a href="https://github.com/logos">GitHub's guidelines</a> to use. This page was developed by <a href="https://github.com/ohno/">Shuhei Ohno</a> and designed by <a href="https://ezeroms.com/about/">ezeroms</a>. Some icons are provided by <a href="https://fonts.google.com/icons">Google Fonts</a>. The background is based on <a href="https://codepen.io/alphardex/pen/jOWMGON">Bubble Float</a> from <a href="https://animatedbackgrounds.me/">Animated Backgrounds</a>. This project depends on <a href="https://github.com/kozakdenys/qr-code-styling">QR Code Styling</a> by <a href="https://github.com/kozakdenys">Denys Kozak</a>. More options are available <a href="https://qr-code-styling.com/">here</a>. SVG files do not work on PowerPoint but you can get <a onClick='SVG().download({ name: "QR", extension: "svg" });'>here</a>. Are you rich? You can <a href="https://github.com/sponsors/ohno">buy me a coffee</a>☕
</section>
</section>
</main>
<!-- Footer -->
<footer>
<a href="https://github.com/ohno/">© 2022 Shuhei Ohno</a>
</footer>
</body>
</html>