From 3b74378826215742bc0b20e69f7da978a9b3cd8e Mon Sep 17 00:00:00 2001 From: Ayush Shah <2ayush@gmail.com> Date: Thu, 9 Oct 2025 17:04:30 -0700 Subject: [PATCH 1/4] Renamed weeks --- pages/hack-school/_meta.json | 10 +++++----- pages/hack-school/deployment.mdx | 2 +- pages/hack-school/express.mdx | 2 +- pages/hack-school/mongodb.mdx | 2 +- pages/hack-school/react.mdx | 2 +- pages/hack-school/week1.mdx | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pages/hack-school/_meta.json b/pages/hack-school/_meta.json index 1d980a4..707c318 100644 --- a/pages/hack-school/_meta.json +++ b/pages/hack-school/_meta.json @@ -3,9 +3,9 @@ "logistics": "Hack School Logistics", "tools": "Developer Tools", "git-github": "Git/GitHub", - "week1": "Week 1: HTML, CSS, and JavaScript", - "react": "Week 2: React and Next.js", - "mongodb": "Week 3: Databases with MongoDB", - "express": "Week 4: APIs with Express", - "deployment": "Week 5: Debugging and Deployment" + "week1": "Week 0: HTML, CSS, and JavaScript", + "react": "Week 1: React and Next.js", + "mongodb": "Week 2: Databases with MongoDB", + "express": "Week 3: APIs with Express", + "deployment": "Week 4: Debugging and Deployment" } \ No newline at end of file diff --git a/pages/hack-school/deployment.mdx b/pages/hack-school/deployment.mdx index c798656..578e287 100644 --- a/pages/hack-school/deployment.mdx +++ b/pages/hack-school/deployment.mdx @@ -1,4 +1,4 @@ -# Week 5: Debugging and Deployment +# Week 4: Debugging and Deployment ## What is deployment? diff --git a/pages/hack-school/express.mdx b/pages/hack-school/express.mdx index d3462da..118ac16 100644 --- a/pages/hack-school/express.mdx +++ b/pages/hack-school/express.mdx @@ -1,4 +1,4 @@ -# Week 4: Building APIs with Express.js +# Week 3: Building APIs with Express.js ## What is Express? [Express](https://expressjs.com) is a web application framework for Node.js that enables developers to start a local server and develop API routes. Express does diff --git a/pages/hack-school/mongodb.mdx b/pages/hack-school/mongodb.mdx index c26f708..a7a6b45 100644 --- a/pages/hack-school/mongodb.mdx +++ b/pages/hack-school/mongodb.mdx @@ -1,4 +1,4 @@ -# Week 3: Databases and MongoDB +# Week 2: Databases and MongoDB ## What is a Database? A database is an organized collection of data or information. It allows people to store information between sessions on a website. diff --git a/pages/hack-school/react.mdx b/pages/hack-school/react.mdx index ca75a1f..97cf76f 100644 --- a/pages/hack-school/react.mdx +++ b/pages/hack-school/react.mdx @@ -1,4 +1,4 @@ -# Week 2: UIs with React and Next.js +# Week 1: UIs with React and Next.js ## What is React? diff --git a/pages/hack-school/week1.mdx b/pages/hack-school/week1.mdx index 5cc165b..f76295d 100644 --- a/pages/hack-school/week1.mdx +++ b/pages/hack-school/week1.mdx @@ -1,6 +1,6 @@ import ToggleCodeBlock from './toggle_component'; -# Week 1: HTML, CSS, and JavaScript +# Week 0: HTML, CSS, and JavaScript ## What is HTML? From 483fd100b6da4d6e849232e867ffcf58f52ca4b8 Mon Sep 17 00:00:00 2001 From: Ayush Shah <2ayush@gmail.com> Date: Thu, 9 Oct 2025 17:39:54 -0700 Subject: [PATCH 2/4] navbar changes --- src/components/navbar/index.tsx | 14 ++++++++++++-- src/components/navbar/style.module.css | 1 + 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/components/navbar/index.tsx b/src/components/navbar/index.tsx index d64adab..1a8e0b2 100644 --- a/src/components/navbar/index.tsx +++ b/src/components/navbar/index.tsx @@ -48,12 +48,17 @@ const Navbar: React.FC = () => { router.push(href); } } + else{ + setIsMenuOpen(false); + } }; return (