-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (54 loc) · 2.29 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CyberAvatars</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<link rel="icon" href="site-data/favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon" sizes="180x180" href="site-data/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="site-data/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="site-data/favicon-16x16.png">
<link rel="manifest" href="site-data/site.webmanifest">
</head>
<body>
<div id="main-container">
<div id="input-screen" class="screen active">
<h1>CyberAvatars</h1>
<p>Enter whatever you want and we'll generate an avatar for you</p>
<a>(No really, enter whatever you wish, it will work)</a>
<p>Powered by RoboHash API</p>
<input type="text" id="user-input" placeholder="Enter anything...">
<button id="generate-btn">Generate Avatar</button>
<div id="style-buttons">
<button class="style-btn" data-set="set1">Robots</button>
<button class="style-btn" data-set="set2">Monsters</button>
<button class="style-btn" data-set="set3">Heads</button>
<button class="style-btn" data-set="set4">Kittens</button>
<button class="style-btn" data-set="set5">Humans</button>
</div>
</div>
<div id="result-screen" class="screen">
<h1>Your Cyber Avatar</h1>
<img id="robot-image" src="" alt="Generated Robot">
<div class="button-container">
<button id="download-btn">Download</button>
<button id="try-again-btn">Try Again</button>
</div>
</div>
</div>
<footer>
<a href="https://discord.com/invite/2nHHHBWNDw" target="_blank">
<i class="fab fa-discord"></i>
</a>
<a href="https://ko-fi.com/thatsinewave" target="_blank">
<i class="fas fa-heart"></i>
</a>
<a href="https://github.com/ThatSINEWAVE/CyberAvatars" target="_blank">
<i class="fab fa-github"></i>
</a>
</footer>
<script src="script.js"></script>
</body>
</html>