From 7ed447f7f4e8523ed03fc6f6815e3b8b2482fc99 Mon Sep 17 00:00:00 2001 From: JilianaTiu Date: Sat, 15 Oct 2022 01:31:40 -0700 Subject: [PATCH] Contact Us hyperlink to bottom of page --- src/index.ts | 2 +- src/public/committees.tsx | 2 +- src/public/index.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index e56f3eb..e4c57a6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -96,7 +96,7 @@ app.get("/committees", (req: Request, res: Response) => { respond(res, "committees"); }); app.get("/contact", (req: Request, res: Response) => { - respond(res, "contact"); + res.sendFile(__dirname + "/#contact-us"); }); /** diff --git a/src/public/committees.tsx b/src/public/committees.tsx index ba8ee9b..428df50 100644 --- a/src/public/committees.tsx +++ b/src/public/committees.tsx @@ -35,7 +35,7 @@ class Main extends React.Component { -
+
{ [...EMAIL, ...SOCIALS].map(n => ( diff --git a/src/public/index.tsx b/src/public/index.tsx index 6b08a96..5f57679 100644 --- a/src/public/index.tsx +++ b/src/public/index.tsx @@ -40,7 +40,7 @@ class Main extends React.Component {
-
+
{ [...EMAIL, ...SOCIALS].map(n => (