forked from vakila/meme-me
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
87 lines (76 loc) · 2.3 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
<!doctype html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/javascript.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="./assets/pico.css" />
<link rel="stylesheet" type="text/css" href="./assets/fonts.css" />
<link rel="stylesheet" type="text/css" href="./assets/layout.css" />
<link rel="stylesheet" type="text/css" href="./assets/modals.css" />
<title>Meme Me!</title>
</head>
<body class="container grid">
<header>
<h1 class="impact">meme me!</h1>
</header>
<main>
<article>
<canvas
id="meme"
name="meme"
aria-label="Meme image"
alt="Empty meme placeholder"
width="640"
height="480"
>
</canvas>
</article>
</main>
<nav>
<div id="steps" class="container">
<div class="step" id="take-selfie">
<div class="modal-content">
<canvas id="preview" width="320" height="240"></canvas>
<button id="save-photo">Save photo</button>
</div>
</div>
<div class="step" id="add-text">
<div class="modal-content">
<input type="text" id="text-top" placeholder="top text" />
<input type="text" id="text-bottom" placeholder="bottom text" />
<button id="text-save">Save text</button>
</div>
</div>
<div id="settings">
<div class="modal-content">
<label id="dark-mode">
<input
type="checkbox"
id="toggle"
name="toggle"
role="switch"
checked
/>
Dark mode
</label>
</div>
</div>
</div>
</nav>
<footer>
<p>
Built with
<img width="20" height="20" src="/javascript.svg" alt="JS" /> &
<img width="20" height="20" src="/vite.svg" alt="Vite" /> & 💖 at
<a
href="https://frontendmasters.com/courses/javascript-projects/"
target="_blank"
>
FrontendMasters</a
>
</p>
</footer>
<script type="module" src="/main.js"></script>
</body>
</html>