-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (53 loc) · 2.06 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="./public/icon-app.png" type="image/x-icon" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./styles/main.css" type="text/css" media="all" />
<title>Decodificador de Texto</title>
</head>
<body>
<header>
<img src="./public/assets/logo.svg" alt="logo da Alura" />
</header>
<main>
<div class="div-primary">
<textarea
id="meuInput"
name="textarea"
rows=""
cols=""
placeholder="Digite seu texto"
value=""
></textarea>
<span id="toast-error">
<h3>🚨ERROR🚨</h3>
Preencha com os valores indicados na regra.
</span>
<div class="div-rule">
<img src="./public/assets/exclamation-icon.svg" alt="Icon de exclamação" />
<p>Apenas letras minúsculas e sem acento.</p>
</div>
<div class="div-actions">
<button id="btn-criptografar" >Criptografar</button>
<button id="btn-descriptografar">Descriptografar</button>
</div>
<footer>2024 Developed by <a href="https://github.com/JoaoAlisonTI">JoaoAlisonTI</a>
</footer>
</div>
<div class="div-secondary">
<img id="image-search" src="./public/assets/nada-encontrado.svg" alt="Imagem nada encontrado" />
<div class="div-result">
<h2>Nenhuma mensagem encontrada</h2>
<p>Digite um texto que você deseja criptografar ou descriptografar.</p>
</div>
<button onclick="copiarTexto()" id="btn-copy">Copiar</button>
</div>
</main>
<script src="./js/main.js"></script>
</body>
</html>