From 719f72c03228bf8212b78ea668f5ca3364b0e630 Mon Sep 17 00:00:00 2001 From: Michael Fatemi Date: Wed, 6 Jan 2021 15:00:09 -0500 Subject: [PATCH] Add constants.ts --- src/lib/constants.ts | 8 ++++++++ src/pages/feedback.tsx | 6 ++---- src/pages/involved.tsx | 5 ++++- src/pages/mission.tsx | 6 ++---- 4 files changed, 16 insertions(+), 9 deletions(-) create mode 100644 src/lib/constants.ts diff --git a/src/lib/constants.ts b/src/lib/constants.ts new file mode 100644 index 0000000..fddfa23 --- /dev/null +++ b/src/lib/constants.ts @@ -0,0 +1,8 @@ +export const SGA_CALENDAR_URL = + 'https://calendar.google.com/calendar/u/0/embed?src=mbftfg4hu7i8ueqrgcb5o7hc6k@group.calendar.google.com&ctz=America/New_York'; +export const SGA_NEWSLETTER_EMBED_URL = + 'https://us2.campaign-archive.com/home/?u=134be29b2a12819f7bfe30a34&id=6620cb91e2'; +export const SGA_FEEDBACK_FORM_URL = + 'https://docs.google.com/forms/d/e/1FAIpQLSeO8CN666WSb-jw0johyLMLb00rFz-bCtXaPeWpTSvbSqBBLw/viewform?embedded=true'; +export const SGA_PREVIOUS_LEADERSHIP_URL = + 'https://docs.google.com/spreadsheets/d/1a3RYdqrDi1IPG9BKWQ2xhoX3YCPQKUl_FsRLvIVEMPg/edit?usp=drive_open&ouid=0'; diff --git a/src/pages/feedback.tsx b/src/pages/feedback.tsx index c8c9fd2..470a382 100644 --- a/src/pages/feedback.tsx +++ b/src/pages/feedback.tsx @@ -1,8 +1,6 @@ import React from 'react'; import Hero from '../components/Hero'; - -const feedbackFormURL = - 'https://docs.google.com/forms/d/e/1FAIpQLSeO8CN666WSb-jw0johyLMLb00rFz-bCtXaPeWpTSvbSqBBLw/viewform?embedded=true'; +import { SGA_FEEDBACK_FORM_URL } from '../lib/constants'; export default function FeedbackPage() { return ( @@ -10,7 +8,7 @@ export default function FeedbackPage() {