-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
124 lines (122 loc) · 5.92 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
<!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">
<title>AluraDev | AluraChallenge</title>
<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&family=Roboto+Mono&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/389645fe7b.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/styles/default.min.css">
<link rel="stylesheet" href="./css/githubdark.css">
<link rel="stylesheet" href="./css/reset.css">
<link rel="stylesheet" href="./css/estilos.css">
<link rel="stylesheet" href="./css/editor.css">
<link rel="stylesheet" href="./css/responsivel.css">
</head>
<body class="body">
<header class="header">
<div class="header__logo">
<img class="header__logo--img" alt="Logo AluraDev" src="./img/logo-plataforma.png">
</div>
<div class="header__pesquisa">
<input class="header__input" type="text" placeholder="Busque por algo">
</div>
<div class="pesquisa__icone"><i class="fas fa-search"></i></div>
<div class="menu__icone" onclick="menuAbrir()"><i class="fas fa-bars"></i></div>
<div class="header__perfil">
<img src="./img/foto-perfil.png" alt="imagem perfil" class="header__perfil--img">
<span class="header__perfil--nome">Étor</span>
</div>
<!--Inicio do menu flutuante-->
<div id="menu__flutuante" class="menu__flutuante none">
<div class="exit">
<i class="fas fa-times" onclick="menuFechar()"></i>
</div>
<div class="menu__nav--div" onclick="editor()">
<div class="menu__nav--icode"><i class="fas fa-code active"></i></div>
<div class="menu__nav--text active"><span>Editor de código</span></div>
</div>
<div class="menu__nav--div" onclick="comunidade()">
<div class="menu__nav--iusers"><i class="fas fa-users"></i></div>
<div class="menu__nav--text"><span>Comunidade</span></div>
</div>
<div class="hr">.</div>
<div class="header__perfil--flutuante">
<img src="./img/foto-perfil.png" alt="imagem perfil" class="header__perfil--img">
<span class="header__perfil--nome">Étor</span>
</div>
<div class="header__pesquisa--flutuante">
<input class="header__input" type="text" placeholder="Busque por algo">
</div>
</div>
<!--Fim do menu flutuante-->
</header>
<main class="main">
<nav class="menu">
<div class="menu__titulo">MENU</div>
<div class="menu__nav">
<div class="menu__nav--div" onclick="editor()">
<div class="menu__nav--icode"><i class="fas fa-code active__icon"></i></div>
<div class="menu__nav--text"><span class="active">Editor de código</span></div>
</div>
<div class="menu__nav--div" onclick="comunidade()">
<div class="menu__nav--iusers"><i class="fas fa-users"></i></div>
<div class="menu__nav--text"><span>Comunidade</span></div>
</div>
</div>
</nav>
<div class="principal">
<div class="code__editor" id="code__editor">
<div class="code__editor--text">
<div class="elipse red"><span class="none">.</span></div>
<div class="elipse yellow"><span class="none">.</span></div>
<div class="elipse green"><span class="none">.</span></div>
<div class="code__wrapper">
<code class="text__editor" contenteditable="true" aria-label="Editor de código">Digite aqui o seu código!</code>
</div>
</div>
</div>
<div class="main__button">
Visualizar com o highlight
</div>
</div>
<div class="barra__lateral">
<div class="project__title">
SEU PROJETO
</div>
<div>
<input type="text" class="project__name" placeholder="Nome do seu projeto">
</div>
<div>
<input type="text" class="project__description" placeholder="Descrição do seu projeto">
</div>
<div class="project__title">
PERSONALIZAÇÃO
</div>
<div class="flex__tablet">
<div class="project__language">
<select class="project__language--select">
<option class="project__language--option" selected>JavaScript</option>
<option class="project__language--option">CSS</option>
<option class="project__language--option">HTML</option>
<option class="project__language--option">PHP</option>
</select>
</div>
<div class="project__color">
<input id="color" class="project__color--picker" type="color" value="#6BD1FF" oninput="ReturnColor()">
</div>
</div>
<div class="project__save" onclick="salvaProjeto()">
Salvar projeto
</div>
</div>
</main>
<script type="text/javascript" src="./js/main.js"></script>
<script type="text/javascript" src="./js/index.js"></script>
<script type="text/javascript" src="./js/carregaprojetos.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/highlight.min.js"></script>
</body>
</html>