-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
74 lines (68 loc) · 3.18 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
<!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">
<meta name="description" content="Generate beautiful images of your source code with amazing backgrounds. This site is an alternative to carbon.now.sh.">
<meta name = "keywords" content = "Carbon, source code, beautiful, images, beautify, code, vantapresent, gradient " >
<meta name="application-name" content="VantaPresent">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/styles/default.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/styles/base16/brewer.min.css"/>
<link rel="stylesheet" href="./style.css">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-NJDER7HL1G"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-NJDER7HL1G');
</script>
<meta name="keywords" content="carbon, code, beautify, present, beautiful, html, css, javascript">
<title>VantaPresent | Generate beautiful images of your source code</title>
</head>
<body>
<header>
<span>VantaPresent✨</span>
</header>
<main>
<div class="main__hero">
<h2>VantaPresent</h2>
<br>
<p>A simple tool to generate beautiful images of your source code.</p>
<br>
<p>Scroll down for Awesomeness!!</p>
</div>
<p id="subheading">Paste your Source Code below.</p>
<textarea name="" id="text"></textarea>
<button id="btn" onclick=fn1()>Beautify!!</button>
<div class="wrapper">
<div class="main__editor" id="main__editor">
<div class="main__editor-display">
<div class="main__dots">
<span>🔴</span>
<span>🟡</span>
<span>🟢</span>
</div>
<pre class="prettyprint" id="display">
</pre>
</div>
</div>
</div>
<p>Change background</p>
<div class="color-buttons">
<div class="color-button" id="button1"></div>
<div class="color-button" id="button2"></div>
<div class="color-button" id="button3"></div>
<div class="color-button" id="button4"></div>
<div class="color-button" id="button5"></div>
</div>
<button id="download" onclick=capture()>Export as PNG</button>
<footer><span>Made by </span><a href="https://sidd5449.github.io/" target="_blank">Siddhesh Thakare</a><span> & </span><a href="https://vaibhav1663.github.io/" target="_blank">Vaibhav Khating</a>
</footer>
</main>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/highlight.min.js"></script>
<script src="./js/app.js"></script>
</body>
<script src="./js/html2canvas.js"></script>
</html>