-
Notifications
You must be signed in to change notification settings - Fork 0
/
diseñoinicio.html
252 lines (214 loc) · 9.28 KB
/
diseñoinicio.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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
<!DOCTYPE html>
<!-- Copiar desde aqui -->
<html lang="en">
<head>
<html lang="en">
<head>
<title>DesigNow</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito+Sans:200,300,400,700,900">
<link rel="stylesheet" href="fonts/icomoon/style.css">
<link rel="stylesheet" href="css/magnific-popup.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/owl.carousel.min.css">
<link rel="stylesheet" href="css/owl.theme.default.min.css">
<link rel="stylesheet" href="css/bootstrap-datepicker.css">
<link rel="stylesheet" href="fonts/flaticon/font/flaticon.css">
<link rel="stylesheet" href="css/aos.css">
<link rel="stylesheet" href="css/style.css">
<!-- Carga el header segun si esta logueado o no-->
<script type="text/javascript">
window.onload = function () {
console.log(localStorage.getItem("name"));
console.log(localStorage.getItem("name") === null);
if (localStorage.getItem("name") == null) {
console.log("Entro al primer if")
document.getElementById("login").textContent = "Iniciar Sesion";
document.getElementById('proy').style.display = 'none';
document.getElementById('perf').style.display = 'none';
document.getElementById('out').style.display = 'none';
document.getElementById('arrow').style.display = 'none';
}
else {
document.getElementById('proy').style.display = true;
document.getElementById('perf').style.display = true;
document.getElementById('arrow').style.display = true;
document.getElementById("login").textContent = "Hola " + localStorage.getItem("name").split(" ")[0];
}
}
function cerrarSesion() {
console.log("True");
localStorage.removeItem('name');
}
;
</script>
</head>
<body>
<div class="site-wrap">
<div class="site-navbar-wrap">
<div class="site-navbar-top">
<div class="container py-3">
<div class="row align-items-center">
<div class="col-6">
<a href="#" class="p-2 pl-0"><span class="icon-twitter"></span></a>
<a href="#" class="p-2 pl-0"><span class="icon-facebook"></span></a>
<a href="#" class="p-2 pl-0"><span class="icon-linkedin"></span></a>
<a href="#" class="p-2 pl-0"><span class="icon-instagram"></span></a>
</div>
<div class="col-6">
<div class="d-flex ml-auto">
<a href="#" class="d-flex align-items-center ml-auto mr-4">
<span class="icon-phone mr-2"></span>
<span class="d-none d-md-inline-block">318 358 0369</span>
</a>
<a href="#" class="d-flex align-items-center">
<span class="icon-envelope mr-2"></span>
<span class="d-none d-md-inline-block">[email protected]</span>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="site-navbar">
<div class="container py-1">
<div class="row align-items-center">
<div class="col-2">
<h1 class="mb-0 site-logo"><a href="index.html">DesigNow</a></h1>
</div>
<div class="col-10">
<nav class="site-navigation text-right" role="navigation">
<div class="container">
<div class="d-inline-block d-lg-none ml-md-0 mr-auto py-3"><a href="#"
class="site-menu-toggle js-menu-toggle text-white"><span class="icon-menu h3"></span></a></div>
<ul class="site-menu js-clone-nav d-none d-lg-block">
<li class="has-children active">
<a href="login.html" id="login">Iniciar sesión</a>
<ul class="dropdown arrow-top" id="arrow">
<li><a href="projects.html" id="proy">Mis proyectos</a></li>
<li><a href="perfil.html" id="perf">Mi perfil</a></li>
<li><a href="index.html" onclick="cerrarSesion()" id="out">Cerrar sesion</a></li>
</ul>
</li>
<li><a href="#aboutus">¿Quienes somos?</a></li>
<li><a href="example/editor3D.html">Diseña</a></li>
<li><a href="diseñoinicio.html">Solicitar diseño</a></li>
<li><a href="services.html">Pedir cita</a></li>
<li><a href="contact.html">Contacto</a></li>
</ul>
</div>
</nav>
</div>
</div>
</div>
</div>
</div>
<!-- Copiar hasta aqui -->
<div class="site-blocks-cover overlay" style="background-image: url(images/hero_bg_1.jpg);" data-aos="fade"
data-stellar-background-ratio="0.5">
<div class="container">
<div class="row align-items-center text-center justify-content-center">
<div class="col-md-8">
<h1>Diseño inicial</h1>
<span class="sub-text">Crea y guarda bocetos descriptivos para adjuntarlos con tus solicitudes</span>
</div>
</div>
</div>
</div>
<div class="site-section">
<div class="card-title">
<center>
<h>Crea los mejores bocetos para que los diseñadores puedan ver tus ideas gráficamente. Elige entre crear un
boceto con información y recursos propios o utilizar las plantillas que te ofrecemos.</h>
</center>
</div>
<div class="row row-items">
<div class="col-4">
<a href="diseño1.html" class="d-flex text-center feature active p-4 mb-4 bg-white">
<span class="align-self-center w-100">
<span class="d-block mb-3">
<span class="flaticon-step-ladder display-3"></span>
</span>
<h3>Boceto personalizado</h3>
</span>
</a>
</div>
<div class="col-4">
<a href="prueba2.html" class="d-flex text-center feature active p-4 mb-4 bg-white">
<span class="align-self-center w-100">
<span class="d-block mb-3">
<span style="padding-right:3px; padding-top: 3px; display:inline-block;">
<img class="manImg" height="100" weight="100" src="/images/icons/1.png"></img>
</span>
<h3>Solicitar Cotización</h3>
</span>
</a>
</div>
<div class="col-4">
<a href="diseño2.html" class="d-flex text-center feature active p-4 mb-4 bg-white">
<span class="align-self-center w-100">
<span class="d-block mb-3">
<span class="flaticon-sit-down display-3"></span>
</span>
<h3>Asesoría inteligente</h3>
</span>
</a>
</div>
</div>
</div>
<!-- Aqui empieza el footer -->
<footer class="site-footer border-top">
<div class="container">
<div class="row">
<div class="col-lg-4 mb-5 mb-lg-0">
<div class="row mb-5">
<div class="col-md-12">
<h3 class="footer-heading mb-4">Navega</h3>
</div>
<div class="col-md-6 col-lg-6">
<ul class="list-unstyled">
<li><a href="#">Inicio</a></li>
<li><a href="#">Proyectos</a></li>
<li><a href="#">Crear diseño</a></li>
<li><a href="#">Pedir cita</a></li>
</ul>
</div>
<div class="col-md-6 col-lg-6">
<ul class="list-unstyled">
<li><a href="#">Sobre nosotros</a></li>
<li><a href="#">Contacto</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="row pt-5 mt-5 text-center">
<div class="col-md-12">
<p>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright ©
<script>document.write(new Date().getFullYear());</script> All rights reserved | This template is made
with <i class="icon-heart-o" aria-hidden="true"></i> by <a href="https://colorlib.com"
target="_blank">TeamRocket</a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
</p>
</div>
</div>
</div>
</footer>
<!-- Hasta aqui va el footer -->
<script src="js/jquery-3.3.1.min.js"></script>
<script src="js/jquery-migrate-3.0.1.min.js"></script>
<script src="js/jquery-ui.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/jquery.stellar.min.js"></script>
<script src="js/jquery.countdown.min.js"></script>
<script src="js/jquery.magnific-popup.min.js"></script>
<script src="js/bootstrap-datepicker.min.js"></script>
<script src="js/aos.js"></script>
<script src="js/main.js"></script>
</body>
</html>