Skip to content

Commit 46c6154

Browse files
authored
Merge pull request #530 from nteract/safia/update-node
Update node and next.js
2 parents 3297118 + ca0788b commit 46c6154

24 files changed

+17399
-20290
lines changed

.github/workflows/ci-workflow.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ jobs:
55
runs-on: ubuntu-latest
66
steps:
77
- uses: actions/checkout@v2
8-
- uses: actions/setup-node@v1
8+
- uses: actions/setup-node@v4
99
with:
10-
node-version: '14'
10+
node-version: '18'
1111
- run: yarn
12-
- run: yarn build
12+
- run: NODE_OPTIONS=--openssl-legacy-provider yarn build
1313
- run: yarn flow

components/button/styled/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const StyledButton = styled.a.attrs({
6666
${sif("active")(css`
6767
background-color: ${colors.darkPrimaryColor};
6868
`)}
69-
${StyledButton}:not(:first-child) {
69+
&:not(:first-child) {
7070
margin-left: 12px;
7171
}
7272
`;

components/demo-video/index.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
export default () => (
2-
<video
3-
poster="/static/nteract_app_demo@2x.png"
4-
preload="auto"
5-
autoPlay
6-
muted
7-
loop="loop"
8-
>
9-
<source src="/static/nteract_app_demo@2x.mp4" type="video/mp4" />
10-
<source src="/static/nteract_app_demo@2x.webm" type="video/webm" />
11-
</video>
12-
);
1+
const Index = () => <video
2+
poster="/static/nteract_app_demo@2x.png"
3+
preload="auto"
4+
autoPlay
5+
muted
6+
loop="loop"
7+
>
8+
<source src="/static/nteract_app_demo@2x.mp4" type="video/mp4" />
9+
<source src="/static/nteract_app_demo@2x.webm" type="video/webm" />
10+
</video>;
11+
12+
export default Index;

components/head/index.js

Lines changed: 134 additions & 132 deletions
Original file line numberDiff line numberDiff line change
@@ -6,142 +6,144 @@ type HeadProps = {
66
themeColor: string
77
};
88

9-
export default ({
10-
pageTitle = ": write your next code-driven story.",
11-
themeColor = "#334865"
12-
}: HeadProps) => (
13-
<Head>
14-
<title>
15-
nteract
16-
{pageTitle}
17-
</title>
18-
<meta charSet="utf-8" />
19-
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
20-
<link rel="canonical" href="https://nteract.io/" />
21-
<link rel="author" href="humans.txt" />
9+
const Index = (
10+
{
11+
pageTitle = ": write your next code-driven story.",
12+
themeColor = "#334865"
13+
}: HeadProps
14+
) => <Head>
15+
<title>
16+
nteract
17+
{pageTitle}
18+
</title>
19+
<meta charSet="utf-8" />
20+
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
21+
<link rel="canonical" href="https://nteract.io/" />
22+
<link rel="author" href="humans.txt" />
2223

23-
<link rel="dns-prefetch" href="//nteract.io/" />
24+
<link rel="dns-prefetch" href="//nteract.io/" />
2425

25-
<link
26-
rel="apple-touch-icon"
27-
sizes="57x57"
28-
href="/static/icons/apple-icon-57x57.png"
29-
/>
30-
<link
31-
rel="apple-touch-icon"
32-
sizes="60x60"
33-
href="/static/icons/apple-icon-60x60.png"
34-
/>
35-
<link
36-
rel="apple-touch-icon"
37-
sizes="72x72"
38-
href="/static/icons/apple-icon-72x72.png"
39-
/>
40-
<link
41-
rel="apple-touch-icon"
42-
sizes="76x76"
43-
href="/static/icons/apple-icon-76x76.png"
44-
/>
45-
<link
46-
rel="apple-touch-icon"
47-
sizes="114x114"
48-
href="/static/icons/apple-icon-114x114.png"
49-
/>
50-
<link
51-
rel="apple-touch-icon"
52-
sizes="120x120"
53-
href="/static/icons/apple-icon-120x120.png"
54-
/>
55-
<link
56-
rel="apple-touch-icon"
57-
sizes="144x144"
58-
href="/static/icons/apple-icon-144x144.png"
59-
/>
60-
<link
61-
rel="apple-touch-icon"
62-
sizes="152x152"
63-
href="/static/icons/apple-icon-152x152.png"
64-
/>
65-
<link
66-
rel="apple-touch-icon"
67-
sizes="180x180"
68-
href="/static/icons/apple-icon-180x180.png"
69-
/>
70-
<link
71-
rel="icon"
72-
type="image/png"
73-
sizes="192x192"
74-
href="/static/icons/android-icon-192x192.png"
75-
/>
76-
<link
77-
rel="icon"
78-
type="image/png"
79-
sizes="32x32"
80-
href="/static/icons/favicon-32x32.png"
81-
/>
82-
<link
83-
rel="icon"
84-
type="image/png"
85-
sizes="96x96"
86-
href="/static/icons/favicon-96x96.png"
87-
/>
88-
<link
89-
rel="icon"
90-
type="image/png"
91-
sizes="16x16"
92-
href="/static/icons/favicon-16x16.png"
93-
/>
94-
<link rel="manifest" href="/static/icons/manifest.json" />
95-
<meta name="msapplication-TileColor" content="#334865" />
96-
<meta
97-
name="msapplication-TileImage"
98-
content="/static/icons/ms-icon-144x144.png"
99-
/>
100-
<meta name="theme-color" content="#334865" />
101-
<link rel="shortcut icon" href="/static/icons/favicon.ico" />
26+
<link
27+
rel="apple-touch-icon"
28+
sizes="57x57"
29+
href="/static/icons/apple-icon-57x57.png"
30+
/>
31+
<link
32+
rel="apple-touch-icon"
33+
sizes="60x60"
34+
href="/static/icons/apple-icon-60x60.png"
35+
/>
36+
<link
37+
rel="apple-touch-icon"
38+
sizes="72x72"
39+
href="/static/icons/apple-icon-72x72.png"
40+
/>
41+
<link
42+
rel="apple-touch-icon"
43+
sizes="76x76"
44+
href="/static/icons/apple-icon-76x76.png"
45+
/>
46+
<link
47+
rel="apple-touch-icon"
48+
sizes="114x114"
49+
href="/static/icons/apple-icon-114x114.png"
50+
/>
51+
<link
52+
rel="apple-touch-icon"
53+
sizes="120x120"
54+
href="/static/icons/apple-icon-120x120.png"
55+
/>
56+
<link
57+
rel="apple-touch-icon"
58+
sizes="144x144"
59+
href="/static/icons/apple-icon-144x144.png"
60+
/>
61+
<link
62+
rel="apple-touch-icon"
63+
sizes="152x152"
64+
href="/static/icons/apple-icon-152x152.png"
65+
/>
66+
<link
67+
rel="apple-touch-icon"
68+
sizes="180x180"
69+
href="/static/icons/apple-icon-180x180.png"
70+
/>
71+
<link
72+
rel="icon"
73+
type="image/png"
74+
sizes="192x192"
75+
href="/static/icons/android-icon-192x192.png"
76+
/>
77+
<link
78+
rel="icon"
79+
type="image/png"
80+
sizes="32x32"
81+
href="/static/icons/favicon-32x32.png"
82+
/>
83+
<link
84+
rel="icon"
85+
type="image/png"
86+
sizes="96x96"
87+
href="/static/icons/favicon-96x96.png"
88+
/>
89+
<link
90+
rel="icon"
91+
type="image/png"
92+
sizes="16x16"
93+
href="/static/icons/favicon-16x16.png"
94+
/>
95+
<link rel="manifest" href="/static/icons/manifest.json" />
96+
<meta name="msapplication-TileColor" content="#334865" />
97+
<meta
98+
name="msapplication-TileImage"
99+
content="/static/icons/ms-icon-144x144.png"
100+
/>
101+
<meta name="theme-color" content="#334865" />
102+
<link rel="shortcut icon" href="/static/icons/favicon.ico" />
102103

103-
<link rel="preconnect" href="https://nteract.io/" />
104-
<link rel="prefetch" href="https://nteract.io/" />
105-
<link rel="prerender" href="https://nteract.io/" />
104+
<link rel="preconnect" href="https://nteract.io/" />
105+
<link rel="prefetch" href="https://nteract.io/" />
106+
<link rel="prerender" href="https://nteract.io/" />
106107

107-
<meta
108-
name="description"
109-
content="nteract is an open source organization committed to building the future of interactive computing."
110-
/>
111-
<meta name="robots" content="index,follow,noodp" />
112-
<meta name="googlebot" content="index,follow" />
113-
<meta name="url" content="https://nteract.io/" />
114-
<meta name="coverage" content="Worldwide" />
115-
<meta name="rating" content="General" />
116-
<meta name="format-detection" content="telephone=no" />
108+
<meta
109+
name="description"
110+
content="nteract is an open source organization committed to building the future of interactive computing."
111+
/>
112+
<meta name="robots" content="index,follow,noodp" />
113+
<meta name="googlebot" content="index,follow" />
114+
<meta name="url" content="https://nteract.io/" />
115+
<meta name="coverage" content="Worldwide" />
116+
<meta name="rating" content="General" />
117+
<meta name="format-detection" content="telephone=no" />
117118

118-
<meta property="og:url" content="https://nteract.io/" />
119-
<meta property="og:type" content="website" />
120-
<meta
121-
property="og:title"
122-
content="Take your computing experience to the next level."
123-
/>
124-
<meta property="og:image" content="/static/opengraph.png" />
125-
<meta
126-
property="og:description"
127-
content="nteract is a desktop application that allows you to develop rich documents that contain prose, executable code, and images."
128-
/>
129-
<meta property="og:site_name" content="nteract" />
130-
<meta property="og:locale" content="en_US" />
119+
<meta property="og:url" content="https://nteract.io/" />
120+
<meta property="og:type" content="website" />
121+
<meta
122+
property="og:title"
123+
content="Take your computing experience to the next level."
124+
/>
125+
<meta property="og:image" content="/static/opengraph.png" />
126+
<meta
127+
property="og:description"
128+
content="nteract is a desktop application that allows you to develop rich documents that contain prose, executable code, and images."
129+
/>
130+
<meta property="og:site_name" content="nteract" />
131+
<meta property="og:locale" content="en_US" />
131132

132-
<meta
133-
name="twitter:card"
134-
content="Take your computing experience to the next level."
135-
/>
136-
<meta name="twitter:site" content="@nteract" />
137-
<meta name="twitter:url" content="https://nteract.io/" />
138-
<meta name="twitter:title" content="nteract" />
139-
<meta
140-
name="twitter:description"
141-
content="nteract is a desktop application that allows you to develop rich documents that contain prose, executable code, and images."
142-
/>
143-
<meta name="twitter:image" content="/static/opengraph.png" />
133+
<meta
134+
name="twitter:card"
135+
content="Take your computing experience to the next level."
136+
/>
137+
<meta name="twitter:site" content="@nteract" />
138+
<meta name="twitter:url" content="https://nteract.io/" />
139+
<meta name="twitter:title" content="nteract" />
140+
<meta
141+
name="twitter:description"
142+
content="nteract is a desktop application that allows you to develop rich documents that contain prose, executable code, and images."
143+
/>
144+
<meta name="twitter:image" content="/static/opengraph.png" />
144145

145-
<meta name="theme-color" content={themeColor} />
146-
</Head>
147-
);
146+
<meta name="theme-color" content={themeColor} />
147+
</Head>;
148+
149+
export default Index;

0 commit comments

Comments
 (0)