From 3de540e97bd9d109d2ea151ade3617af40b62ddc Mon Sep 17 00:00:00 2001 From: Gregory Campbell Date: Thu, 4 Jun 2026 17:06:57 -0400 Subject: [PATCH] Accidentally reverted the actual changes I wanted to make --- src/Home.js | 1 - src/Projects.js | 58 +++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 46 insertions(+), 13 deletions(-) diff --git a/src/Home.js b/src/Home.js index bba4d403c..13d5f33c4 100644 --- a/src/Home.js +++ b/src/Home.js @@ -28,7 +28,6 @@ export const Home = () => { Portrait of Gregory Campbell diff --git a/src/Projects.js b/src/Projects.js index b4dab6166..1a7021ef6 100644 --- a/src/Projects.js +++ b/src/Projects.js @@ -4,24 +4,39 @@ import ProjectCard from './components/ProjectCard'; // Import all project images import StateMachine from './assets/StateMachine.png'; +import HSV from './assets/HSV.png'; import skin2 from './assets/skin2.png'; import EulerExample from './assets/EulerExample.png'; +import EulerCycle from './assets/EulerCycle.png'; import Hangman from './assets/Hangman.png'; import KnightsTour from './assets/KnightsTour.png'; import TextAnalyzer from './assets/TextAnalyzer.png'; import AlgorithmComparison from './assets/AlgorithmComparison.png'; import ShowingOff from './assets/ShowingOff.jpg'; +import MJB from './assets/MJB.jpg'; +import GunControl from './assets/GunControl.png'; +import Palish from './assets/Palish.png'; +import WH from './assets/W&H.png'; +import SRS from './assets/SRS.png'; + // Map imgName to imported images const imageMap = { StateMachine, + HSV, skin2, EulerExample, + EulerCycle, Hangman, KnightsTour, TextAnalyzer, AlgorithmComparison, ShowingOff, + MJB, + GunControl, + Palish, + WH, + SRS }; const projects = [ @@ -36,8 +51,12 @@ const projects = [ title: 'Python Skin Detection Algorithms', link: 'https://github.com/gjcampbell777/python-photo-skin-detection', description: 'Replicated multiple skin detection algorithms in Python and modernized them for Python 3.', + imgName: 'HSV', + imgAlt: 'Skin detection image after', + }, + { imgName: 'skin2', - imgAlt: 'Skin detection before/after', + imgAlt: 'Skin detection image before', }, { title: 'Euler Checking Algorithm', @@ -46,6 +65,10 @@ const projects = [ imgName: 'EulerExample', imgAlt: 'Euler example' }, + { + imgName: 'EulerCycle', + imgAlt: 'Euler cycle output', + }, { title: 'Fortran Hangman', link: 'https://github.com/gjcampbell777/fortran-hangman', @@ -76,11 +99,30 @@ const projects = [ }, { title: 'My Many Games', - link: 'https://gregorysoup.itch.io', description: 'A selection of games made with Unity and Godot.', imgName: 'ShowingOff', imgAlt: 'Game showcase' - } + }, + { + imgName: 'MJB', + imgAlt: 'Magical Jumping Bean' + }, + { + imgName: 'GunControl', + imgAlt: 'Gun Control' + }, + { + imgName: 'Palish', + imgAlt: 'Palish' + }, + { + imgName: 'WH', + imgAlt: 'Wally And Harv Escape the Fireball and Brick Factory' + }, + { + imgName: 'SRS', + imgAlt: 'Super Robo Squad' + }, ]; export const Projects = () => { @@ -96,14 +138,6 @@ export const Projects = () => { -
-

This page contains the projects I've done in the past, present and future.

-

- If you want to see what I'm currently working on, you can see all my updates{' '} - here. -

-
- {projects.map((p) => ( { ))} ); -}; +}; \ No newline at end of file