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 => (