1+ import { imagesBaseUrl } from "@/config" ;
2+
13import type { CategorySlug } from "@/../generated/prisma/client" ;
24
35export const categories = [
46 {
57 title : "Polos" ,
68 slug : "polos" as CategorySlug ,
7- imgSrc : "/images/ polos.jpg" ,
9+ imgSrc : ` ${ imagesBaseUrl } / polos.jpg` ,
810 alt : "Hombre luciendo polo azul" ,
911 description :
1012 "Polos exclusivos con diseños que todo desarrollador querrá lucir. Ideales para llevar el código a donde vayas." ,
1113 } ,
1214 {
1315 title : "Tazas" ,
1416 slug : "tazas" as CategorySlug ,
15- imgSrc : "/images/ tazas.jpg" ,
17+ imgSrc : ` ${ imagesBaseUrl } / tazas.jpg` ,
1618 alt : "Tazas con diseño de código" ,
1719 description :
1820 "Tazas que combinan perfectamente con tu café matutino y tu pasión por la programación. ¡Empieza el día con estilo!" ,
1921 } ,
2022 {
2123 title : "Stickers" ,
2224 slug : "stickers" as CategorySlug ,
23- imgSrc : "/images/ stickers.jpg" ,
25+ imgSrc : ` ${ imagesBaseUrl } / stickers.jpg` ,
2426 alt : "Stickers de desarrollo web" ,
2527 description :
2628 "Personaliza tu espacio de trabajo con nuestros stickers únicos y muestra tu amor por el desarrollo web." ,
@@ -30,7 +32,7 @@ export const categories = [
3032export const products = [
3133 {
3234 title : "Polo React" ,
33- imgSrc : "/images/ polos/polo-react.png" ,
35+ imgSrc : ` ${ imagesBaseUrl } / polos/polo-react.png` ,
3436 price : 20.0 ,
3537 description :
3638 "Viste tu pasión por React con estilo y comodidad en cada línea de código." ,
@@ -45,7 +47,7 @@ export const products = [
4547 } ,
4648 {
4749 title : "Polo JavaScript" ,
48- imgSrc : "/images/ polos/polo-js.png" ,
50+ imgSrc : ` ${ imagesBaseUrl } / polos/polo-js.png` ,
4951 price : 20.0 ,
5052 description :
5153 "Deja que tu amor por JavaScript hable a través de cada hilo de este polo." ,
@@ -60,7 +62,7 @@ export const products = [
6062 } ,
6163 {
6264 title : "Polo Node.js" ,
63- imgSrc : "/images/ polos/polo-node.png" ,
65+ imgSrc : ` ${ imagesBaseUrl } / polos/polo-node.png` ,
6466 price : 20.0 ,
6567 description :
6668 "Conéctate al estilo con este polo de Node.js, tan robusto como tu código." ,
@@ -75,7 +77,7 @@ export const products = [
7577 } ,
7678 {
7779 title : "Polo TypeScript" ,
78- imgSrc : "/images/ polos/polo-ts.png" ,
80+ imgSrc : ` ${ imagesBaseUrl } / polos/polo-ts.png` ,
7981 price : 20.0 ,
8082 description :
8183 "Tipa tu estilo con precisión: lleva tu pasión por TypeScript en cada hilo." ,
@@ -90,7 +92,7 @@ export const products = [
9092 } ,
9193 {
9294 title : "Polo Backend Developer" ,
93- imgSrc : "/images/ polos/polo-backend.png" ,
95+ imgSrc : ` ${ imagesBaseUrl } / polos/polo-backend.png` ,
9496 price : 25.0 ,
9597 description :
9698 "Domina el servidor con estilo: viste con orgullo tu título de Backend Developer." ,
@@ -105,7 +107,7 @@ export const products = [
105107 } ,
106108 {
107109 title : "Polo Frontend Developer" ,
108- imgSrc : "/images/ polos/polo-frontend.png" ,
110+ imgSrc : ` ${ imagesBaseUrl } / polos/polo-frontend.png` ,
109111 price : 25.0 ,
110112 description :
111113 "Construye experiencias con estilo: luce con orgullo tu polo de Frontend Developer." ,
@@ -120,7 +122,7 @@ export const products = [
120122 } ,
121123 {
122124 title : "Polo Full-Stack Developer" ,
123- imgSrc : "/images/ polos/polo-fullstack.png" ,
125+ imgSrc : ` ${ imagesBaseUrl } / polos/polo-fullstack.png` ,
124126 price : 25.0 ,
125127 description :
126128 "Domina ambos mundos con estilo: lleva tu título de FullStack Developer en cada línea de tu look." ,
@@ -135,7 +137,7 @@ export const products = [
135137 } ,
136138 {
137139 title : "Polo It's A Feature" ,
138- imgSrc : "/images/ polos/polo-feature.png" ,
140+ imgSrc : ` ${ imagesBaseUrl } / polos/polo-feature.png` ,
139141 price : 15.0 ,
140142 description :
141143 "Cuando el bug se convierte en arte: lleva con orgullo tu polo 'It's a feature'." ,
@@ -150,7 +152,7 @@ export const products = [
150152 } ,
151153 {
152154 title : "Polo It Works On My Machine" ,
153- imgSrc : "/images/ polos/polo-works.png" ,
155+ imgSrc : ` ${ imagesBaseUrl } / polos/polo-works.png` ,
154156 price : 15.0 ,
155157 description :
156158 "El clásico del desarrollador: presume tu confianza con 'It works on my machine'." ,
@@ -165,7 +167,7 @@ export const products = [
165167 } ,
166168 {
167169 title : "Sticker JavaScript" ,
168- imgSrc : "/images/ stickers/sticker-js.png" ,
170+ imgSrc : ` ${ imagesBaseUrl } / stickers/sticker-js.png` ,
169171 price : 2.99 ,
170172 description :
171173 "Muestra tu amor por JavaScript con este elegante sticker clásico." ,
@@ -180,7 +182,7 @@ export const products = [
180182 } ,
181183 {
182184 title : "Sticker React" ,
183- imgSrc : "/images/ stickers/sticker-react.png" ,
185+ imgSrc : ` ${ imagesBaseUrl } / stickers/sticker-react.png` ,
184186 price : 2.49 ,
185187 description :
186188 "Decora tus dispositivos con el icónico átomo giratorio de React." ,
@@ -195,7 +197,7 @@ export const products = [
195197 } ,
196198 {
197199 title : "Sticker Git" ,
198- imgSrc : "/images/ stickers/sticker-git.png" ,
200+ imgSrc : ` ${ imagesBaseUrl } / stickers/sticker-git.png` ,
199201 price : 3.99 ,
200202 description :
201203 "Visualiza el poder del control de versiones con este sticker de Git." ,
@@ -210,7 +212,7 @@ export const products = [
210212 } ,
211213 {
212214 title : "Sticker Docker" ,
213- imgSrc : "/images/ stickers/sticker-docker.png" ,
215+ imgSrc : ` ${ imagesBaseUrl } / stickers/sticker-docker.png` ,
214216 price : 2.99 ,
215217 description :
216218 "La adorable ballena de Docker llevando contenedores en un sticker único." ,
@@ -225,7 +227,7 @@ export const products = [
225227 } ,
226228 {
227229 title : "Sticker Linux" ,
228- imgSrc : "/images/ stickers/sticker-linux.png" ,
230+ imgSrc : ` ${ imagesBaseUrl } / stickers/sticker-linux.png` ,
229231 price : 2.49 ,
230232 description :
231233 "El querido pingüino Tux, mascota oficial de Linux, en formato sticker." ,
@@ -240,7 +242,7 @@ export const products = [
240242 } ,
241243 {
242244 title : "Sticker VS Code" ,
243- imgSrc : "/images/ stickers/sticker-vscode.png" ,
245+ imgSrc : ` ${ imagesBaseUrl } / stickers/sticker-vscode.png` ,
244246 price : 2.49 ,
245247 description : "El elegante logo del editor favorito de los desarrolladores." ,
246248 categoryId : 3 ,
@@ -254,7 +256,7 @@ export const products = [
254256 } ,
255257 {
256258 title : "Sticker GitHub" ,
257- imgSrc : "/images/ stickers/sticker-github.png" ,
259+ imgSrc : ` ${ imagesBaseUrl } / stickers/sticker-github.png` ,
258260 price : 2.99 ,
259261 description :
260262 "El alojamiento de repositorios más popular en un sticker de alta calidad." ,
@@ -269,7 +271,7 @@ export const products = [
269271 } ,
270272 {
271273 title : "Sticker HTML" ,
272- imgSrc : "/images/ stickers/sticker-html.png" ,
274+ imgSrc : ` ${ imagesBaseUrl } / stickers/sticker-html.png` ,
273275 price : 2.99 ,
274276 description :
275277 "El escudo naranja de HTML5, el lenguaje que estructura la web." ,
@@ -284,7 +286,7 @@ export const products = [
284286 } ,
285287 {
286288 title : "Taza JavaScript" ,
287- imgSrc : "/images/ tazas/taza-js.png" ,
289+ imgSrc : ` ${ imagesBaseUrl } / tazas/taza-js.png` ,
288290 price : 14.99 ,
289291 description :
290292 "Disfruta tu café mientras programas con el logo de JavaScript." ,
@@ -299,7 +301,7 @@ export const products = [
299301 } ,
300302 {
301303 title : "Taza React" ,
302- imgSrc : "/images/ tazas/taza-react.png" ,
304+ imgSrc : ` ${ imagesBaseUrl } / tazas/taza-react.png` ,
303305 price : 13.99 ,
304306 description :
305307 "Una taza que hace render de tu bebida favorita con estilo React." ,
@@ -314,7 +316,7 @@ export const products = [
314316 } ,
315317 {
316318 title : "Taza Git" ,
317- imgSrc : "/images/ tazas/taza-git.png" ,
319+ imgSrc : ` ${ imagesBaseUrl } / tazas/taza-git.png` ,
318320 price : 12.99 ,
319321 description : "Commit a tu rutina diaria de café con esta taza de Git." ,
320322 categoryId : 2 ,
@@ -328,7 +330,7 @@ export const products = [
328330 } ,
329331 {
330332 title : "Taza SQL" ,
331- imgSrc : "/images/ tazas/taza-sql.png" ,
333+ imgSrc : ` ${ imagesBaseUrl } / tazas/taza-sql.png` ,
332334 price : 15.99 ,
333335 description : "Tu amor por los lenguajes estructurados en una taza de SQL." ,
334336 categoryId : 2 ,
@@ -342,7 +344,7 @@ export const products = [
342344 } ,
343345 {
344346 title : "Taza Linux" ,
345- imgSrc : "/images/ tazas/taza-linux.png" ,
347+ imgSrc : ` ${ imagesBaseUrl } / tazas/taza-linux.png` ,
346348 price : 13.99 ,
347349 description : "Toma tu café con la libertad que solo Linux puede ofrecer." ,
348350 categoryId : 2 ,
@@ -356,7 +358,7 @@ export const products = [
356358 } ,
357359 {
358360 title : "Taza GitHub" ,
359- imgSrc : "/images/ tazas/taza-github.png" ,
361+ imgSrc : ` ${ imagesBaseUrl } / tazas/taza-github.png` ,
360362 price : 14.99 ,
361363 description : "Colabora con tu café en esta taza con el logo de GitHub." ,
362364 categoryId : 2 ,
0 commit comments