-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
85 lines (65 loc) · 2.86 KB
/
index.html
File metadata and controls
85 lines (65 loc) · 2.86 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
<!DOCTYPE html>
<html lang="pt-br">
<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">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css"
/>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XBE350F4HR"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XBE350F4HR');
</script>
<link rel="stylesheet" href="css/style.css">
<title>PokeMemes</title>
</head>
<body>
<br>
<!-- Box do meme -->
<div class="container-meme">
<div class="d-grid gap-2">
<button id="enviarImagemBtn" type="file" class="btn btn-light btn-block mb-2">
<i class="bi bi-image text-dark"></i> Enviar imagem
</button>
</div>
<div id="divResultadoBG" class="resultadoBG mb-2">
<div id="divResultadoUp" style="width: 100%; text-align: center;"></div>
<div id="divResultadoDown" style="width: 100%; text-align: center;"></div>
</div>
<!-- Inputs dos textos -->
<div style="width: 350px; margin: auto;">
<div class="form-floating mb-2">
<input type="text" class="form-control" id="textBoxUp" placeholder="Digite o texto do topo">
<label for="textBoxUp">Digite o texto de cima</label>
</div>
<div class="form-floating mb-2">
<input type="text" class="form-control" id="textBoxDown" placeholder="Digite o texto de baixo">
<label for="textBoxDown">Digite o texto de baixo</label>
</div>
<div class="d-grid gap-2">
<button type="button" class="btn btn-primary" id="downloadButton" onclick="download()">Download</button>
</div>
</div>
</div>
<h2>Selecione seu meme</h2>
<section id="divMemes" class="divMemes"></section>
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<span class="close">×</span>
<input id="inputUploadImage" type="file">
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<script src="scripts/dom-to-img.js"></script>
<script src="scripts/script.js"></script>
</body>
</html>