-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
188 lines (163 loc) · 8.39 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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://kit.fontawesome.com/3bc7d78e54.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="styles/css/styles.css">
<title>GIFOS</title>
</head>
<body id="body">
<header class="navbar" id="navbar">
<a href="index.html">
<img src="./images/logo-mobile.svg" alt="logo" id="logo" class="logo"/>
</a>
<div id="search" class="search">
<input class="search__input" type="text" placeholder="Busca GIFOS y más">
<i class="fas fa-search"></i>
</div>
<nav>
<button id="burger" class="burger"><i id="burger_icon" class="fas fa-bars"></i></button>
<ul class="menu invisible" id="menu">
<li class="menu__item" id="theme_btn" ><a href="#" id="theme_link">Modo nocturno</a></li>
<li class="menu__line"></li>
<li class="menu__item" id="fav_link"><a href="">Favoritos</a></li>
<li class="menu__line"></li>
<li class="menu__item" id="my_gifos_link"><a href="">Mis GIFOS</a></li>
<li class="menu__line"></li>
<li class="menu__item"><a href="create.html" id="create_link"><img src="./images/button-crear-gifo.svg" id="create_img" alt=""></a></li>
</ul>
</nav>
</header>
<main class="main">
<section class="hero" id="hero">
<h1 class="main_title">Inspírate, busca, <span class="break"></span> guarda y crea los <span class="break"></span> mejores <span class="turquoise">GIFOS</span></h1>
<img class="welcome" src="./images/ilustra_header.svg" alt="welcome">
<div class="search" id="search">
<div class="search__container">
<button type="submit" class="search__btn hide" id="search_btn"><i id="glass" class="fas fa-search"></i></button>
<input class="search__input" id="search_input" autocomplete="off" type="text" placeholder="Busca GIFOS y más">
<button class="right__btn" id="right_btn"><i id="right_icon" class="fas fa-search"></i></button>
</div>
<ul class="autocomplete_content" id="autocomplete_content">
<!-- Here searching suggested terms will be rendered -->
</ul>
</div>
<h4 class="trending__title">Trending:</h4>
<div class="trending__topics" id="trend_topics">
<!-- Here searching trends will be rendered -->
</div>
</section>
<section class="results hide" id="results">
<div class="section_line"></div>
<h2 class="section_title" id="results_title">Resultado de búsqueda</h2>
<!-- Here searching result gifos will be rendered -->
<div class="section_grifos grid" id="results_grid">
</div>
<a href="#" class="btn" id="more_btn">Ver más</a>
</section>
<section class="favorites hide" id="favorites">
<img class="title_icon" src="./images/icon-favoritos.svg" alt="favoritos">
<h2 class="section_title">Favoritos</h2>
<div class="section_grifos grid" id="fav_gifos">
<!-- Here favorite gifos will be rendered -->
</div>
</section>
<section class="mygifos hide" id="my_gifos">
<img class="title_icon" src="./images/icon-mis-gifos.svg" alt="mis gifos">
<h2 class="section_title">Mis GIFOS</h2>
<div class="section_grifos grid" id="my_gifos_gifos">
<!-- Here user gifos will be rendered -->
</div>
</section>
<section class="trending" id="trending">
<h2 class="section_title">Trending GIFOS</h2>
<p class="text">Mira los últimos <span class="break"></span> GIFOS de nuestra comunidad.</p>
<div class="trending_slider">
<a class="prev" id="prev">❮</a>
<div class="trendslider" id="trendslider">
<!-- Here trending gifos will be rendered -->
<div class="trendslider__slider" id="slider">
</div>
</div>
<a class="next" id="next">❯</a>
</div>
</section>
<section class="create hide" id="create">
<div class="create__layout">
<div class="camera">
<img src="./images/camara.svg" alt="cámara" id="camera">
<img src="./images/Path 2.svg" alt="proyección" class="path">
</div>
<div class="upload__container">
<div class="upload__gifo">
<h2 class="section_title" id="upload_title">Aquí podrás <br> crear tus propios <span class="turquoise">GIFOS</span> </h2>
<p class="text" id="upload_text">¡Crea tu GIFO en solo 3 pasos! <br> (solo necesitas una cámara para grabar un video)</p>
<div class="overlay hide" id="overlay_video">
<div class="gifo__buttons" id="overlay_video_actions">
</div>
<div class="overlay__info" id="overlay_video_info">
<img src="./images/loader.svg" class="overlay__icon" alt="loading gifo" id="overlay_video_icon">
<p class="counter_text" id="overlay_video_text">Estamos subiendo tu GIFO</p>
</div>
</div>
<video class="recording_video hide" src="" id="recording_video"></video>
<img src="" alt="" id="recorded_gifo">
</div>
</div>
<div class="empty"></div>
</div>
<div class="create__controls">
<div class="empty"></div>
<div class="controls">
<div class="upload__btns">
<p class="each step" id="creategifo_step_first">1</p>
<p class="each step" id="creategifo_step_second">2</p>
<p class="each step" id="creategifo_step_third">3</p>
</div>
<div class="counter">
<p class="counter__recording counter_text hide" id="counter_recording">0:00:00</p>
<button class="counter__repeat counter_text hide" id="counter_repeat">Repetir captura</button>
</div>
<div class="upload__bar"></div>
<a href="#" id="begin_btn" class="button">Comenzar</a>
<a href="#" id="record_btn" class="button hide">Grabar</a>
<a href="#" id="end_btn" class="button hide">Finalizar</a>
<a href="#" id="upload_btn" class="button hide">Subir Gifo</a>
</div>
<div class="film_reel">
<img src="./images/pelicula.svg" alt="Rollo película" id="film_reel">
</div>
</div>
</section>
</main>
<footer class="footer">
<div class="social">
<p class="small_text">Compartir en:</p>
<div class="social__icons">
<a href="https://www.facebook.com/">
<i class="fab fa-facebook"></i>
</a>
<a href="https://twitter.com/">
<i class="fab fa-twitter"></i>
</a>
<a href="https://www.instagram.com/">
<i class="fab fa-instagram"></i>
</a>
</div>
</div>
<div class="small_text">
© GIFOS 2020 — All Rights Reserved
</div>
</footer>
<!-- Script Links -->
<script src="https://www.WebRTC-Experiment.com/RecordRTC.js"></script>
<script src="./script/main.js"></script>
<script src="./script/trending.js"></script>
<script src="./script/search.js"></script>
<script src="./script/modal.js"></script>
<script src="./script/favorites.js"></script>
<script src="./script/creategifos.js"></script>
<script src="./script/mygifos.js"></script>
</body>
</html>