-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
139 lines (129 loc) · 7.08 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
<!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="stylesheet" href="assets/css/reset.css">
<link rel="stylesheet" href="assets/css/hardcore.css">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" media="(max-width: 480px)" href="assets/css/mobile.css">
<link rel="stylesheet" media="(min-width: 481px) and (max-width: 1080px)" href="assets/css/tablet.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Roboto+Mono&display=swap" rel="stylesheet">
<title>Alura Challenge Front 2021</title>
</head>
<body>
<header class="headerM">
<div class="container">
<div class="divLogo">
<img data-logo-alura src="assets/img/Logo.svg" alt="logo do site">
</div>
<input required="required" class="input-busca" type="search" name="busca" placeholder="Busque por algo">
<div class="divProfile">
<div class="profile">
<img src="assets/img/Photo.png" alt="foto do usuário">
<span>Well San</span>
</div>
</div>
<section class="option-mobile">
<img data-search class="icon-busca" src="assets/img/search-icon.svg" alt="icone de busca" >
<div class="icon-menu">
<img data-img-menu src="assets/img/menu-icon.svg" alt="icone do menu">
</div>
</section>
</div>
</header>
<main>
<section class="menu-smart">
<div class="linha"></div>
</section>
<nav class="container">
<ul class="menu-principal">
<li class="titulo-menu">Menu</li>
<li class="menu no-opacity">
<div class="rectangle37 rectangle37_focus" data-homeImg onmouseover="aumenta()" onmouseout="diminui()">
<img src="assets/img/iconCode.svg" alt="icone codigo">
</div>
<a class="menu-item no-opacity" id="no-opacity" href="index.html" data-home onmouseover="aumenta()" onmouseout="diminui()">Editor de código</a>
</li>
<li class="menu opacity">
<div class="rectangle37 rectangle37hover" data-comuImg>
<img src="assets/img/iconUsers.svg" alt="icone comunidade">
</div>
<a class="menu-item opacity" href="comunidade.html" data-comu>Comunidade</a>
</li>
</ul>
<section class="div-code">
<div class="code" data-code>
<div class="code_editor">
<img class="ellipse" src="assets/img/mac_buttons.svg" alt="botao mac">
<a><img class="copy-icon" src="assets/img/copy-icon.png" alt="Icone Copiar Código"></a>
<span data-alert class="alert">Código copiado</span>
<button class="export" data-export>Exportar</button>
<select id="tipoImg">
<option value="PNG">PNG</option>
<option value="SVG">SVG</option>
<option value="JPG">JPG</option>
</select>
<div class="my-code">
<code class="hljs JavaScript language-JavaScript" id="codigo" contenteditable="true" autocapitalize="none" aria-autocomplete="none" spellcheck="false" role="presentation">const pluckDeep = key => obj => key.split('.').reduce((accum, key) => accum[key], obj)
<br>const compose = (...fns) => res => fns.reduce((accum, next) => next(accum), res)
<br>const unfold = (f, seed) => {
const go = (f, seed, acc) => {
const res = f(seed)
return res ? go(f, res[1], acc.concat([res[0]])) : acc
}
return go(f, seed, [])
}</code>
</div>
</div>
</div>
<input class="btn" type="button" value="Visualizar com o highlight">
</section>
<section class="sobre-projeto">
<ul>
<li class="titulo-menu">Seu projeto</li>
<form class="meu-projeto" action="./">
<li>
<input class="projeto" type="text" placeholder="Nome do seu projeto" data-nomeProjeto maxlength="25" spellcheck="false" required>
</li>
<li>
<textarea class="projeto" id="descricao-projeto" type="text" placeholder="Descrição do seu projeto" maxlength="50" wrap="hard" spellcheck="false" required></textarea>
</li>
</form>
<li class="titulo-menu">Personalização</li>
<form class="meu-projeto" action="./">
<li>
<fieldset class="linguagem">
<select class="input-linguagem" name="selecao-linguagem">
<option value="JavaScript">JavaScript</option>
<option value="Java">Java</option>
<option value="Python">Python</option>
<option value="HTML">HTML</option>
<option value="CSS">CSS</option>
</select>
</fieldset>
</li>
<li>
<div class="rectangle29">
<input class="rectangle-color" type="color" name="rectangle29" value="#6BD1FF">
</div>
</li>
<li>
<input class="input-salvar" type="submit" value="Salvar Projeto">
</li>
<li>
<button class="btn-cancel" data-cancel>Cancelar</button>
</li>
</form>
</ul>
</section>
</nav>
<a data-down download="XXX" href="/XXX" hidden></a>
</main>
<script src="assets/js/index.js"></script>
<script src="assets/js/base.js"></script>
<script src="node-modules/dom-to-image/src/dom-to-image.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/highlight.min.js"></script>
</body>
</html>