Commit graph

61 commits

Author SHA1 Message Date
f775d4ac26 bootstrap: home carousel jQuery plugin -> react-bootstrap <Carousel>
Second (last) jQuery/BS4 JS blocker to the BS5 CSS swap. Replaces the
`bootstrap-carousel-swipe` jQuery plugin + `$(...).carousel()` init with
react-bootstrap's <Carousel> (native swipe, no jQuery) for both home carousels.

- Preserves the progressive `.lazy` background mechanism (blur -> full image on
  slide-in): the old `slide.bs.carousel` handler becomes <Carousel onSlide>,
  which marks the incoming index in component state.
- Keeps all per-slide class hooks (carousel-item-N, carousel-snd-item-N).
- CSS ports in Index-custom.scss for react-bootstrap's BS5 markup: indicators
  render as <button> (not <li>), and prev/next labels use .visually-hidden
  (BS4 had .sr-only) -> add a shim so labels stay hidden on current BS4 CSS.
- Drops the now-unused bootstrap-carousel-swipe dependency.

Full-app build boots clean. Needs a visual staging check of the home page.
2026-07-22 00:13:10 +02:00
12bdbe8fed deps: i18next 10 -> 23, react-i18next 7 -> 14
Modernizes the whole i18n stack:
- 48 translate([], {wait:true}) / translate() HOCs -> withTranslation()
- react.wait:true -> react.useSuspense:false
- whitelist -> supportedLngs; added compatibilityJSON: 'v3' so our
  natural-language keys + v3 _plural layout keep working (custom
  separators ss/eth/dj preserved)
- backends: xhr -> i18next-http-backend (client), sync-fs ->
  i18next-fs-backend (server); dropped i18next-localstorage-cache
  (was enabled:false); languagedetector 2 -> 8
- ReSendEmail: <Interpolate> (removed in v10) -> <Trans values={{email}}/>,
  dropped the removed bare t export
- saveMissing handler signature (lngs, ns, key, fallbackValue)

