From d6e2f09a9aef484ec0da0d119493d5ba7ef49d64 Mon Sep 17 00:00:00 2001 From: lassejaco Date: Sat, 22 Jun 2024 22:22:53 +0200 Subject: [PATCH] press and media applications --- .../layouts/header/useNavigationData.ts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/devcon/src/components/common/layouts/header/useNavigationData.ts b/devcon/src/components/common/layouts/header/useNavigationData.ts index e14d7d844..5b02e4995 100644 --- a/devcon/src/components/common/layouts/header/useNavigationData.ts +++ b/devcon/src/components/common/layouts/header/useNavigationData.ts @@ -162,6 +162,25 @@ const useNavigationData = () => { url: 'https://github.com/efdevcon/', type: 'link', }, + { + title: 'Press', + url: '#', + type: 'header', + }, + { + title: 'Press and Media', + url: 'https://forms.gle/5VmWvgb3ZaGamUXL7', + type: 'link', + }, + { + title: 'Press Kit', + url: + // Fully qualified domains because intl middleware redirects fuck it up otherwise - easiest to handle it here + process.env.NODE_ENV === 'development' + ? 'http://localhost:3000/Devcon__Devconnect_Presskit.pdf' + : 'https://devcon.org/Devcon__Devconnect_Presskit.pdf', + type: 'page', + }, ], }, { @@ -299,6 +318,11 @@ const useNavigationData = () => { url: 'https://archive.devcon.org/archive/', type: 'link', }, + { + title: 'Press and Media', + url: 'https://forms.gle/5VmWvgb3ZaGamUXL7', + type: 'link', + }, { title: 'Press Kit', url: