Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update node and next.js #530

Merged
merged 6 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: '14'
node-version: '18'
- run: yarn
- run: yarn build
- run: NODE_OPTIONS=--openssl-legacy-provider yarn build
- run: yarn flow
2 changes: 1 addition & 1 deletion components/button/styled/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const StyledButton = styled.a.attrs({
${sif("active")(css`
background-color: ${colors.darkPrimaryColor};
`)}
${StyledButton}:not(:first-child) {
&:not(:first-child) {
margin-left: 12px;
}
`;
Expand Down
24 changes: 12 additions & 12 deletions components/demo-video/index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
export default () => (
<video
poster="/static/[email protected]"
preload="auto"
autoPlay
muted
loop="loop"
>
<source src="/static/nteract_app_demo@2x.mp4" type="video/mp4" />
<source src="/static/[email protected]" type="video/webm" />
</video>
);
const Index = () => <video
poster="/static/[email protected]"
preload="auto"
autoPlay
muted
loop="loop"
>
<source src="/static/[email protected]" type="video/mp4" />
<source src="/static/nteract_app_demo@2x.webm" type="video/webm" />
</video>;

export default Index;
266 changes: 134 additions & 132 deletions components/head/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,142 +6,144 @@ type HeadProps = {
themeColor: string
};

export default ({
pageTitle = ": write your next code-driven story.",
themeColor = "#334865"
}: HeadProps) => (
<Head>
<title>
nteract
{pageTitle}
</title>
<meta charSet="utf-8" />
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
<link rel="canonical" href="https://nteract.io/" />
<link rel="author" href="humans.txt" />
const Index = (
{
pageTitle = ": write your next code-driven story.",
themeColor = "#334865"
}: HeadProps
) => <Head>
<title>
nteract
{pageTitle}
</title>
<meta charSet="utf-8" />
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
<link rel="canonical" href="https://nteract.io/" />
<link rel="author" href="humans.txt" />

<link rel="dns-prefetch" href="//nteract.io/" />
<link rel="dns-prefetch" href="//nteract.io/" />

<link
rel="apple-touch-icon"
sizes="57x57"
href="/static/icons/apple-icon-57x57.png"
/>
<link
rel="apple-touch-icon"
sizes="60x60"
href="/static/icons/apple-icon-60x60.png"
/>
<link
rel="apple-touch-icon"
sizes="72x72"
href="/static/icons/apple-icon-72x72.png"
/>
<link
rel="apple-touch-icon"
sizes="76x76"
href="/static/icons/apple-icon-76x76.png"
/>
<link
rel="apple-touch-icon"
sizes="114x114"
href="/static/icons/apple-icon-114x114.png"
/>
<link
rel="apple-touch-icon"
sizes="120x120"
href="/static/icons/apple-icon-120x120.png"
/>
<link
rel="apple-touch-icon"
sizes="144x144"
href="/static/icons/apple-icon-144x144.png"
/>
<link
rel="apple-touch-icon"
sizes="152x152"
href="/static/icons/apple-icon-152x152.png"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="/static/icons/apple-icon-180x180.png"
/>
<link
rel="icon"
type="image/png"
sizes="192x192"
href="/static/icons/android-icon-192x192.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/static/icons/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="96x96"
href="/static/icons/favicon-96x96.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/static/icons/favicon-16x16.png"
/>
<link rel="manifest" href="/static/icons/manifest.json" />
<meta name="msapplication-TileColor" content="#334865" />
<meta
name="msapplication-TileImage"
content="/static/icons/ms-icon-144x144.png"
/>
<meta name="theme-color" content="#334865" />
<link rel="shortcut icon" href="/static/icons/favicon.ico" />
<link
rel="apple-touch-icon"
sizes="57x57"
href="/static/icons/apple-icon-57x57.png"
/>
<link
rel="apple-touch-icon"
sizes="60x60"
href="/static/icons/apple-icon-60x60.png"
/>
<link
rel="apple-touch-icon"
sizes="72x72"
href="/static/icons/apple-icon-72x72.png"
/>
<link
rel="apple-touch-icon"
sizes="76x76"
href="/static/icons/apple-icon-76x76.png"
/>
<link
rel="apple-touch-icon"
sizes="114x114"
href="/static/icons/apple-icon-114x114.png"
/>
<link
rel="apple-touch-icon"
sizes="120x120"
href="/static/icons/apple-icon-120x120.png"
/>
<link
rel="apple-touch-icon"
sizes="144x144"
href="/static/icons/apple-icon-144x144.png"
/>
<link
rel="apple-touch-icon"
sizes="152x152"
href="/static/icons/apple-icon-152x152.png"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="/static/icons/apple-icon-180x180.png"
/>
<link
rel="icon"
type="image/png"
sizes="192x192"
href="/static/icons/android-icon-192x192.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/static/icons/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="96x96"
href="/static/icons/favicon-96x96.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/static/icons/favicon-16x16.png"
/>
<link rel="manifest" href="/static/icons/manifest.json" />
<meta name="msapplication-TileColor" content="#334865" />
<meta
name="msapplication-TileImage"
content="/static/icons/ms-icon-144x144.png"
/>
<meta name="theme-color" content="#334865" />
<link rel="shortcut icon" href="/static/icons/favicon.ico" />

<link rel="preconnect" href="https://nteract.io/" />
<link rel="prefetch" href="https://nteract.io/" />
<link rel="prerender" href="https://nteract.io/" />
<link rel="preconnect" href="https://nteract.io/" />
<link rel="prefetch" href="https://nteract.io/" />
<link rel="prerender" href="https://nteract.io/" />

<meta
name="description"
content="nteract is an open source organization committed to building the future of interactive computing."
/>
<meta name="robots" content="index,follow,noodp" />
<meta name="googlebot" content="index,follow" />
<meta name="url" content="https://nteract.io/" />
<meta name="coverage" content="Worldwide" />
<meta name="rating" content="General" />
<meta name="format-detection" content="telephone=no" />
<meta
name="description"
content="nteract is an open source organization committed to building the future of interactive computing."
/>
<meta name="robots" content="index,follow,noodp" />
<meta name="googlebot" content="index,follow" />
<meta name="url" content="https://nteract.io/" />
<meta name="coverage" content="Worldwide" />
<meta name="rating" content="General" />
<meta name="format-detection" content="telephone=no" />

<meta property="og:url" content="https://nteract.io/" />
<meta property="og:type" content="website" />
<meta
property="og:title"
content="Take your computing experience to the next level."
/>
<meta property="og:image" content="/static/opengraph.png" />
<meta
property="og:description"
content="nteract is a desktop application that allows you to develop rich documents that contain prose, executable code, and images."
/>
<meta property="og:site_name" content="nteract" />
<meta property="og:locale" content="en_US" />
<meta property="og:url" content="https://nteract.io/" />
<meta property="og:type" content="website" />
<meta
property="og:title"
content="Take your computing experience to the next level."
/>
<meta property="og:image" content="/static/opengraph.png" />
<meta
property="og:description"
content="nteract is a desktop application that allows you to develop rich documents that contain prose, executable code, and images."
/>
<meta property="og:site_name" content="nteract" />
<meta property="og:locale" content="en_US" />

<meta
name="twitter:card"
content="Take your computing experience to the next level."
/>
<meta name="twitter:site" content="@nteract" />
<meta name="twitter:url" content="https://nteract.io/" />
<meta name="twitter:title" content="nteract" />
<meta
name="twitter:description"
content="nteract is a desktop application that allows you to develop rich documents that contain prose, executable code, and images."
/>
<meta name="twitter:image" content="/static/opengraph.png" />
<meta
name="twitter:card"
content="Take your computing experience to the next level."
/>
<meta name="twitter:site" content="@nteract" />
<meta name="twitter:url" content="https://nteract.io/" />
<meta name="twitter:title" content="nteract" />
<meta
name="twitter:description"
content="nteract is a desktop application that allows you to develop rich documents that contain prose, executable code, and images."
/>
<meta name="twitter:image" content="/static/opengraph.png" />

<meta name="theme-color" content={themeColor} />
</Head>
);
<meta name="theme-color" content={themeColor} />
</Head>;

export default Index;
Loading
Loading