diff --git a/package-lock.json b/package-lock.json index bbf1c9a..89fbfc1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,10 @@ "astro": "^2.7.0", "atropos": "^1.0.2", "file-saver": "^2.0.5", + "framer-motion": "^10.12.18", "html2canvas": "^1.4.1", + "iconoir": "^6.10.0", + "lucide-react": "^0.260.0", "react": "^18.2.0", "react-dom": "^18.2.0", "tailwindcss": "^3.3.2" @@ -564,6 +567,21 @@ "resolved": "https://registry.npmjs.org/@emmetio/scanner/-/scanner-1.0.4.tgz", "integrity": "sha512-IqRuJtQff7YHHBk4G8YZ45uB9BaAGcwQeVzgj/zj8/UdOhtQpEIupUhSk8dys6spFIWVZVeK20CzGEnqR5SbqA==" }, + "node_modules/@emotion/is-prop-valid": { + "version": "0.8.8", + "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz", + "integrity": "sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==", + "optional": true, + "dependencies": { + "@emotion/memoize": "0.7.4" + } + }, + "node_modules/@emotion/memoize": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz", + "integrity": "sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw==", + "optional": true + }, "node_modules/@esbuild/android-arm": { "version": "0.17.19", "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.19.tgz", @@ -3931,6 +3949,29 @@ "url": "https://www.patreon.com/infusion" } }, + "node_modules/framer-motion": { + "version": "10.12.21", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-10.12.21.tgz", + "integrity": "sha512-EmnP73O5+1OGm2jtQNoBPPuAJvhySl+p4/9PL7PPJHt58nkPWeFaxhCJaUDXDf6N3jSLluefxopc0FrMCQ+/tQ==", + "dependencies": { + "tslib": "^2.4.0" + }, + "optionalDependencies": { + "@emotion/is-prop-valid": "^0.8.2" + }, + "peerDependencies": { + "react": "^18.0.0", + "react-dom": "^18.0.0" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + }, + "react-dom": { + "optional": true + } + } + }, "node_modules/fs-minipass": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", @@ -4510,6 +4551,11 @@ "node": ">=12.20.0" } }, + "node_modules/iconoir": { + "version": "6.10.0", + "resolved": "https://registry.npmjs.org/iconoir/-/iconoir-6.10.0.tgz", + "integrity": "sha512-nuErohyTJzBSM7w/M8654DR+o4UAXaV8Iz3gRDCv9KD/k+nD3fKqGCr2/SIiNnfU3Tsn4z6ZUgKojkk3yIPUHg==" + }, "node_modules/ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", @@ -5212,6 +5258,14 @@ "yallist": "^3.0.2" } }, + "node_modules/lucide-react": { + "version": "0.260.0", + "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.260.0.tgz", + "integrity": "sha512-xN6wuhUlcXeS4GsxZpd2DZp+m1jEZPckuCr90nQAXKRNl63GZ4KshIcGmqJEUqEygmv8Rf99MhcwF3DqBqQ9Dg==", + "peerDependencies": { + "react": "^16.5.1 || ^17.0.0 || ^18.0.0" + } + }, "node_modules/magic-string": { "version": "0.27.0", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.27.0.tgz", diff --git a/package.json b/package.json index aa440f3..4fbd2a5 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,8 @@ "file-saver": "^2.0.5", "framer-motion": "^10.12.18", "html2canvas": "^1.4.1", + "iconoir": "^6.10.0", + "lucide-react": "^0.260.0", "react": "^18.2.0", "react-dom": "^18.2.0", "tailwindcss": "^3.3.2" diff --git a/public/imgs/Xero.jpg b/public/imgs/Xero.jpg new file mode 100644 index 0000000..fabf4a8 Binary files /dev/null and b/public/imgs/Xero.jpg differ diff --git a/src/components/Faq.tsx b/src/components/Faq.tsx index ca3a6b1..13d2865 100644 --- a/src/components/Faq.tsx +++ b/src/components/Faq.tsx @@ -13,7 +13,7 @@ const faq: Faq[] = [ }, { question: '¿Puedo presentar mi charla?', - answer: 'Las inscripciones ya están cerradas, puedes ver las seleccionada en el apartado de horarios.', + answer: 'Las inscripciones ya están cerradas, puedes ver las charlas seleccionadas en el apartado de horarios.', }, /* { question: '¿Cuántas charlas y/o talleres puedo votar?', @@ -28,33 +28,33 @@ const faq: Faq[] = [ const Faq = () => { const [openFaq, setOpenFaq] = useState(null) - const handleFaq = (index) => { - setOpenFaq((prev) => { + const handleFaq = index => { + setOpenFaq(prev => { return prev === index ? null : index }) } return ( -
-
-
-

+
+
+
+

Preguntas Frecuentes

-