diff --git a/src/GameProjects.jsx b/src/GameProjects.jsx index e69de29..f38543e 100644 --- a/src/GameProjects.jsx +++ b/src/GameProjects.jsx @@ -0,0 +1,88 @@ +import { h, render, Component } from "preact"; +import { + Grid, + Container, + Card, + CardHeader, + CardMedia, + CardActions, + CardContent, + Typography, + Button, +} from "@material-ui/core"; +import Monq from "../static/images/Monq.jpg"; + +class GameProjects extends Component { + constructor(props) { + super(props); + this.content = [ + { + header: "Monq", + subheader: "D-tail Entertainment - Programmer", + image: Monq, + imageAltText: "Monq", + content: `Technically this was my first attempt at creating a startup with +university friends. However we over scoped when it came to having an interesting +platformer in a single year when it came to our USP of time mechanics and our +artist's great work. This paired with a lack of design and writing put too much +emphasis on the previously mentioned time mechanics without adequately designed +levels to show that off nor create a hook to keep people interested in the game.`, + buttonText: "Learn More", + buttonLink: "https://d-tail-entertainment.itch.io/monq", + }, + { + header: "Graphics", + subheader: "Bsc (hons) Computing for Games - Falmouth University", + image: undefined, + imageAltText: "Need up to date image", + content: `This is where I learned how to create a graphics engine from +scratch using OpenGL and was the project which I enjoyed the most during my +bachelors degree. I especially enjoyed how deep I jumped into C++ to improve it's +memory footprint returning to this project in my final year of university.`, + buttonText: "Need link", + buttonLink: undefined, + }, + ]; + } + + render = () => { + return ( + +

+ Game Projects + + {this.content.map((project) => { + return ( + + + + + + {project.content} + + + + + + + ); + })} + + + ); + }; +} +export default GameProjects; diff --git a/src/index.jsx b/src/index.jsx index 9e9a876..395dd9f 100644 --- a/src/index.jsx +++ b/src/index.jsx @@ -5,6 +5,7 @@ import theme from "./theme"; import Header from "./Header"; import Greeting from "./Greeting"; import WebProjects from "./WebProjects"; +import GameProjects from "./GameProjects"; class App extends Component { render() { @@ -14,13 +15,8 @@ class App extends Component { - Hi - - + ); } diff --git a/static/images/Monq.jpg b/static/images/Monq.jpg new file mode 100644 index 0000000..0973b3f Binary files /dev/null and b/static/images/Monq.jpg differ