From b7c2a74bf58ff9c4021dcd946f397e283017514e Mon Sep 17 00:00:00 2001 From: JilianaTiu Date: Sat, 15 Oct 2022 02:03:37 -0700 Subject: [PATCH] replace About Us to Home --- src/index.ts | 11 ----------- src/public/Config.ts | 4 ++-- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/src/index.ts b/src/index.ts index e56f3eb..49a26b7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -24,14 +24,6 @@ const websites = [{ cssfile: "css/styles.css", themecolor: "" }, -{ - sitename: "about", - title: "IEEE at UCSD", - description: "", - jsfile: "js/index.js", - cssfile: "css/styles.css", - themecolor: "" -}, { sitename: "events", title: "IEEE at UCSD", @@ -83,9 +75,6 @@ app.use(express.urlencoded({extended: true})); app.get("/", (req: Request, res: Response) => { respond(res, "index"); }); -app.get("/about", (req: Request, res: Response) => { - respond(res, "about"); -}); app.get("/events", (req: Request, res: Response) => { respond(res, "events"); }); diff --git a/src/public/Config.ts b/src/public/Config.ts index 9d3d37c..2246b7c 100644 --- a/src/public/Config.ts +++ b/src/public/Config.ts @@ -1,7 +1,7 @@ // The links that are on the top nav bar that link to a lowercase version of their page export const ACTIVE_PAGES = [{ - name: "About Us", - url: "/about" + name: "Home", + url: "/" },{ name: "Events", url: "/events"