diff --git a/package-lock.json b/package-lock.json index 9e63125..e17c958 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "react-error-boundary": "4.0.10", "react-helmet-async": "1.3.0", "react-hook-form": "7.46.1", - "react-icons": "4.10.1", + "react-icons": "^4.10.1", "react-intersection-observer": "9.5.2", "react-lazy-load": "4.0.1", "react-router-dom": "6.14.0", @@ -35,6 +35,7 @@ "@sentry/react": "7.57.0", "@testing-library/jest-dom": "5.16.5", "@testing-library/react": "14.0.0", + "@types/cypress": "^1.1.3", "@types/react": "18.2.14", "@types/react-dom": "18.2.6", "@typescript-eslint/eslint-plugin": "6.0.0", @@ -80,9 +81,9 @@ } }, "node_modules/@adobe/css-tools": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.0.1.tgz", - "integrity": "sha512-+u76oB43nOHrF4DDWRLWDCtci7f3QJoEBigemIdIeTi1ODqjx6Tad9NCVnPRwewWlKkVab5PlK8DCtPTyX7S8g==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.3.1.tgz", + "integrity": "sha512-/62yikz7NLScCGAAST5SHdnjaDJQBDq0M2muyRTpf2VQhw6StBg2ALiu73zSJQ4fMVLA+0uBhBHAle7Wg+2kSg==", "dev": true }, "node_modules/@ampproject/remapping": { @@ -6885,6 +6886,16 @@ "@types/chai": "*" } }, + "node_modules/@types/cypress": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@types/cypress/-/cypress-1.1.3.tgz", + "integrity": "sha512-OXe0Gw8LeCflkG1oPgFpyrYWJmEKqYncBsD/J0r17r0ETx/TnIGDNLwXt/pFYSYuYTpzcq1q3g62M9DrfsBL4g==", + "deprecated": "This is a stub types definition for cypress (https://cypress.io). cypress provides its own type definitions, so you don't need @types/cypress installed!", + "dev": true, + "dependencies": { + "cypress": "*" + } + }, "node_modules/@types/istanbul-lib-coverage": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", @@ -8267,9 +8278,9 @@ } }, "node_modules/builtins/node_modules/semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "peer": true, "dependencies": { @@ -10202,9 +10213,9 @@ } }, "node_modules/eslint-plugin-n/node_modules/semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "peer": true, "dependencies": { @@ -15603,9 +15614,9 @@ } }, "node_modules/node-abi/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -19808,9 +19819,9 @@ "dev": true }, "@adobe/css-tools": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.0.1.tgz", - "integrity": "sha512-+u76oB43nOHrF4DDWRLWDCtci7f3QJoEBigemIdIeTi1ODqjx6Tad9NCVnPRwewWlKkVab5PlK8DCtPTyX7S8g==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.3.1.tgz", + "integrity": "sha512-/62yikz7NLScCGAAST5SHdnjaDJQBDq0M2muyRTpf2VQhw6StBg2ALiu73zSJQ4fMVLA+0uBhBHAle7Wg+2kSg==", "dev": true }, "@ampproject/remapping": { @@ -24780,6 +24791,15 @@ "@types/chai": "*" } }, + "@types/cypress": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@types/cypress/-/cypress-1.1.3.tgz", + "integrity": "sha512-OXe0Gw8LeCflkG1oPgFpyrYWJmEKqYncBsD/J0r17r0ETx/TnIGDNLwXt/pFYSYuYTpzcq1q3g62M9DrfsBL4g==", + "dev": true, + "requires": { + "cypress": "*" + } + }, "@types/istanbul-lib-coverage": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", @@ -25817,9 +25837,9 @@ }, "dependencies": { "semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "peer": true, "requires": { @@ -27369,9 +27389,9 @@ }, "dependencies": { "semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "peer": true, "requires": { @@ -31310,9 +31330,9 @@ }, "dependencies": { "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "requires": { "lru-cache": "^6.0.0" diff --git a/package.json b/package.json index 83ae481..e049310 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,7 @@ "@sentry/react": "7.57.0", "@testing-library/jest-dom": "5.16.5", "@testing-library/react": "14.0.0", + "@types/cypress": "1.1.3", "@types/react": "18.2.14", "@types/react-dom": "18.2.6", "@typescript-eslint/eslint-plugin": "6.0.0", diff --git a/src/data/links.ts b/src/data/links.ts index 1ce89f8..8910b91 100644 --- a/src/data/links.ts +++ b/src/data/links.ts @@ -69,10 +69,28 @@ const languages: Array = [ ]; const categories: Array = [ + { value: 'Adulto', label: 'Adulto' }, + { value: 'Autobiografía', label: 'Autobiografía' }, { value: 'Acción', label: 'Acción'}, { value: 'Autoayuda', label: 'Autoayuda' }, { value: 'Aventura', label: 'Aventura' }, + { value: 'Bebidas', label: 'Bebidas' }, + { value: 'Ciencia', label: 'Ciencia' }, { value: 'Ciencia Ficción', label: 'Ciencia Ficción' }, + { value: 'Cocina', label: 'Cocina' }, + { value: 'Cómics', label: 'Cómics' }, + { value: 'Cuento', label: 'Cuento' }, + { value: 'Cyberpunk', label: 'Cyberpunk' }, + { value: 'Desarrollo De Software', label: 'Desarrollo De Software' }, + { value: 'Economía', label: 'Economía' }, + { value: 'Enciclopedias', label: 'Enciclopedias' }, + { value: 'Ensayo', label: 'Ensayo' }, + { value: 'Espacial', label: 'Espacial' }, + { value: 'Espionaje', label: 'Espionaje' }, + { value: 'Fantasía', label: 'Fantasía' }, + { value: 'Ficción', label: 'Ficción' }, + { value: 'Ficción Histórica', label: 'Ficción Histórica' }, + { value: 'Filosofía', label: 'Filosofía' }, { value: 'Clásicos', label: 'Clásicos' }, { value: 'Cuidado Del Bebé', label: 'Cuidado Del Bebé' }, { value: 'Comedia', label: 'Comedia' }, @@ -101,7 +119,18 @@ const categories: Array = [ { value: 'Fabricación De Joyas', label: 'Fabricación De Joyas' }, { value: 'Finanzas', label: 'Finanzas' }, { value: 'Física', label: 'Física' }, + { value: 'Guerra', label: 'Guerra' }, + { value: 'Histórico', label: 'Histórico' }, + { value: 'Historia', label: 'Historia' }, + { value: 'Horror', label: 'Horror' }, + { value: 'Humor', label: 'Humor' }, { value: 'Ingenierías', label: 'Ingenierías' }, + { value: 'Informática', label: 'Informática' }, + { value: 'Literatura', label: 'Literatura' }, + { value: 'Literatura Infantil', label: 'Literatura Infantil' }, + { value: 'Médicina', label: 'Médicina' }, + { value: 'Misterio', label: 'Misterio' }, + { value: 'Música', label: 'Música' }, { value: 'Jardinería', label: 'Jardinería' }, { value: 'Cómics', label: 'Cómics' }, { value: 'Cocina', label: 'Cocina' }, @@ -120,7 +149,22 @@ const categories: Array = [ { value: 'Adulto', label: 'Adulto' }, { value: 'Ficción', label: 'Ficción' }, { value: 'No Ficción', label: 'No Ficción' }, + { value: 'Novela', label: 'Novela' }, + { value: 'Novela Histórica', label: 'Novela Histórica' }, + { value: 'Novela Romantica', label: 'Novela Romantica' }, + { value: 'Poesía', label: 'Poesía' }, + { value: 'Politica', label: 'Politica' }, + { value: 'Policiales', label: 'Policiales' }, + { value: 'Postapocalíptica', label: 'Postapocalíptica' }, { value: 'Prehistoria', label: 'Prehistoria' }, + { value: 'Programación', label: 'Programación' }, + { value: 'Psicoterapia', label: 'Psicoterapia' }, + { value: 'Romance', label: 'Romance' }, + { value: 'Suspenso', label: 'Suspenso' }, + { value: 'Tecnología', label: 'Tecnología' }, + { value: 'Terror', label: 'Terror' }, + { value: 'Terror Psicológico', label: 'Terror Psicológico' }, + { value: 'Thriller', label: 'Thriller' }, { value: 'Política', label: 'Política' }, { value: 'Enciclopedias', label: 'Enciclopedias' }, { value: 'Ficción Histórica', label: 'Ficción Histórica' },