From e10ce0808c38b40119be56d63de6a8e37c21b50a Mon Sep 17 00:00:00 2001 From: Sarani Mendis Date: Mon, 23 Oct 2023 14:25:02 +0530 Subject: [PATCH] Fix mobile nav & banner expiration --- _data/events.json | 2 +- components/common/top-nav/TopNav.js | 2 +- pages/learn/references/ballerina-specifications.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_data/events.json b/_data/events.json index dd3d08ef746..18fe9cb8a73 100644 --- a/_data/events.json +++ b/_data/events.json @@ -36,7 +36,7 @@ "date": "October 1-31, 2023", "day": "", "time": "", - "expire": "2023-11-31T00:00:00.0000-00:00", + "expire": "2023-11-01T00:00:00.0000-00:00", "location": "Virtual", "url": "https://ballerina.io/hacktoberfest/", "eventType": "Hacktoberfest 2023", diff --git a/components/common/top-nav/TopNav.js b/components/common/top-nav/TopNav.js index 01a44b1472d..2718a26a171 100644 --- a/components/common/top-nav/TopNav.js +++ b/components/common/top-nav/TopNav.js @@ -59,7 +59,7 @@ const TopNav = (props) => { const now = new Date(); let showBanner = false; - if (now < Date.parse('2023-10-31T00:00:00.0000-00:00')) { + if (now < Date.parse('2023-11-01T00:00:00.0000-00:00')) { showBanner = true; } diff --git a/pages/learn/references/ballerina-specifications.js b/pages/learn/references/ballerina-specifications.js index 8238a565ec5..8baf194061b 100644 --- a/pages/learn/references/ballerina-specifications.js +++ b/pages/learn/references/ballerina-specifications.js @@ -124,7 +124,7 @@ export default function PostPage({ frontmatter, content, id }) {