From 76aceaed15bb3e700e0707bc6e3dd654553bea80 Mon Sep 17 00:00:00 2001 From: Dmitry Pokidov <124110+dooman87@users.noreply.github.com> Date: Wed, 1 Jan 2025 22:09:51 +1100 Subject: [PATCH] Feedback forms --- config/conference.ts | 8 ++++---- pages/conference-feedback.tsx | 4 +--- pages/feedback.tsx | 12 +++++------- 3 files changed, 10 insertions(+), 14 deletions(-) diff --git a/config/conference.ts b/config/conference.ts index c825357b..e1a4b7a6 100644 --- a/config/conference.ts +++ b/config/conference.ts @@ -9,7 +9,7 @@ import { Venue, } from './types' import { zonedTimeToUtc } from 'date-fns-tz' -import { add, set, toDate } from 'date-fns' +import { add, set } from 'date-fns' import { MelbourneTownHall } from './venues/melbourne-town-hall' const name = 'DDD Melbourne' @@ -31,7 +31,7 @@ const presentationSubmissionsOpenUntil = zonedTimeToUtc('2024-11-01T23:59:59', t const votingOpenFrom = zonedTimeToUtc('2024-11-08T00:00:00', tz) const votingOpenUntil = zonedTimeToUtc('2024-11-20T23:59:59', tz) const agendaPublishedFrom = zonedTimeToUtc('2024-11-30T09:00:00', tz) -const feedbackOpenFrom = toDate(date) +const feedbackOpenFrom = zonedTimeToUtc('2024-11-08T00:00:00', tz) const feedbackOpenUntil = endDate const importantDates: ImportantDate[] = [ { @@ -138,8 +138,8 @@ const Conference: IConference = { FeedbackOpenFrom: feedbackOpenFrom, FeedbackOpenUntil: feedbackOpenUntil, - ConferenceFeedbackLink: 'https://forms.office.com/r/kSHPH4zqZ5', - SessionFeedbackLink: 'https://forms.office.com/r/kSHPH4zqZ5', + ConferenceFeedbackLink: '/conference-feedback', + SessionFeedbackLink: '/feedback', HideDate: hideDate, HideSponsors: false, diff --git a/pages/conference-feedback.tsx b/pages/conference-feedback.tsx index 15d36c59..6336d0c3 100644 --- a/pages/conference-feedback.tsx +++ b/pages/conference-feedback.tsx @@ -82,9 +82,7 @@ const ConferenceFeedback: NextPage = () => {
If you would like to leave feedback for a session please use{' '} - - the session feedback page - + the session feedback page
If you would like to leave feedback about the conference please use{' '} - - the conference feedback page - + the conference feedback page
{sessions.length === 0 && ( @@ -132,7 +130,7 @@ const Feedback: NextPage