diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8b60d409a..c213c0d28 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,6 +25,11 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- + - name: Use Node.js 14.x + uses: actions/setup-node@v2 + with: + node-version: '14.x' + - name: Install deps run: yarn install diff --git a/gatsby-config.js b/gatsby-config.js index 5b297d69a..0525083fc 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -47,6 +47,13 @@ module.exports = { name: 'con2022', }, }, + { + resolve: 'gatsby-source-filesystem', + options: { + path: `${__dirname}/src/con/data/2023`, + name: 'con2023', + }, + }, { resolve: 'gatsby-source-filesystem', options: { @@ -75,6 +82,13 @@ module.exports = { name: 'speakersImages', }, }, + { + resolve: 'gatsby-source-filesystem', + options: { + path: `${__dirname}/src/con/images/2023/speakers`, + name: 'speakersImages', + }, + }, { resolve: 'gatsby-source-filesystem', options: { @@ -133,7 +147,12 @@ module.exports = { }, }, 'gatsby-plugin-image', - 'gatsby-plugin-catch-links', + { + resolve: `gatsby-plugin-catch-links`, + options: { + excludePattern: /^\/con/, + }, + }, 'gatsby-plugin-sitemap', 'gatsby-plugin-twitter', { diff --git a/package.json b/package.json index 7d3ee41a1..62e34a640 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "classnames": "^2.2.5", "dayjs": "^1.8.21", "diacritic": "^0.0.2", + "dotenv": "^16.0.3", "eject": "^0.0.4", "eslint-import-resolver-alias": "^1.1.2", "gatsby": "^2.0.91", @@ -23,7 +24,7 @@ "gatsby-plugin-remove-serviceworker": "^1.0.0", "gatsby-plugin-root-import": "^2.0.6", "gatsby-plugin-sass": "^4.14.0", - "gatsby-plugin-sharp": "^2.4.5", + "gatsby-plugin-sharp": "^4.25.1", "gatsby-plugin-sitemap": "^2.0.4", "gatsby-plugin-twitter": "^2.0.8", "gatsby-remark-external-links": "^0.0.4", diff --git a/src/components/PreheaderCon.tsx b/src/components/PreheaderCon.tsx index f89ee1937..cc995da3b 100644 --- a/src/components/PreheaderCon.tsx +++ b/src/components/PreheaderCon.tsx @@ -1,23 +1,24 @@ import React from 'react'; -import { Link } from 'gatsby'; import Logo from '@con/images/logo.svg'; import Web from '@con/components/common/Web'; import Button from './common/Button'; -const PreheaderCon: React.ComponentType = () => ( - -
The conference dedicated to API Platform and its ecosystem
-The conference dedicated to API Platform and its ecosystem
+What' new?
Sep 15,16 2022: new edition of our conference dedicated to API Platform and its ecosystem!
+Sep 21,22 2023: new edition of our conference dedicated to API Platform and its ecosystem!
{subtitle}
+Once you’re arrived in Lille, we advice you to use public transports or local bike-sharing systems.
diff --git a/src/con/components/2022/Partners/index.tsx b/src/con/components/2022/Partners/index.tsx index 5c63eea14..677d76d46 100644 --- a/src/con/components/2022/Partners/index.tsx +++ b/src/con/components/2022/Partners/index.tsx @@ -11,6 +11,8 @@ interface PartnersProps { const Partners: React.ComponentType{short}
+
Take a look at the 2022 edition and find more information on our review
- Our selected speakers will be revealed in 2023. Want to be part of them?{' '} - Contact us! + Take a look at our first amazing speaker reveal! From security and testing to best practices, our lineup of + speakers will cover a wide range of topics that you won't want to miss this September!