Commit Graph

6 Commits

Author SHA1 Message Date
Petri Partio
0db0e45239 chore: update dependencies
- Replace `next lint` with `eslint .` (next lint removed in v16)
- Migrate to ESLint flat config format
- Fix React 19 purity errors in FeatureImage and TopFade components
- Update components for Next.js 16 compatibility
2025-12-02 10:30:34 +02:00
Petri Partio
967b52d8b1 chore: update target to ES2017 2024-11-19 10:40:09 +02:00
Petri Partio
33f35b4a5a feat: new design for koodiklinikka.fi
Co-authored-by: Aarni Koskela <akx@iki.fi>
2024-05-30 16:19:26 +03:00
Antti Pitkänen
2791108118 Hide frontpage channel descriptions (#100)
* Prettier changes (NFC)

* Change: hide frontpage channel descriptions

* Discussion here: https://koodiklinikka.slack.com/archives/C6P893LFK/p1677587646981509
* tl;dr: Hiding the channel topics as those cannot really be controlled or made sure to be representative on the website
* Change the stylings to accommodate this
* Note that it seems to me at least that the channels are fetched and populated during build time, not in runtime, and thus the data is effectively stale (more in the linked thread), and this does nothing to fix that
2023-03-01 09:07:56 +02:00
Aarni Koskela
592886621d Migrate Stylus to SCSS 2022-02-11 15:51:58 +02:00
Olavi Haapala
f4474523ad Chore/convert to typescript (#60)
* Convert to using TypeScript

Next.js v.9 allows converting an existing project to TS by simply renaming the files as TS files

* Fix type errors: Type 'string' is not assignable to type 'number'.

* Add mention about missing typings for javascript-time-ago

* Add GA_INITIALIZED to window

* Fix type error in feed transformers

* Model MembershipInfoForm state and props with TS

* Silence the typescript warning in MembershipInfoForm

* Add threshold to Fader props

* Fix Warning: Each child in a list should have a unique "key" prop.

Sponsors don't have ids – name is probably unique and can be used as a key

* Allow key as prop for SponsorLink

* Add type of the props for SponsorLink
2019-11-07 07:28:02 +02:00