-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
159 lines (118 loc) · 7.12 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
<!DOCTYPE html>
<html lang="en">
<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">
<title>AluraDev</title>
<link rel="stylesheet" href="./assets/css/synth-midnight-terminal-dark.css">
<!-- <link rel="stylesheet" href="./assets/css/monokai.css"> -->
<link rel="stylesheet" href="./assets/css/reset.css">
<link rel="stylesheet" href="./assets/css/all.css">
<link rel="stylesheet" href="./assets/css/base.css">
<link rel="stylesheet" href="./assets/css/header.css">
<link rel="stylesheet" href="./assets/css/nav.css">
<link rel="stylesheet" href="./assets/css/middle.css">
<link rel="stylesheet" href="./assets/css/project.css">
<link rel="stylesheet" href="./assets/css/responsive_mobile.css">
<link rel="stylesheet" href="./assets/css/responsive_tablet.css">
</head>
<body>
<header class="header__container">
<img class="header__logo" src="imagens/Logo-Alura.png" alt="Logotipo AluraDev" header-logo>
<input class="header__search" type="text" placeholder="Busque por algo" search-bar>
<button class="header__author">
<img class="header__author__photo" src="imagens/Foto_Usuario_2x.png" alt="Foto usuario">
<p class="header__author__name">Harry</p>
</button>
<!-- MOBILE NAV OPEN -->
<div class="nav__mobile__searchSpace">
<i class="fas fa-search fa-2x nav__mobile-search" btn-mobile-search></i>
<i class="fas fa-times fa-2x nav__mobile-closeSearchIcon" btn-mobile-close-search>
</i>
</div>
<div class="nav__mobile__header" >
<i class="fas fa-bars fa-2x nav__mobile-openIcon" btn-mobile-open></i>
</div>
</header>
<main>
<div class="main__container">
<!-- NAV -->
<div class="nav__container">
<h1 class="title">Menu</h1>
<ul class="nav__list">
<li><a class="nav__li nav__li--active" href="index.html"><i class="fas fa-code nav__list-icon nav__list-icon--active" alt="icone de editor de código"></i>Editor de Código</a></li>
<li><a class="nav__li" href="comunidade.html"><i class="fas fa-users nav__list-icon" alt="icone de comunidade"></i>Comunidade</a></li>
</ul>
</div>
<!-- MIDDLE-->
<div class="middle__container">
<div class="middle__frame" frame-color>
<div class="middle__background">
<img class=".middle__icons" src="imagens/bola_vermelha.svg">
<img class=".middle__icons" src="imagens/bola_verde.svg">
<img class=".middle__icons" src="imagens/bola_amarela.svg">
<div class="middle__wrapper" code-text-area>
<code class="middle__text hljs code" contenteditable="true" aria-label="Editor de código" code-editor> const pluckDeep = key => obj => key.split('.').reduce((accum, key) => accum[key], obj)
a
const compose = (...fns) => res => fns.reduce((accum, next) => next(accum), res)
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>
<button type="button" id="Middle__Button-toggle" class="middle__button" highlight-button>Visualizar com o Highlight</button>
</div>
<!-- PROJECT -->
<div class="project__container">
<h1 class="title">Seu projeto</h1>
<input class="project__name" type="text" name="projectName" placeholder="Nome do seu projeto" project-name>
<textarea class="project__description" rows="4" placeholder="Descrição do seu projeto" project-description></textarea>
<div class="project__padding">
<h1 class="title">Personalização</h1>
<div class="mobile__customize">
<select class="project__select languages" name="languages" id="languages" select-languages>
<option value="javascript" class="project__select__background">Javascript</option>
<option value="html" class="project__select__background">HTML</option>
<option value="css" class="project__select__background">CSS</option>
</select>
<div class="project__color__box__border">
<input class="project__color__box__fill" name="MainColorFrame" type="color" value="#6BD1FF" selector-color>
</div>
<div>
<button class="project__button" type="button" button-save>Salvar Projeto</button>
</div>
</div>
</div>
</div>
<!-- MENU MOBILE -->
<nav class="nav__mobile__menu" mobile-menu>
<ul class="nav__mobile__ul">
<i class="fas fa-times fa-2x nav__mobile-closeIcon" btn-mobile-close></i>
<img class="mobile__logo" src="imagens/Header/Logo.svg" alt="Logotipo AluraDev">
<hr>
<button class="mobile__author">
<img class="mobile__author__photo" src="imagens/Foto_Usuario_2x.png" alt="Foto usuario">
<p class="mobile__author__name">Harry</p>
</button>
<hr>
<li class="nav__mobile-liPadding"><a class="nav__li nav__li--active" href="index.html"><i class="fas fa-code nav__list-icon nav__list-icon--active" alt="Acessar pagina do editor de código"></i>Editor de Código</a></li>
<li class="nav__mobile-liPadding"><a class="nav__li" href="comunidade.html"><i class="fas fa-users nav__list-icon" alt="Acessar pagina da comunidade"></i>Comunidade</a></li>
</ul>
</nav>
</main>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/highlight.min.js"></script>
<script src="./js/index.js"></script>
<script src="./js/colorFrame.js"></script>
<script src="./js/highlight.js"></script>
<script src="./js/mobileMenu.js"></script>
<!-- <script src="./js/indexedDB.js"></script> -->
<script src="./js/localStorage.js"></script>
</body>
</html>