Accidentally reverted the actual changes I wanted to make

This commit is contained in:
Gregory Campbell
2026-06-04 17:06:57 -04:00
parent 4797e12848
commit 3de540e97b
2 changed files with 46 additions and 13 deletions
-1
View File
@@ -28,7 +28,6 @@ export const Home = () => {
<img
src={meImage}
alt="Portrait of Gregory Campbell"
className="homeimage"
loading="lazy"
decoding="async"
/>
+46 -12
View File
@@ -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 = () => {
<aside>Look at what I've created!</aside>
</header>
<section>
<p>This page contains the projects I've done in the past, present and future.</p>
<p>
If you want to see what I'm currently working on, you can see all my updates{' '}
<a href="https://twitter.com/Gregory_Soup" target="_blank" rel="noreferrer noopener">here</a>.
</p>
</section>
{projects.map((p) => (
<ProjectCard
key={p.title}
@@ -116,4 +150,4 @@ export const Projects = () => {
))}
</main>
);
};
};