From 570a005c21bd25b190a84e2dae25de43958ead7a Mon Sep 17 00:00:00 2001 From: Tebbo Date: Sun, 6 Oct 2024 10:19:38 +0100 Subject: [PATCH] Remove People Section (#165) --- package-lock.json | 136 +--------------------------- src/app/page.tsx | 4 - src/components/PeopleSection.tsx | 52 ----------- src/components/navbar/MobileNav.tsx | 1 - src/components/navbar/Navbar.tsx | 1 - 5 files changed, 1 insertion(+), 193 deletions(-) delete mode 100644 src/components/PeopleSection.tsx diff --git a/package-lock.json b/package-lock.json index 8442b20..bc9b2f0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "packages": { "": { "name": "rustcrab", - "version": "0.2.0", + "version": "0.2.1", "dependencies": { "canvas-confetti": "^1.9.3", "js-cookie": "^3.0.5", @@ -251,126 +251,6 @@ "glob": "10.3.10" } }, - "node_modules/@next/swc-darwin-arm64": { - "version": "14.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.4.tgz", - "integrity": "sha512-AH3mO4JlFUqsYcwFUHb1wAKlebHU/Hv2u2kb1pAuRanDZ7pD/A/KPD98RHZmwsJpdHQwfEc/06mgpSzwrJYnNg==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-darwin-x64": { - "version": "14.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.4.tgz", - "integrity": "sha512-QVadW73sWIO6E2VroyUjuAxhWLZWEpiFqHdZdoQ/AMpN9YWGuHV8t2rChr0ahy+irKX5mlDU7OY68k3n4tAZTg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-arm64-gnu": { - "version": "14.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.4.tgz", - "integrity": "sha512-KT6GUrb3oyCfcfJ+WliXuJnD6pCpZiosx2X3k66HLR+DMoilRb76LpWPGb4tZprawTtcnyrv75ElD6VncVamUQ==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-arm64-musl": { - "version": "14.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.4.tgz", - "integrity": "sha512-Alv8/XGSs/ytwQcbCHwze1HmiIkIVhDHYLjczSVrf0Wi2MvKn/blt7+S6FJitj3yTlMwMxII1gIJ9WepI4aZ/A==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-x64-gnu": { - "version": "14.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.4.tgz", - "integrity": "sha512-ze0ShQDBPCqxLImzw4sCdfnB3lRmN3qGMB2GWDRlq5Wqy4G36pxtNOo2usu/Nm9+V2Rh/QQnrRc2l94kYFXO6Q==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-x64-musl": { - "version": "14.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.4.tgz", - "integrity": "sha512-8dwC0UJoc6fC7PX70csdaznVMNr16hQrTDAMPvLPloazlcaWfdPogq+UpZX6Drqb1OBlwowz8iG7WR0Tzk/diQ==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-arm64-msvc": { - "version": "14.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.4.tgz", - "integrity": "sha512-jxyg67NbEWkDyvM+O8UDbPAyYRZqGLQDTPwvrBBeOSyVWW/jFQkQKQ70JDqDSYg1ZDdl+E3nkbFbq8xM8E9x8A==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-ia32-msvc": { - "version": "14.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.4.tgz", - "integrity": "sha512-twrmN753hjXRdcrZmZttb/m5xaCBFa48Dt3FbeEItpJArxriYDunWxJn+QFXdJ3hPkm4u7CKxncVvnmgQMY1ag==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, "node_modules/@next/swc-win32-x64-msvc": { "version": "14.2.4", "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.4.tgz", @@ -2218,20 +2098,6 @@ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", "dev": true }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", diff --git a/src/app/page.tsx b/src/app/page.tsx index 0d3deab..07b41e4 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -6,7 +6,6 @@ import DevToolsSection from "../components/DevToolsSection"; import ProjectsSection from "../components/ProjectsSection"; import SubstackCustom from "../components/SubstackCustom"; import DSAToolSection from "@/components/DSASection"; -import PeopleSection from "@/components/PeopleSection"; import LessonSection from "@/components/LessonSection"; export default function Home() { @@ -57,9 +56,6 @@ export default function Home() {
-
- -
diff --git a/src/components/PeopleSection.tsx b/src/components/PeopleSection.tsx deleted file mode 100644 index 0760cf2..0000000 --- a/src/components/PeopleSection.tsx +++ /dev/null @@ -1,52 +0,0 @@ -"use client"; - -import Image from "next/image"; - -import { people } from "@/data/people"; -import { FaGithub } from "react-icons/fa"; -import Link from "next/link"; - -export default function PeopleSection() { - return ( -
-
-

- People -

-
- {people.slice(0, 3).map((p, index) => ( -
-
- {p.name} -

- {p.name} -

-

{p.role}

-

- {p.description} -

- - - -
-
- ))} -
-
-
- ); -} diff --git a/src/components/navbar/MobileNav.tsx b/src/components/navbar/MobileNav.tsx index 1655204..c9885b6 100644 --- a/src/components/navbar/MobileNav.tsx +++ b/src/components/navbar/MobileNav.tsx @@ -15,7 +15,6 @@ export const menuItems: menuObject[] = [ { items: 'Projects', link: '/#projects' }, { items: 'Dev Tools', link: '/#dev_tools' }, { items: 'Lesson', link: '/#lessons' }, - { items: 'People', link: '/#people' }, { items: 'DSA', link: '/#dsas' } ]; diff --git a/src/components/navbar/Navbar.tsx b/src/components/navbar/Navbar.tsx index c6b6cff..42eec47 100644 --- a/src/components/navbar/Navbar.tsx +++ b/src/components/navbar/Navbar.tsx @@ -12,7 +12,6 @@ const menuItems = [ { items: "Lessons", link: "/#lessons" }, { items: "Dev Tools", link: "/#dev_tools" }, { items: "DSA Example", link: "/#dsas" }, - { items: "People", link: "/#people" }, ];