-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
173 lines (156 loc) · 8.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" sizes="32x32" href="">
<title>Alura Challenge Front-End</title>
<link rel="stylesheet" href="./style//reset.css" />
<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@100;200;300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://kit.fontawesome.com/19dc0097e6.js" crossorigin="anonymous"></script>
<link href="./style/colours.css" rel="stylesheet">
<link href="./style/header-menu__mobile.css" rel="stylesheet">
<link href="./style/header-menu.css" rel="stylesheet">
<link href="./style/base.css" rel="stylesheet">
<link href="./style/index.css" rel="stylesheet">
<link href="./style/responsive.css" rel="stylesheet">
</head>
<body>
<header>
<nav class="header" id="nav">
<div class="header__logo" id="logo">
<h1>
<a href="#"><img src="./images/logo.png" alt="Alura logo" aria-hidden="true"></a>
</h1>
</div>
<div class="header__search">
<input type="search" id="desktop-search-bar" class="input-select" name="search" aria-label="Search" placeholder="Search">
</div>
<div class="header__profile">
<button class="header__profile__button input-select">
<img class="header__profile__img" src="./images/profile.png" alt="Harry">
<p class="header__profile__name">Harry</p>
</button>
</div>
</nav>
<!-- Mobile -->
<nav class="header__mobile" id="nav-mobile">
<div class="header__mobile__logo" id="logo-mobile">
<h1>
<a href="#"><img src="./images/logo.png" alt="Alura logo" aria-hidden="true"></a>
</h1>
</div>
<div class="header__mobile__search" id="search-mobile">
<div class="header__mobile__search__input icon-inside">
<input type="search" id="mobile-search-bar" class="input-select" placeholder="Search" style="display: none;" aria-label="Search">
<i id="close-search" class="fas fa-times icon-menu" style="display: none;" aria-hidden="true"></i>
</div>
<button id="search-icon" class="btn-search icon-menu">
<i class="fas fa-search" aria-hidden="true"></i>
</button>
</div>
<div class="header__search">
<input type="search" id="ipad-search-bar" class="input-select" aria-label="Search" placeholder="Search">
</div>
<div class="header__mobile__menu">
<button class="btn-menu icon-menu" id="bar-menu">
<i class="fas fa-bars" aria-hidden="true"></i>
</button>
<i id="close-menu" class="fas fa-times icon-menu" style="display: none;" aria-hidden="true"></i>
<div class="nav-menu">
<ul>
<li class="container__menu__item">
<a href="./index.html" aria-label="Go to index page"><i class="container__menu__item__icon active button fas fa-code" aria-hidden="true"></i></a>
<a href="./index.html" class="container__menu__item__name" aria-label="Go to index page">Code Editor</a>
</li>
<li class="container__menu__item">
<a href="./community.html" aria-label="Go to community page"><i class="container__menu__item__icon desactive button fas fa-users" aria-hidden="true"></i></a>
<a href="./community.html" aria-label="Go to community page" class="container__menu__item__name">Community</a>
</li>
<hr>
<li class="container__menu__item-profile mobile">
<img src="./images/profile.png" alt="Harry">
<p>Harry</p>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main>
<section class="container">
<div class="container__menu">
<nav class="container__menu__nav">
<h2>Menu</h2>
<ul>
<li class="container__menu__item">
<a href="./index.html"><i class="container__menu__item__icon active button fas fa-code" aria-hidden="true"></i></a>
<a href="./index.html" class="container__menu__item__name">Code Editor</a>
</li>
<li class="container__menu__item">
<a href="./community.html"><i class="container__menu__item__icon desactive button fas fa-users" aria-hidden="true"></i></a>
<a href="./community.html" class="container__menu__item__name">Community</a>
</li>
</ul>
</nav>
</div>
<div class="container__codes" id="container_codes">
<div class="container__code-editor">
<div class="container__code-editor__project">
<div class="container__code-editor__border" id="code-border">
<div class="container__code-editor__text">
<div class="container__code-editor__mac-buttons">
<div class="container__code-editor__mac-buttons__red"></div>
<div class="container__code-editor__mac-buttons__yellow"></div>
<div class="container__code-editor__mac-buttons--green"></div>
</div>
<pre>
<code id="code" class="code" contenteditable="true" spellcheck="false">
</code>
</pre>
</div>
</div>
<div class="container__code-editor__button">
<button class="btn-outlined" id="highlight">Highlight View</button>
</div>
</div>
</div>
</div>
<div class="container__form">
<fieldset class="container__form__fieldset">
<div class="container__form__fieldset__project">
<legend>
<h2>Your Project</h2>
</legend>
<input type="text" id="project-name" class="input-select" name="project-name" placeholder="Project Name">
<textarea type="text" id="description" class="input-select" name="description" placeholder="Project Description"></textarea>
</div>
<div class="container__form__personalization">
<legend>
<h2>Personalization</h2>
</legend>
<div class="container__form__personalization__content">
<select name="language" id="language" class="input-select">
<option value="javascript">JavaScript</option>
<option value="css">CSS</option>
<option value="html">HTML</option>
</select>
<input type="color" id="color" name="color" value="#6BD1FF"></input>
</div>
</div>
<div class="container__form__button">
<button class="button" id="save-project">Save Project</button>
</div>
</fieldset>
</div>
</section>
</main>
<script src="./script/index.js "></script>
<script src="./script/menu.js "></script>
<link rel="stylesheet" href="./script/highlight/styles/tomorrow-night-blue.min.css">
<script src="./script/highlight/highlight.min.js"></script>
</body>
</html>