Silences the per-component Translate/I18n legacy-context warnings.
Browser-verified es/en switch and <Trans> interpolation on /fires;
REST smoke byte-identical.
2026-07-18 06:28:41 +02:00
f1eae84e25 deps: react-helmet -> react-helmet-async 2
react-helmet 5 is unmaintained and breaks under React 18 StrictMode.
Same <Helmet> API in the 15 pages; HelmetProvider wraps <App/> in the
client entry. Browser-verified: per-page titles, meta description and
hreflang alternates all inject. REST smoke byte-identical.
2026-07-18 06:14:14 +02:00
f51acf4d78 deps: drop dead npm packages (reactstrap, sidebarv2, hash-link, pure-render-mixin)
None of them is imported anywhere: reactstrap 5.0.0-alpha.3 was never
adopted (react-bootstrap covers the UI), react-leaflet-sidebarv2 and
react-addons-pure-render-mixin were never used, and react-router-hash-link
only survived as a commented-out import in Index.js.
2026-07-18 06:02:49 +02:00
c6c22643c1 scss: migrate @import -> @use, lighten/darken -> color.adjust (dart-sass)
Silences the dart-sass deprecation warnings that flooded every build:
- All @import of local partials (colors, mixins, and the CSS-emitting
  partials) -> @use '...' as * (partials are pure defs, so 'as *' keeps the
  global names and the ~25 call sites unchanged). Added explicit @use './colors'
  to bootstrap-overrides.scss and cookies-eu.scss, which used -palette*
  transitively (broke under @use's scoping).
- lighten(c, x%) -> color.adjust(c, $lightness: x%) and darken -> negative,
  with @use 'sass:color' in the 6 affected files.
Compiles clean (byte-for-byte CSS behavior preserved).
2026-07-17 18:18:04 +02:00
vjrj
3f8bc3666b Fixed index DOM warning. Google Play btn height 2018-11-18 13:08:36 +01:00
Vicente J. Ruiz Jurado
ffef42d19a Added play button 2018-08-15 07:26:39 +02:00
vjrj
9502ea3604 Remove blur on first home slide 2018-05-10 22:43:14 +02:00
vjrj
2d19778553 Fallback moved. Index points to telegran en bot 2018-05-10 09:00:05 +02:00
vjrj
9d68b1e6c1 Trying to add blur and lazy to slides 2018-05-08 12:31:30 +02:00
vjrj
53c81e4f15 Reorder imports 2018-05-08 11:20:48 +02:00
vjrj
b4afa820ab Added webp images for faster home load 2018-05-08 11:12:48 +02:00
vjrj
71c6cf20d7 Removed fragment, added key to Index 2018-03-03 08:40:58 +01:00
vjrj
84ab9f9cdc Move simple icon where used 2018-02-20 09:29:24 +01:00
vjrj
9115063cdd Update carousel swipe 2018-02-18 17:34:13 +01:00
vjrj
9e4815d8b8 Link to tranlator 2018-02-13 09:38:58 +01:00
vjrj
8a6584acb9 Fix for participe btn 2018-02-12 14:57:13 +01:00
vjrj
cd80d72e32 Added share it 2018-02-12 12:18:50 +01:00
vjrj
eca58df6c2 Fire popupsand active/archive urls 2018-02-08 11:15:23 +01:00
vjrj
6870de4c7b Style and text minor changes in home 2018-02-08 00:00:53 +01:00
vjrj
5dd6a477c0 Minor css changes in home 2018-02-07 19:31:14 +01:00
vjrj
be10650150 New home slides 2018-02-07 18:26:09 +01:00
vjrj
a1138c8c43 More work with titles & descriptions 2018-02-07 10:00:31 +01:00
vjrj
81acc255d7 Added meta management via react-helmet 2018-01-30 19:10:37 +01:00
vjrj
40bc9e2f24 More work in fire messages. Home style on desktop improved 2018-01-29 20:22:01 +01:00
vjrj
e4b0135953 Minor style fixes 2018-01-26 13:38:38 +01:00
vjrj
9fafc17749 Partipe btn and link 2018-01-25 16:53:50 +01:00
vjrj
96bb7e6a3b More work with home 2018-01-25 16:17:05 +01:00
vjrj
d39fcd7a14 Added carrousel swipe 2018-01-25 15:54:51 +01:00
vjrj
ce18aab493 Style improvements in home, navigation, and footer 2018-01-25 12:54:01 +01:00
vjrj
3a85cfacf2 Fix home style issues 2018-01-24 20:21:42 +01:00
vjrj
3eeb14e30e Added SubscriptionsMap 2018-01-24 16:52:07 +01:00
vjrj
b5d984de6f Update github page 2018-01-24 11:43:29 +01:00
vjrj
c260363248 Style improvements in home 2018-01-24 11:09:31 +01:00
vjrj
2e39c4eb52 Remove active fires in home for mobiles 2018-01-24 10:29:11 +01:00
vjrj
952431d296 Pages (terms/tos/privacy), comments improvements, etc 2018-01-21 20:53:21 +01:00
vjrj
cd16f45d8e Style improvements for mobile 2018-01-19 11:04:14 +01:00
vjrj
67a2dfbd42 Index reorder 2018-01-09 13:13:59 +01:00
vjrj
e3eddd6b85 Many improvements in SelectionMap 2017-12-21 10:57:00 +01:00
vjrj
497724443f More work with subscriptions 2017-12-18 03:16:06 +01:00
vjrj
316e14f0ea Added subs management (wip) 2017-12-16 18:47:08 +01:00
vjrj
45c6727bec Lint fixes 2017-12-14 10:14:38 +01:00
vjrj
b1c9aad0ea More work in home 2017-12-11 12:30:35 +01:00
vjrj
9fd889f77f Improved home page 2017-12-11 11:08:52 +01:00
vjrj
441dfa4c62 More work in home, footer, new credits page 2017-12-11 07:56:54 +01:00
vjrj
b6b8f893e3 Gkey improved. New pages. Home improved based in startbootstrap 2017-12-10 03:32:12 +01:00
vjrj
2e36c9cd17 Improved FiresMap (makers checkbox, better calcs, etc) 2017-12-03 16:54:24 +01:00
vjrj
fe7a314d92 Added geolocation. Improved map subs. FireMap page 2017-12-01 21:18:10 +01:00
vjrj
0b4f895506 Map of active fires 2017-12-01 13:33:24 +01:00
vjrj
a31f26f32b Participa uppercase 2017-11-29 13:38:24 +01:00