-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
88 lines (80 loc) · 2.59 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
88
<!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 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="css/style.css" />
<link rel="stylesheet" href="css/queries.css" />
<script
type="module"
src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"
></script>
<script
nomodule
src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"
></script>
<script defer src="script.js"></script>
<title>(De)codificador de texto</title>
</head>
<body>
<div class="grid-layout">
<div class="first-column">
<header class="header">
<h1>
<img
class="header-logo"
src="img/logo-alura.svg"
alt="Logo Alura"
/>
</h1>
</header>
<section class="input">
<textarea
class="input-textarea"
type="text"
placeholder="Digite seu texto"
></textarea>
<div class="input-info">
<ion-icon name="information-circle" class="info-icon"></ion-icon>
<p>Digite apenas letras minúsculas e sem o acento.</p>
</div>
<button class="btn btn-secondary btn-paste hidden" id="paste">
Colar
</button>
</section>
<div class="btn-area">
<button class="btn btn-primary" id="encrypt">Criptografar</button>
<button class="btn btn-secondary" id="decrypt">
Descriptografar
</button>
</div>
</div>
<div class="result">
<div class="result-off">
<img
class="result-img"
src="img/results-art.svg"
alt="Ilustração de um menino com uma lupa observando um diamante"
/>
<h2 class="result-title">Nenhuma mensagem encontrada</h2>
<p class="result-text">
Digite o texto que você deseja criptografar ou descriptografar.
</p>
</div>
<div class="result-on hidden">
<textarea class="result-textarea">
Lorem ipsum...
</textarea>
<button class="btn btn-secondary" id="copy">Copiar</button>
</div>
</div>
</div>
</body>
</html>