-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (46 loc) · 2.04 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Icono</title>
</head>
<body id='body'>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.0.0/p5.js"></script>
<script src="src/canvas.js"></script>
<link rel="stylesheet" type="text/css" href="src/styles.css"></link>
<link href="https://fonts.googleapis.com/css2?family=Teko&display=swap" rel="stylesheet"></link>
<!-- "What is this" popup -->
<div id="myModal" class="modal">
<!-- Popup content -->
<div class="modal-content">
<div class="modal-header">
<span class="close" onclick="document.getElementById('myModal').style.display = 'none'">×</span>
<h2>What is this?</h2>
</div>
<div class="modal-body">
<p>Icono is a fun little bitmap image generator that creates a unique pixelated design based on whatever text it's given.</p>
<p>Check it out on <a target="_blank" href="https://github.com/mtxrii/Icono">Github</a></p>
</div>
</div>
</div>
<div class="container">
<h1 id="label">ICONO</h1>
<div id="app"></div>
</div>
<div class="buttons">
<div>
<input class="" type="text" placeholder="Some text" id="string2gen">
<button class="btn" style="cursor: pointer;" type="button" onclick="redo()">GENERATE</button>
</div>
<button class="btn" style="cursor: pointer;" type="button" onclick="doSave()">SAVE</button>
</div>
<div id="footer">
<span>© MTXRII | </span>
<a target="_blank" href="https://edavalos.com/">WEBSITE</a>
<span> | </span>
<a target="_blank" href="https://github.com/mtxrii/Icono">SOURCE</a>
</div>
<img onclick="document.getElementById('myModal').style.display = 'block'" src="https://uxwing.com/wp-content/themes/uxwing/download/03-text-editing/question-mark-round.png" id="fixedbutton">
</body>
</html>