52 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
Akira Taguchi
fa9a15fb68 Update URL of CoC 2025-06-02 13:10:23 +03:00
Petri Partio
adadf8eba2 chore: upgrade dependencies 2025-03-24 09:05:50 +02:00
Petri Partio
79be4c4120 refactor: use <Link> instead of <a> 2024-11-19 10:23:47 +02:00
Petri Partio
56639010e8 style: run prettier 2024-09-25 23:35:00 +03:00
Petri Partio
c9eb8798ea feat: make form input a bit prettier 2024-06-02 23:29:21 +03:00
Petri Partio
a834902631 change nav divider opacity a bit 2024-06-02 23:04:36 +03:00
Petri Partio
950f5776a9 fix: yet another change to tackle mismatch between ssr and client side :D 2024-05-31 14:29:48 +03:00
Petri Partio
fd05d0d609 fix: use a fixed brightness value in ssr 2024-05-31 14:18:39 +03:00
Petri Partio
d646681fe3 fix: useEffect depencies 2024-05-31 14:18:14 +03:00
Petri Partio
93eba92f0c fix: top fade should be calculated on first render too
if page had been scrolled and refreshed the wrong initial value was used
2024-05-31 14:06:35 +03:00
Petri Partio
ba41f50828 fix: small padding issue on bigger screens 2024-05-31 13:59:15 +03:00
Petri Partio
7c6aa82617 fix: revert nav padding changes on bigger screens 2024-05-31 13:55:02 +03:00
Petri Partio
70411c9e17 ux: improve nav touch target sizes on smaller screens 2024-05-31 13:51:54 +03:00
Petri Partio
90b79610bb fix: improve logo quality
seems like nextjs’ image component affects the quality of an svg…
2024-05-31 13:51:19 +03:00
Petri Partio
8d72508b66 feat: make nav bg darker when scrolling 2024-05-31 13:27:00 +03:00
Petri Partio
154a57d912 fix: hamburger nav position on different breakpoints 2024-05-30 19:06:59 +03:00
Petri Partio
0c253cc7e2 ux: make logo in nav link to root 2024-05-30 19:01:30 +03:00
Petri Partio
4594819346 feat: show confetti after successful invite 2024-05-30 19:01:13 +03:00
Petri Partio
5c93c49d31 refactor: use finnish words in navigation 2024-05-30 18:18:32 +03:00
Aarni Koskela
4dd8511321 Gently tweak new layout (#105)
* fix: give top nav links a bit more hit area and breathing room

* fix: disable inadvertent selection on COC checkbox
2024-05-30 17:59:29 +03: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
Riku Rouvila
a00450dfb5 migrate koodiklinikka backend to fly.io 2022-09-25 11:49:59 +03:00
Aarni Koskela
b03519ec5f Remove font-awesome 2022-02-11 15:51:58 +02:00
Aarni Koskela
ede079cd1f Run prettier 2022-02-11 15:30:11 +02:00
Aarni Koskela
fa188b6556 Modernize ESlint config 2022-02-11 15:30:10 +02:00
Aarni Koskela
648798e11f Yarn upgrade all the things 2022-02-11 14:49:11 +02:00
Riku Rouvila
3dce6e19b1 Render channel list dynamically based on channel activity (#80)
* render channel list dynamically based on channel activity

* rename slack message markdown transformer

* add hashtag before rendered channel names

* tune styles and add secondary channel listing

* remove emoji-dictionary
2020-10-02 12:59:39 +03:00
Olavi Haapala
ca5b251c7c Fix some performance issues
* Remove render blocking stripe JS that seems unnecessary
* Use native lazy loading of images
  - Truly a progressive enhancement, only affects browsers that support it
  - Causes a warning: [Intervention] An <img> element was lazyloaded with loading=lazy, but had no dimensions specified. Specifying dimensions improves performance. See https://crbug.com/954323, which can not be easily fixed
* Render content first, hydrate after that
2020-09-22 21:46:25 +03:00
Aarni Koskela
691aac0351 Fix prettify script and run prettier 2020-09-22 18:25:39 +03:00
Riku Rouvila
3ecaf01495 update input styles and simplify the html structure 2020-09-22 17:50:26 +03:00
Riku Rouvila
d4411b4579 handle already_in_team error properly 2020-01-13 19:26:09 +02:00
Riku Rouvila
22eb942ce7 fix api address 2020-01-13 18:43:50 +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
Olavi Haapala
663adf80ee Fix Warning: Each child in a list should have a unique "key" prop. (#59)
Sponsors don't have ids – name is probably unique and can be used as a key
2019-11-03 00:22:52 +02:00
Petri Partio
06614f7a6f Fix sponsor logos sizing/placement (#57) 2019-11-02 15:08:18 +02:00
Aarni Koskela
dcf26deb0f Upgrade dependencies, etc. (#55)
* Run prettify

* Upgrade dependencies and switch out some libraries:

* timeago (freshly jquery dependent) -> ReactTimeAgo
* next-ga -> react-ga and custom plumbing

* Move static/ to public/static/

As per https://github.com/zeit/next.js/blob/master/errors/static-dir-deprecated.md

* Fix cons->icons typo

* Import only what's necessary from lodash (223 -> 180 kb)

* Asyncify MembershipInfoForm
2019-10-30 11:05:08 -07:00
Joonas Kallunki
080acb3319 Fix accessibility of links not containing any text information 2019-10-30 08:27:37 +02:00
Joonas Kallunki
4b213ad551 Fix accessibility of email-input
Placeholder is not accessible https://www.smashingmagazine.com/2018/06/placeholder-attribute/

Using label and styling using empty placeholder with :placeholder-shown
2019-10-30 07:34:32 +02:00
Joonas Kallunki
d74fe945e6 Fix accessibility of twitter feed user images by hiding them from screenreader
Username handle and url are also presented at the list content itself
2019-10-30 06:24:41 +02:00
Joonas Kallunki
9cdb0849a2 Make members icons image list hidden from screenreader and non focusable 2019-10-30 06:21:58 +02:00
Niklas Lepistö
6dd41d5b2f Add Idean logo to sponsors due to recently sponsoring a meetup 2019-10-26 09:56:40 +03:00
Toni Ristola
125abe45d9 refactored sponsor data into directory data 2019-10-25 09:37:44 +03:00
Aarni Koskela
76424448ec Get rid of noopener/noreferrer kvetches 2019-10-24 18:44:21 +03:00
Aarni Koskela
29c596510f Refactor sponsors in footer 2019-10-24 18:44:21 +03:00
Aarni Koskela
d5e46a40f2 Codemod vars to const/let 2019-10-24 18:44:21 +03:00
Aarni Koskela
7deb14d14a Refactor .then()s to async functions 2019-10-24 18:44:21 +03:00
Aarni Koskela
5a42210194 Add prettify command and run it 2019-10-24 18:25:48 +03:00
Aarni Koskela
f01bea2704 Address some review comments 2019-10-24 17:34:20 +03:00
Aarni Koskela
186f8744ff Reinstate linting, fix kvetches 2019-09-23 16:25:42 +03:00