Commit Graph

407 Commits

Author SHA1 Message Date
Riku Rouvila
8056d98d44 add netlify redirects file 2020-01-31 10:26:45 +02:00
Daniel Schildt
758cc875b4 fix: update npm dependencies (#64)
- Update npm dependencies to fix 1 moderate severity vulnerability
  - Path: `next > webpack > terser-webpack-plugin > serialize-javascript`

Details from the command line:

```
❯ npm audit

=== npm audit security report ===

# Run `npm update terser-webpack-plugin --depth 3` to resolve 1 vulnerability

│ Moderate      │ Cross-Site Scripting
│ Package       │ serialize-javascript
│ Dependency of │ next│
│ Path          │ next > webpack > terser-webpack-plugin >
│               │ serialize-javascript
│ More info     │ https://npmjs.com/advisories/1426

found 1 moderate severity vulnerability in 11551 scanned packages
  run `npm audit fix` to fix 1 of them.

```
2020-01-23 19:30:13 +02:00
Daniel Schildt
87f45af570 docs: improve readability (#63)
- Improve readability of the documentation
- Improve Markdown consistency
- Add more headings to clarify the document structure
- Add syntax types to code blocks to improve Markdown rendering
- Add mention that Git is required as a system wide dependency
2020-01-23 19:29:59 +02:00
Riku Rouvila
52dc8a09e3 update author email 2020-01-13 20:18:40 +02:00
Riku Rouvila
eb2f276df5 add rare to sponsors 2020-01-13 20:18:08 +02:00
Riku Rouvila
e9b95ed09e add list of most popular channels 2020-01-13 20:00:32 +02: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
Antti Lylander
bcc6619aee Input focus (#62)
* add peer dependencies for zeit and ts-pnp

* visually indicate focus on email input

* Revert "add peer dependencies for zeit and ts-pnp"

This reverts commit a13cfac8bb.
2019-11-05 09:48:33 +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
461a79ac4d Reinstate deploys (#56) 2019-10-31 01:59:29 -07: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
Aarni Koskela
db98341a51 Merge pull request #54 from koodiklinikka/a11y-lint
Accessibility lint
2019-10-30 09:50:14 +02:00
Aarni Koskela
1d76be6b79 Hint that the header video is muted, so it doesn't need a caption track 2019-10-30 09:47:41 +02:00
Aarni Koskela
af08abfcb9 Enable eslint-plugin-jsx-a11y 2019-10-30 09:46:39 +02:00
Aarni Koskela
180fb3b628 Merge pull request #53 from J-Kallunki/fix-accessibility-issues
Fix accessibility issues
2019-10-30 09:43:38 +02: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
Joonas Kallunki
bcdc6ab9d1 Add missing correct lang-attribute 2019-10-30 06:20:46 +02:00
Joonas Kallunki
78de61889e Make alt-tags more descriptive 2019-10-30 06:20:25 +02:00
Joonas Kallunki
33f1ec6f00 Fix logo url-path and add alt description 2019-10-30 06:19:49 +02:00
Aarni Koskela
ad513e6d9c Optimize Idean logo 2019-10-26 09:57:41 +03:00
Niklas Lepistö
6dd41d5b2f Add Idean logo to sponsors due to recently sponsoring a meetup 2019-10-26 09:56:40 +03:00
Petri Partio
d62e224d4c Make sponsor links to use https protocol 2019-10-25 09:41:55 +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
543c1311ad Travis: run lint before build 2019-10-24 18:25:48 +03:00
Aarni Koskela
5a42210194 Add prettify command and run it 2019-10-24 18:25:48 +03:00
Aarni Koskela
ff33224216 Merge pull request #44 from tristola/nextjs
Refactoring patient projects
2019-10-24 18:12:33 +03:00
Toni Ristola
82ebbe0d92 moved project data under different folder 2019-10-24 18:03:49 +03:00
Aarni Koskela
4855428d75 Merge pull request #42 from akx/nextjs
Become next.js
2019-10-24 17:35:17 +03:00
Aarni Koskela
f01bea2704 Address some review comments 2019-10-24 17:34:20 +03:00
Aarni Koskela
959d6b86c5 Disable Travis deploy for the time being 2019-10-24 17:32:32 +03:00
Toni Ristola
2ea81dad3c Refactoring patient projects 2019-10-24 17:29:38 +03:00
Aarni Koskela
d996b7b943 Optimize all images 2019-09-23 16:58:23 +03:00
Aarni Koskela
1a57117749 Regenerate lockfile; bump Axios to non-vulnerable version 2019-09-23 16:50:56 +03:00
Aarni Koskela
d3c27df5a9 Remove unused proptypes dep 2019-09-23 16:38:22 +03:00
Aarni Koskela
a0dc44b133 Fix up build commands 2019-09-23 16:37:20 +03:00
Aarni Koskela
186f8744ff Reinstate linting, fix kvetches 2019-09-23 16:25:42 +03:00
Aarni Koskela
ed0826a53a Add next-ga for Google Analytics 2019-09-23 16:21:58 +03:00
Aarni Koskela
a671acdf06 Reinstate Twitter icons 2019-09-23 16:15:37 +03:00
Aarni Koskela
e3c256d61c Get rid of legacy JS 2019-09-23 16:05:11 +03:00
Aarni Koskela
e3c8a8ab0e Prettier legacy JS 2019-09-23 15:54:16 +03:00