-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
194 lines (181 loc) · 8.83 KB
/
index.html
File metadata and controls
194 lines (181 loc) · 8.83 KB
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
<!DOCTYPE html>
<html lang="es">
<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>TechShop | Tienda para Programadores</title>
<meta name="description" content="Tienda ecommerce futurista para desarrolladores. Catálogo, carrito y productos tecnológicos para programadores.">
<meta name="keywords" content="Tienda, Ecommerce, SPA, Programadores, Tecnología, Carrito, Catálogo, Landing page">
<meta name="author" content="Jhon Alejandro Diaz J.">
<!-- Favicon -->
<link rel="icon" href="favicon.ico">
<link href="https://fonts.googleapis.com/css?family=IBM+Plex+Mono:400,500,700&display=swap" rel="stylesheet">
<!-- Estilos principales -->
<link rel="stylesheet" href="static/css/style.css">
</head>
<body>
<header>
<nav>
<a href="#" class="logo" style="display: flex; align-items: center; gap: 0.55em;">
<!-- SVG Moderno -->
<span class="logo-icono">
<svg width="32" height="32" viewBox="0 0 36 36" fill="none" aria-label="TechShop logo" xmlns="http://www.w3.org/2000/svg">
<circle cx="18" cy="18" r="15" fill="#4FD1C5" opacity="0.13"/>
<rect x="8" y="8" width="20" height="20" rx="6" fill="#7F5FFF" opacity="0.22"/>
<path d="M12 23L18 13L24 23" stroke="#4FD1C5" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<circle cx="18" cy="22" r="2" fill="#7F5FFF" stroke="#4FD1C5" stroke-width="1.4"/>
</svg>
</span>
<span class="logo-texo">TechShop</span>
</a>
<ul>
<li><a href="#" data-view="landing" class="nav-link active">Inicio</a></li>
<li><a href="#" data-view="catalogo" class="nav-link">Catálogo</a></li>
<li>
<a href="#" data-view="carrito" class="nav-link" id="carrito-nav-link">
<span class="carrito-icono">
<!-- Ícono SVG de carrito moderno y accesible -->
<svg width="22" height="22" aria-label="Carrito" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 2 24 20">
<path stroke="#4FD1C5" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
d="M7 18c-1.104 0-2 .896-2 2s.896 2 2 2 2-.896 2-2-.896-2-2-2Zm10 0c-1.104 0-2 .896-2 2s.896 2 2 2 2-.896 2-2-.896-2-2-2ZM3 5h2l2.1 10.29a2 2 0 0 0 2 1.71h7.45a2 2 0 0 0 2-1.61l1.38-7.73H6"></path>
</svg>
<span class="badge-cart" id="carrito-cantidad-indicador">0</span>
</span>
Carrito
</a>
</li>
</ul>
</nav>
</header>
<main>
<!-- Landing Page -->
<section id="landing">
<div class="hero-content">
<!-- Columna izquierda -->
<div class="left-column">
<h1>
Tu Tienda Online para Programadores
</h1>
<p class="hero-sub">
Descubre el <strong>mejor catálogo de hardware y periféricos</strong> para tu setup. Compra con confianza productos diseñados para tu productividad, confort y pasión por el código.
</p>
<ul class="usp-list">
<li>🚚 <b>Envío rápido y seguro</b> a todo el país</li>
<li>💻 <b>Todo para tu espacio de programación</b></li>
<li>🛒 <b>Carrito dinámico y pago fácil</b> en segundos</li>
<li>🧾 <b>Factura transparente</b> y soporte proactivo</li>
<li>🔒 <b>Compra segura</b> con garantía real</li>
</ul>
<div class="cta-area">
<button class="btn-comprar" id="irCatalogoBtn">Explorar Catálogo</button>
</div>
</div>
<!-- Columna derecha con mockup -->
<div class="right-column right-visual">
<!-- Mockup visual/ilustración de setup -->
<div class="setup-mockup">
<img src="static/dev-setup-illustration.svg" alt="Ilustración de Setup de Programador" />
</div>
<h2>¿Por qué elegir TechShop?</h2>
<p>
Somos programadores seleccionando lo mejor: <strong>aumenta tu rendimiento</strong>, <strong>cuida tu salud</strong> y <strong>optimizan tu pasión por el desarrollo</strong>.
</p>
<p>
<b>🛠 Directo para devs:</b> Ahorra tiempo navegando en marketplaces genéricos. Aquí encuentras solo lo esencial.<br>
<b>⚡ Fácil, seguro y rápido:</b> Carrito intuitivo, decisión de domicilio y pago sin complicaciones.<br>
<b>🤝 Confianza y comunidad:</b> Miles de clientes felices ya optimizaron su entorno.
</p>
</div>
</div>
</section>
<!-- Catálogo de productos -->
<section id="catalogo" style="display:none;">
<h2>Catálogo de Productos</h2>
<div class="productos-grid">
<!-- Las tarjetas de productos se inyectan por JS -->
</div>
</section>
<!-- Catálogo de productos -->
<!-- Carrito de compras -->
<section id="carrito" style="display:none;">
<h2>Carrito de Compras</h2>
<div id="cart-items"></div>
<div id="cart-totals">
<p>Subtotal: $<span id="subtotal">0</span></p>
<p>IVA (19%): $<span id="iva">0</span></p>
<p>Total: $<span id="total">0</span></p>
</div>
<div id="pago-section">
<label for="pago">¿Con cuánto pagas?</label>
<input type="number" id="pago" min="0" step="1000">
<button type="button" id="btn-cambio">Calcular cambio</button>
<div id="cambio"></div>
</div>
<div id="domicilio-section">
<input type="checkbox" id="domicilio">
<label for="domicilio">¿Deseas domicilio?</label>
<div id="form-domicilio" style="display:none;">
<label for="nombre">Nombre:</label>
<input type="text" id="nombre" maxlength="80">
<label for="direccion">Dirección:</label>
<input type="text" id="direccion" maxlength="100">
<label for="telefono">Teléfono:</label>
<input type="tel" id="telefono" maxlength="15">
</div>
</div>
<button type="button" id="btn-factura">Generar Factura</button>
</section>
<!-- Sección de factura generada dinámicamente -->
<section id="factura" style="display:none;">
<!-- Sección para mostrar la factura por JS -->
</section>
</main>
<footer>
<div class="footer-content">
<div class="footer-cards">
<!-- Tarjeta 1: TechShop -->
<div class="footer-card footer-info">
<strong>TechShop</strong>
<span class="footer-slogan">Tu Tienda Online para Programadores</span>
<p>
Potencia tu setup, aumenta tu productividad. Tecnología, periféricos y accesorios seleccionados solo para devs y amantes del código.
</p>
</div>
<!-- Tarjeta 2: Contacto -->
<div class="footer-card footer-contact">
<h3>Contacto</h3>
<p>Jhon Alejandro Diaz J.</p>
<p>Email: <a href="mailto:contacto@techshop.com" class="footer-link">contacto@techshop.com</a></p>
<p>WhatsApp: <a href="https://wa.me/573001234567" class="footer-link" target="_blank">+57 300 123 4567</a></p>
<p>Bogotá, Colombia</p>
<div class="footer-social">
<a href="https://twitter.com/yourprofile" target="_blank" class="footer-social-btn twitter" title="Twitter"><span aria-hidden="true">🐦</span></a>
<a href="https://github.com/aledelling" target="_blank" class="footer-social-btn github" title="GitHub"><span aria-hidden="true">💻</span></a>
<a href="https://linkedin.com/in/yourprofile" target="_blank" class="footer-social-btn linkedin" title="LinkedIn"><span aria-hidden="true">🔗</span></a>
<a href="https://instagram.com/aledelling" target="_blank" class="footer-social-btn instagram" title="Instagram"><span aria-hidden="true">📸</span></a>
</div>
</div>
<!-- Tarjeta 3: Soporte y Ayuda -->
<div class="footer-card footer-support">
<h3>Soporte y Ayuda</h3>
<nav>
<a href="#faq" class="footer-link">Preguntas Frecuentes</a>
<a href="#privacidad" class="footer-link">Política de Privacidad</a>
<a href="#terminos" class="footer-link">Términos y Condiciones</a>
<a href="#contacto" class="footer-link">Contáctanos</a>
<a href="#envios" class="footer-link">Envíos y Devoluciones</a>
</nav>
</div>
</div>
<div class="footer-copy">
<p>© 2025 TechShop. Desarrollado por Jhon Alejandro Diaz J. · Aspiring Back-end Developer.</p>
<p>
</p>
</div>
</div>
</footer>
<!-- Script principal -->
<script src="static/js/app.js" defer></script>
</body>
</html>