-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
116 lines (106 loc) · 4.18 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./css/reset.css">
<link rel="stylesheet" href="./css/themes/monokai.css">
<link rel="stylesheet" href="./css/root.css">
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@8/swiper-bundle.min.css" />
<link rel="shortcut icon" href="./public/devLogo.png" type="image/x-icon">
<title>Alura Coder</title>
</head>
<body>
<header>
<img height="60" src="./public/logoAluraEd.png" alt="Logo do Alura Editor" id="logo">
<input type="text" id="search" placeholder="Busque pelo código:">
<div class="profile">
<img height="40" id="profile" src="./public/profile.svg" alt="Foto de perfil">
<span id="username">Profile</span>
</div>
</header>
<main>
<div class="top">
<section class="menu">
<h2 class="title-section" id="menu">M E N U</h2>
<div class="buttons">
<div class="editor-button">
<div class="editor-button__logo active">
<img height="20" src="./public/VectorCode.svg" alt="Logo de código">
</div>
<h3 class="title-button">Editor</h3>
</div>
<div class="editor-button">
<div class="editor-button__logo">
<img height="20" src="./public/VectorPeople.svg" alt="Logo de código">
</div>
<h3 class="title-button" href="">Projetos</h3>
</div>
</div>
</section>
<section class="editor">
<h2 class="title-section">E D I T O R</h2>
<div class="editor-back">
<div class="code-wrapper">
<code class="preview hljs" contenteditable="true" aria-label="Editor de code" id="editor">function teste(){
console.log("Hello World!")}</code>
</div>
</div>
<input type="button" value="Adicionar Highlight" id="highlight">
</section>
</div>
</main>
<div class="down">
<section class="form">
<fieldset>
<h2 class="title-section">S E U P R O J E T O</h2>
<input class="camp" type="text" placeholder="Nome do projeto:" id="name-project" value="">
<input class="camp" type="text" placeholder="Descrição do projeto:" id="desc-project" value="">
<h2 class="title-section">P E R S O N A L</h2>
<select name="" id="language" class="camp language">
<option value="">HTML</option>
<option value="">CSS</option>
<option value="">JS</option>
</select>
<input type="color" name="#5081FB" id="color" value="" class="camp" onchange=" changeColor()">
<input type="button" value="Salvar" id="save" class="camp">
</fieldset>
</section>
<!-- Slider main container -->
<div class="swiper">
<h2 class="title-section">C A R D S</h2>
<!-- Additional required wrapper -->
<div class="swiper-wrapper">
<!-- Slides -->
<div class="swiper-slide">
<div class="card">
<h4 class="title-project">Titulo do Projeto</h4>
<p class="desc-project">Descrção base e sucinta do que se trata o projeto...</p>
<span class="lang-project">Linguagem que foi codada. Ex: "JS"</span>
</div>
<div class="editor-back">
<div class="code-wrapper">
<code class="preview hljs" contenteditable="false" aria-label="Editor de code">function teste(){
console.log("Hello World!")}</code>
</div>
</div>
</div>
<!-- If we need pagination -->
<div class="swiper-pagination"></div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/highlight.min.js"></script>
<script src="./js/highlight.js"></script>
<script src="./js/color.js"></script>
<script src="https://cdn.jsdelivr.net/npm/swiper@8/swiper-bundle.min.js"></script>
<script src="./js/swiper.js"></script>
<script src="./js/main.js"></script>
<script>
window.onload = () => {
swiper();
}
</script>
</body>
</html>