From ad7e1516183671afea1e8b32ab17eaaedc253175 Mon Sep 17 00:00:00 2001 From: AramJonghu Date: Tue, 11 Aug 2026 12:28:15 +0200 Subject: [PATCH] chore(projects): removal of projects section on home page --- frontend/src/components/ProjectInfo.tsx | 33 ------------------------ frontend/src/content/current-activity.md | 2 +- frontend/src/content/portfolio.json | 5 ++++ frontend/src/content/projects.json | 22 ---------------- frontend/src/pages/Home.tsx | 6 ----- 5 files changed, 6 insertions(+), 62 deletions(-) delete mode 100644 frontend/src/components/ProjectInfo.tsx delete mode 100644 frontend/src/content/projects.json diff --git a/frontend/src/components/ProjectInfo.tsx b/frontend/src/components/ProjectInfo.tsx deleted file mode 100644 index 5b5bada..0000000 --- a/frontend/src/components/ProjectInfo.tsx +++ /dev/null @@ -1,33 +0,0 @@ -import { useState, type ReactElement } from "react"; -import MdProcessor from "./MdProcessor"; -import projects from "../content/projects.json"; - -export default function ProjectInfo(): ReactElement { - const [projIdx, setProjIdx] = useState(0); - const prevProject = () => - setProjIdx((i) => (i - 1 + projects.length) % projects.length); - const nextProject = () => setProjIdx((i) => (i + 1) % projects.length); - - return ( - <> -
- - - {projects[projIdx].name} ({projIdx + 1}/{projects.length}) - - -
- - - ); -} diff --git a/frontend/src/content/current-activity.md b/frontend/src/content/current-activity.md index 124624c..bd2538e 100644 --- a/frontend/src/content/current-activity.md +++ b/frontend/src/content/current-activity.md @@ -4,4 +4,4 @@ Currently learning Rust and Zig programming languages. ### Projects -MarAn is a webpage I am working on for a freelancer. Check the [projects](/) tab on the home page. +MarAn is a webpage I am working on for a freelancer. diff --git a/frontend/src/content/portfolio.json b/frontend/src/content/portfolio.json index abbbbf0..e8f03d2 100644 --- a/frontend/src/content/portfolio.json +++ b/frontend/src/content/portfolio.json @@ -73,6 +73,11 @@ { "name": "Armenian", "proficiency": "Basic conversational" } ], "projects": [ + { "name": "HANflex kennisplatform", + "url": "https://github.com/AIM-kennisplatformen", + "description": "Repositories I contributed to. Mainly studio and database-builder-scepa.", + "tags": ["Python", "TypeDB"] + }, { "name": "aramjonghu-site", "url": "https://git.aramjonghu.dev/AramJonghu/aramjonghu-site", diff --git a/frontend/src/content/projects.json b/frontend/src/content/projects.json deleted file mode 100644 index 7c5a262..0000000 --- a/frontend/src/content/projects.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "id": "site", - "name": "aramjonghu-site", - "url": "https://git.aramjonghu.dev/AramJonghu/aramjonghu-site/raw/branch/master/README.md" - }, - { - "id": "maran freelance portfolio", - "name": "maran-site", - "url": "https://git.aramjonghu.dev/AramJonghu/maran-site/src/branch/main/README.md" - }, - { - "id": "file-organizer", - "name": "file-organizer written in zig", - "url": "https://git.aramjonghu.dev/AramJonghu/file-organizer/src/branch/main/README.md" - }, - { - "id": "nvim", - "name": "Nvim Config", - "url": "https://git.aramjonghu.dev/AramJonghu/nvim/src/branch/main/README.md" - } -] diff --git a/frontend/src/pages/Home.tsx b/frontend/src/pages/Home.tsx index 2a2ec1b..325176d 100644 --- a/frontend/src/pages/Home.tsx +++ b/frontend/src/pages/Home.tsx @@ -1,5 +1,4 @@ import { useState, type ReactElement } from "react"; -import ProjectInfo from "../components/ProjectInfo"; import CurrentActivity from "../components/CurrentActivity"; import About from "../components/About"; @@ -22,11 +21,6 @@ export default function Home(): ReactElement { ), }, - { - id: "projects", - title: "Projects", - content: , - }, { id: "current-activity", title: "Current-activity",