You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scrapers/nus-v2/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ This folder contains the scraper which produces our [v2 API data][api-v2] from i
6
6
7
7
## Getting Started
8
8
9
-
Node LTS is required. We use Node 16 in production.
9
+
Node LTS is required. We use Node 18 in production.
10
10
11
11
Use `yarn` to install dependencies, then set up `env.json` with all the necessary keys and API base URL, then run the test script to check the setup is okay.
Copy file name to clipboardExpand all lines: website/README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ We recommend the following development tools to help speed up your work
44
44
45
45
### Writing styles
46
46
47
-
We uses[CSS Modules][css-modules] to structure styles. This means that with the exception of a few global styles, styles for each component lives beside their source files (see [colocation](#colocation)). This allows us to write short, semantic names for styles without worrying about collision.
47
+
We use[CSS Modules][css-modules] to structure styles. This means that except for a few global styles, styles for each component lives beside their source files (see [colocation](#colocation)). This allows us to write short, semantic names for styles without worrying about collision.
@@ -86,23 +86,23 @@ Currently CSS variables are used only for colors that change under night mode.
86
86
87
87
Prefer SVG when possible. SVG images are usually smaller and more flexible. `.svg` files are loaded using [SVGR][svgr] as React components - this means you can add classnames, inline styles and other SVG attributes to the component loaded. SVGR also automatically optimizes the image.
PNG, JPEG and GIF files will be loaded using `url-loader` and can be imported as a string representing the URL of the asset after bundling. In production files smaller than 15kb will be converted into data URL
96
96
97
-
```js
97
+
```tsx
98
98
import partyParrot from 'img/gif/partyparrot.gif';
0 commit comments