diff --git a/web-app/package.json b/web-app/package.json index 868e82fab..2ba21c217 100644 --- a/web-app/package.json +++ b/web-app/package.json @@ -28,7 +28,6 @@ "leaflet": "^1.9.4", "openapi-fetch": "^0.9.3", "react": "^17.0.0 || ^18.0.0", - "react-animated-numbers": "^0.18.0", "react-dom": "^17.0.0 || ^18.0.0", "react-ga4": "^2.1.0", "react-google-recaptcha": "^3.1.0", diff --git a/web-app/src/app/screens/About.tsx b/web-app/src/app/screens/About.tsx index 5c215baa8..bf1dda38d 100644 --- a/web-app/src/app/screens/About.tsx +++ b/web-app/src/app/screens/About.tsx @@ -85,15 +85,17 @@ export default function About(): React.ReactElement { apps, and cities to standardize and expand data formats for public transport (GTFS) and shared mobility (GBFS). - diff --git a/web-app/src/app/screens/Home.tsx b/web-app/src/app/screens/Home.tsx index a26ff10b5..590def0a3 100644 --- a/web-app/src/app/screens/Home.tsx +++ b/web-app/src/app/screens/Home.tsx @@ -14,7 +14,6 @@ import { useState } from 'react'; import { useNavigate } from 'react-router-dom'; import LegacyHome from './LegacyHome'; import { useRemoteConfig } from '../context/RemoteConfigProvider'; -import AnimatedNumbers from 'react-animated-numbers'; interface ActionBoxProps { IconComponent: React.ElementType; @@ -105,33 +104,9 @@ function Component(): React.ReactElement { }} > Currently serving over - ({ - type: 'spring', - duration: 2.3, - stiffness: 20, - })} - animateToNumber={2000} - fontStyle={{ - fontSize: 30, - color: '#3859FA', - }} - /> + 2000 transit data feeds from{' '} - ({ - type: 'spring', - duration: 2.3, - stiffness: 20, - })} - animateToNumber={70} - fontStyle={{ - fontSize: 30, - color: '#3859FA', - }} - /> + 70 countries. + the Canonical GTFS Schedule Validator . diff --git a/web-app/src/app/styles/FAQ.css b/web-app/src/app/styles/FAQ.css index 66dc70ff8..11539f14e 100644 --- a/web-app/src/app/styles/FAQ.css +++ b/web-app/src/app/styles/FAQ.css @@ -16,12 +16,12 @@ margin-bottom: 40px !important; } -a:not(.btn-link) { +a:not(.btn-link, .btn-link-component) { color: #000; padding: 2px; } -a:hover:not(.btn-link) { +a:hover:not(.btn-link, .btn-link-component) { background-color: #3959fa21 !important; border-radius: 5px; } diff --git a/web-app/yarn.lock b/web-app/yarn.lock index d6866db2f..c9377784d 100644 --- a/web-app/yarn.lock +++ b/web-app/yarn.lock @@ -1400,13 +1400,6 @@ resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.1.tgz" integrity sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ== -"@emotion/is-prop-valid@^0.8.2": - version "0.8.8" - resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz#db28b1c4368a259b60a97311d6a952d4fd01ac1a" - integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== - dependencies: - "@emotion/memoize" "0.7.4" - "@emotion/is-prop-valid@^1.2.1": version "1.2.1" resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.1.tgz" @@ -1414,11 +1407,6 @@ dependencies: "@emotion/memoize" "^0.8.1" -"@emotion/memoize@0.7.4": - version "0.7.4" - resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.4.tgz#19bf0f5af19149111c40d98bb0cf82119f5d9eeb" - integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== - "@emotion/memoize@^0.8.1": version "0.8.1" resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.1.tgz" @@ -2745,51 +2733,6 @@ resolved "https://registry.yarnpkg.com/@react-leaflet/core/-/core-2.1.0.tgz#383acd31259d7c9ae8fb1b02d5e18fe613c2a13d" integrity sha512-Qk7Pfu8BSarKGqILj4x7bCSZ1pjuAPZ+qmRwH5S7mDS91VSbVVsJSrW4qA+GPrro8t69gFYVMWb1Zc4yFmPiVg== -"@react-spring/animated@~9.7.4": - version "9.7.4" - resolved "https://registry.yarnpkg.com/@react-spring/animated/-/animated-9.7.4.tgz#c712b2d3dc9312ef41aa8886818b539151bda062" - integrity sha512-7As+8Pty2QlemJ9O5ecsuPKjmO0NKvmVkRR1n6mEotFgWar8FKuQt2xgxz3RTgxcccghpx1YdS1FCdElQNexmQ== - dependencies: - "@react-spring/shared" "~9.7.4" - "@react-spring/types" "~9.7.4" - -"@react-spring/core@~9.7.4": - version "9.7.4" - resolved "https://registry.yarnpkg.com/@react-spring/core/-/core-9.7.4.tgz#0eaa0b5da3d18036d87a571f23079819d45a9f46" - integrity sha512-GzjA44niEJBFUe9jN3zubRDDDP2E4tBlhNlSIkTChiNf9p4ZQlgXBg50qbXfSXHQPHak/ExYxwhipKVsQ/sUTw== - dependencies: - "@react-spring/animated" "~9.7.4" - "@react-spring/shared" "~9.7.4" - "@react-spring/types" "~9.7.4" - -"@react-spring/rafz@~9.7.4": - version "9.7.4" - resolved "https://registry.yarnpkg.com/@react-spring/rafz/-/rafz-9.7.4.tgz#d53aa45a8cb116b81b27ba29e0cc15470ccfd449" - integrity sha512-mqDI6rW0Ca8IdryOMiXRhMtVGiEGLIO89vIOyFQXRIwwIMX30HLya24g9z4olDvFyeDW3+kibiKwtZnA4xhldA== - -"@react-spring/shared@~9.7.4": - version "9.7.4" - resolved "https://registry.yarnpkg.com/@react-spring/shared/-/shared-9.7.4.tgz#8ac57505072c2aee33d77c47c4269347061a3377" - integrity sha512-bEPI7cQp94dOtCFSEYpxvLxj0+xQfB5r9Ru1h8OMycsIq7zFZon1G0sHrBLaLQIWeMCllc4tVDYRTLIRv70C8w== - dependencies: - "@react-spring/rafz" "~9.7.4" - "@react-spring/types" "~9.7.4" - -"@react-spring/types@~9.7.4": - version "9.7.4" - resolved "https://registry.yarnpkg.com/@react-spring/types/-/types-9.7.4.tgz#c849a7f062b5163d078e5e75f28c8f6acf91792e" - integrity sha512-iQVztO09ZVfsletMiY+DpT/JRiBntdsdJ4uqk3UJFhrhS8mIC9ZOZbmfGSRs/kdbNPQkVyzucceDicQ/3Mlj9g== - -"@react-spring/web@^9.4.5": - version "9.7.4" - resolved "https://registry.yarnpkg.com/@react-spring/web/-/web-9.7.4.tgz#0086ab5dcf17e6a8f3d7e7f8041ccb4cc2fa10dc" - integrity sha512-UMvCZp7I5HCVIleSa4BwbNxynqvj+mJjG2m20VO2yPoi2pnCYANy58flvz9v/YcXTAvsmL655FV3pm5fbr6akA== - dependencies: - "@react-spring/animated" "~9.7.4" - "@react-spring/core" "~9.7.4" - "@react-spring/shared" "~9.7.4" - "@react-spring/types" "~9.7.4" - "@redux-saga/core@^1.2.3": version "1.2.3" resolved "https://registry.npmjs.org/@redux-saga/core/-/core-1.2.3.tgz" @@ -7507,15 +7450,6 @@ fraction.js@^4.3.6: resolved "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz" integrity sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew== -framer-motion@^10.16.5: - version "10.18.0" - resolved "https://registry.yarnpkg.com/framer-motion/-/framer-motion-10.18.0.tgz#1f4fc51403996ea7170af885bd44a7079d255950" - integrity sha512-oGlDh1Q1XqYPksuTD/usb0I70hq95OUzmL9+6Zd+Hs4XV0oaISBa/UUMSjYiq6m8EUF32132mOJ8xVZS+I0S6w== - dependencies: - tslib "^2.4.0" - optionalDependencies: - "@emotion/is-prop-valid" "^0.8.2" - fresh@0.5.2: version "0.5.2" resolved "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz" @@ -12037,14 +11971,6 @@ re2@^1.17.7: nan "^2.18.0" node-gyp "^10.0.1" -react-animated-numbers@^0.18.0: - version "0.18.0" - resolved "https://registry.yarnpkg.com/react-animated-numbers/-/react-animated-numbers-0.18.0.tgz#276f39a1191c922d39559ba6317d2da892667a5a" - integrity sha512-o/4ho2p5B3FfXpjDpwjYwNq6fTCbHvuQbrHRRJ+SZ3g0+OVssFVIrQBTJ16pVbWXOkjtw61wgCcbJN2VZmuKzg== - dependencies: - "@react-spring/web" "^9.4.5" - framer-motion "^10.16.5" - react-app-polyfill@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/react-app-polyfill/-/react-app-polyfill-3.0.0.tgz" @@ -13842,11 +13768,6 @@ tslib@^2.0.0, tslib@^2.0.1, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.5.0, tslib@^2.6 resolved "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz" integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== -tslib@^2.4.0: - version "2.6.3" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.3.tgz#0438f810ad7a9edcde7a241c3d80db693c8cbfe0" - integrity sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ== - tsutils@^3.21.0: version "3.21.0" resolved "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz"