From 49a871a9807b0374a8e0427fd2ef431962d1a719 Mon Sep 17 00:00:00 2001 From: Laury S Date: Tue, 23 May 2023 16:21:21 +0200 Subject: [PATCH] fix: test gatsby catch links disabled (#374) --- gatsby-config.js | 7 ++++++- src/components/PreheaderCon.tsx | 2 +- src/pages/con/2023/index.tsx | 3 --- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/gatsby-config.js b/gatsby-config.js index 4a1508b76..0525083fc 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -147,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/src/components/PreheaderCon.tsx b/src/components/PreheaderCon.tsx index 8b916256e..cc995da3b 100644 --- a/src/components/PreheaderCon.tsx +++ b/src/components/PreheaderCon.tsx @@ -5,7 +5,7 @@ import Button from './common/Button'; const PreheaderCon: React.ComponentType = () => { return ( - +
Api Platform Conference diff --git a/src/pages/con/2023/index.tsx b/src/pages/con/2023/index.tsx index d8964db57..5c91219a8 100644 --- a/src/pages/con/2023/index.tsx +++ b/src/pages/con/2023/index.tsx @@ -20,9 +20,6 @@ const Conf2023: React.ComponentType = () => { {`${TITLE}: meet the best API experts!`} - , - , -