-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
193 lines (186 loc) · 9.34 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Display Meta Tags -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Encriptador| Oracle ONE</title>
<!-- SEO Meta Tags -->
<meta name="title" content="Meta Tags — Preview, Edit and Generate" />
<meta
name="description"
content="With Meta Tags you can edit and experiment with your content then preview how your webpage will look on Google, Facebook, Twitter and more!"
/>
<meta name="keywords" content="encriptador, oracle, alura, drbh2020" />
<meta name="author" content="drbh2020" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://drbh2020.github.io/Encriptador-Alura-Oracle-ONE/" />
<meta property="og:title" content="Encriptador | Oracle ONE" />
<meta
property="og:description"
content="Encriptador para el reto del programa Oracle ONE y Alura"
/>
<meta property="og:image" content="assets/munieco.png" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta
property="twitter:url"
content="https://drbh2020.github.io/Encriptador-Alura-Oracle-ONE/"
/>
<meta property="twitter:title" content="Encriptador | Oracle ONE" />
<meta
property="twitter:description"
content="Encriptador para el reto del programa Oracle ONE y Alura"
/>
<meta property="twitter:image" content="assets/munieco.png" />
<!-- Style Links -->
<link rel="stylesheet" href="css/styles.css" />
<!-- External Links -->
<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;500;700&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css"
/>
<script src="./js/main.js" type="module"></script>
<script src="./js/darkmode.js" defer></script>
</head>
<body>
<div class="content-wrapper">
<div class="layout-wrapper">
<header class="header">
<div class="logo__wrapper">
<img class="logo__img" src="assets/logo.svg" alt="Alura" />
</div>
<button id="dark-mode-toggle" class="dark-mode-toggle" aria-label="toggle dark mode">
<svg width="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 496">
<path
fill="currentColor"
d="M8,256C8,393,119,504,256,504S504,393,504,256,393,8,256,8,8,119,8,256ZM256,440V72a184,184,0,0,1,0,368Z"
transform="translate(-8 -8)"
/>
</svg>
</button>
</header>
<main class="encrypter">
<section class="encrypter__input">
<div class="input__text-wrapper">
<div class="input__backdrop">
<div class="input__highlights"></div>
</div>
<textarea
class="input__text"
name="input"
id="input"
draggable="false"
placeholder="Ingrese el texto aqui"
></textarea>
</div>
<div class="input__controls">
<div class="controls__warning">
<span class="warning__message">
<i class="bi bi-exclamation-circle-fill"></i>
<small>Solo letras minúsculas y sin acentos</small>
</span>
<span class="warning__counter"
>Caracteres encriptables: <span class="count__correct">0</span> |
<span class="count__wrong">0</span></span
>
</div>
<div class="controls__buttons-wrapper">
<button id="encrypt" class="controls__encrypt" type="button">Encriptar</button>
<button id="decrypt" class="controls__dencrypt" type="button">Desencriptar</button>
</div>
</div>
</section>
<aside class="encrypter__output">
<section class="output__message active">
<div class="output__message-image">
<img src="assets/munieco.png" alt="imagen de muñeco buscando un diamante" />
</div>
<div class="output__message-text">
<h3 class="output__message-h3">Ningún mensaje fue encontrado</h3>
<p class="output__message-p">
Ingresa el texto que desees encriptar o desencriptar
</p>
</div>
</section>
<section class="output__display">
<p id="output" class="output__display-text">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Orci montes, sit et diam
risus scelerisque vitae est. Tortor maecenas nunc ut laoreet. Eget diam mauris quam
quisque ut eget fringilla sit elit. Libero, sodales duis fames id diam feugiat
aliquet non egestas.
</p>
<button id="copy" class="controls__copy" type="button">Copiar</button>
</section>
</aside>
</main>
</div>
<footer>
<span>
<i class="bi bi-code"></i>
Made by
<button id="author" class="author" type="button">Diego Berastain</button>
<i class="bi bi-code-slash"></i>
</span>
</footer>
</div>
<dialog id="info" class="info-modal">
<div class="info__wrapper">
<ul class="info__list">
<li class="info__item">
<a
class="info__link"
href="https://github.com/drbh2020"
target="_blank"
rel="noopener noreferrer"
><i class="bi bi-github"></i>GitHub</a
>
</li>
<li class="info__item">
<a
class="info__link"
href="https://www.linkedin.com/in/diegoberastainhermoza/"
target="_blank"
rel="noopener noreferrer"
><i class="bi bi-linkedin"></i>LinkedIn</a
>
</li>
<li class="info__item">
<a
class="info__link"
href="https://app.aluracursos.com/user/berastaindiego"
target="_blank"
rel="noopener noreferrer"
><!-- <img class="info__img" src="assets/logo.svg" alt="Alura" /> --><svg
width="32"
height="48"
class="info__img"
viewBox="0 0 32 48"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
class="info__path"
fill-rule="evenodd"
clip-rule="evenodd"
d="M23.3958 23.6529C23.3524 23.9311 23.2466 24.1959 23.0863 24.4275C22.926 24.659 22.7154 24.8512 22.4703 24.9898C21.9766 25.3086 21.5447 25.468 21.1077 25.6274C20.177 25.9488 19.1974 26.2702 18.1613 26.643C17.0687 27.0157 16.0891 27.3885 15.215 27.6585C14.1249 28.0313 13.0888 28.3526 12.1041 28.7254C11.3633 29.0425 10.6674 29.4556 10.0345 29.9544C9.44584 30.4877 8.93212 31.0983 8.50734 31.7695C8.07027 32.515 7.79518 33.4766 7.79518 34.5975C7.79518 36.842 8.34022 38.5491 9.43289 39.6161C10.523 40.7396 12.5438 41.2718 15.5389 41.2718C18.5933 41.2718 20.6655 40.6856 21.7607 39.5107C22.8482 38.3357 23.3932 36.6826 23.3932 34.5487V23.6529H23.3958ZM15.5415 0C20.8891 0 24.815 1.01553 27.3217 3.09802C29.831 5.12908 31.0856 7.74119 31.0856 10.8366V37.2148C31.0856 38.2817 30.8696 39.4567 30.4891 40.737C30.1035 42.0225 29.3425 43.1949 28.1418 44.2592C26.9977 45.3313 25.4166 46.2389 23.3984 46.933C21.3802 47.6272 18.7629 48 15.5441 48C12.3304 48 9.70798 47.6272 7.69234 46.933C5.6767 46.2389 4.09298 45.3313 2.9489 44.2592C1.8846 43.3001 1.07834 42.089 0.604178 40.737C0.218532 39.4592 0 38.2843 0 37.2174V33.001C0 30.7565 0.599036 28.674 1.79968 26.8563C3.00032 24.9898 4.68945 23.7095 6.8722 22.9073C7.96229 22.5345 9.21693 22.1618 10.6335 21.681C12.0527 21.1976 13.3588 20.7169 14.6699 20.2927C15.9811 19.8633 17.1252 19.434 18.1048 19.0586C18.6959 18.8221 19.2963 18.6094 19.9044 18.421L20.8866 17.9402C21.2722 17.7268 21.6501 17.4055 22.0332 16.9787C22.4137 16.5545 22.7402 16.0737 23.0153 15.5389C23.306 14.9599 23.4557 14.3203 23.4524 13.6724V11.9627C23.4564 11.3361 23.3249 10.716 23.0667 10.145C22.8508 9.5023 22.4137 8.91612 21.8147 8.38393C21.2156 7.84917 20.3955 7.42239 19.416 7.09845C18.4338 6.78222 17.1278 6.62025 15.6521 6.62025C12.5977 6.62025 10.5795 7.21157 9.48945 8.43535C8.5639 9.50488 8.01885 10.8392 7.91087 12.3329C7.91087 12.6543 7.63835 12.8677 7.30927 12.8677L0.658168 12.9757C0.500177 12.9764 0.348309 12.9146 0.235632 12.8039C0.122956 12.6931 0.0585941 12.5423 0.0565613 12.3844V10.8418C0.0565613 9.3429 0.331655 7.95458 0.930691 6.62025C1.5323 5.28334 2.46042 4.16497 3.71248 3.20086C4.96711 2.24189 6.60482 1.44231 8.56647 0.907552C10.4767 0.26481 12.8214 0 15.5466 0H15.5415Z"
fill="#0A3871"
/></svg
>Alura</a
>
</li>
</ul>
</div>
<button id="close-author" class="close-modal" type="button">
<i class="bi bi-x-square"></i>
</button>
</dialog>
</body>
</html>