Skip to content

Commit

Permalink
add extra project
Browse files Browse the repository at this point in the history
  • Loading branch information
jcockbain committed Jul 21, 2020
1 parent a27e539 commit d0115d9
Show file tree
Hide file tree
Showing 12 changed files with 7,260 additions and 5,993 deletions.
8 changes: 6 additions & 2 deletions content/pages/cv.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ A submission which placed 1st in the IBM UK Call for Code competition and was th

*September 2014 - June 2018*

Masters project: *UAVs with precise position knowledge*.
Master's project: *UAVs with precise position knowledge*.
Developing mathematical models in Python to combine data from different sensors onboard a drone, with the aim of locating its position to within 1mm, for use in adaptive optics within astronomy.

## Technical Skills
Expand All @@ -57,4 +57,8 @@ JavaScript, Python, Golang

### Frameworks / Tools

React, Express, Docker, Kubernetes, HTML/CSS/Bootstrap, Jekyll/Gatsby, Git
React, Express, HTML/CSS, Jekyll/Gatsby/Next.js, Bootstrap/Tailwindcss

### Devops / SCM

Docker, Kubernetes, Git
12 changes: 6 additions & 6 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ module.exports = {
medium: `@jcockbain96`,
},
menuLinks: [
// {
// link: "/pages/about",
// name: "About",
// },
{
link: "/pages/about",
name: "About",
link: "/projects",
name: "Projects",
},
{
link: "/blogs",
name: "Blog",
},
{
link: "/projects",
name: "Projects",
},
{
link: "/pages/cv",
name: "CV",
Expand Down
13,120 changes: 7,186 additions & 5,934 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@types/react-responsive": "^8.0.2",
"axios": "^0.19.2",
"babel-plugin-styled-components": "^1.10.0",
"gatsby": "^2.3.31",
"gatsby": "^2.24.7",
"gatsby-image": "^2.4.6",
"gatsby-plugin-feed": "^2.1.1",
"gatsby-plugin-google-analytics": "^2.0.18",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { graphql, useStaticQuery } from "gatsby"
import React from "react"
import styled from "styled-components"
import TagLabel from "../elements/tagLabel"

interface Tag {
tag: string
Expand Down Expand Up @@ -68,7 +69,7 @@ const Tags = ({ updateCategories, currentCategories }: Props) => {
}`}
key={element.tag}
>
{element.tag}
<TagLabel text={element.tag} />
</TagSelector>
))}
</TagsPanel>
Expand Down
7 changes: 6 additions & 1 deletion src/elements/tag.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from "react"
import styled from "styled-components"
import TagLabel from "./tagLabel"

const Tag = styled.div`
background-color: ${props => props.theme.tag};
Expand All @@ -15,6 +16,10 @@ interface Props {
text: string
}

const BlogTag = (props: Props) => <Tag>{props.text}</Tag>
const BlogTag = ({ text }: Props) => (
<Tag>
<TagLabel text={text} />
</Tag>
)

export default BlogTag
15 changes: 15 additions & 0 deletions src/elements/tagLabel.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import React from "react"
import styled from "styled-components"

const StyledTagLabel = styled.div`
color: ${props => props.theme.onBackground};
opacity: ${props => props.theme.headerOpacity};
`

interface Props {
text: string
}

const TagLabel = ({ text }: Props) => <StyledTagLabel>{text}</StyledTagLabel>

export default TagLabel
2 changes: 1 addition & 1 deletion src/pages/blogs.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { graphql, PageRendererProps, useStaticQuery } from "gatsby"
import React, { useState } from "react"
import styled from "styled-components"
import Tags from "../components/tags"
import Tags from "../components/blogTagsSelector"
import { Layout } from "../containers/layout"
import Card from "../elements/card"
import { FadeLink } from "../elements/link"
Expand Down
5 changes: 2 additions & 3 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const HomePage = (props: PageRendererProps) => {

return (
<Layout location={props.location} title="Home">
<SEO title="home" />
<SEO title="Home" />
<Card>
<h2>Hi, I'm James &#x1f44b; </h2>
<CardP>
Expand All @@ -38,8 +38,7 @@ const HomePage = (props: PageRendererProps) => {
alt="A picture of me!"
/>
<CardP>
You can read more about me <FadeLink to="/pages/about">here</FadeLink>
.
You can read more about me <FadeLink to="/pages/cv">here</FadeLink>.
</CardP>
</Card>
</Layout>
Expand Down
35 changes: 1 addition & 34 deletions src/pages/projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,12 @@ import Flex from "../elements/flex"
import ProjectIcons from "../elements/projectIcons"
import { SEO } from "../elements/seo"
import Tag from "../elements/tag"
import projects from "../utils/projects"

const CardP = styled.p`
margin: 1rem 0;
`

const projects = [
{
name: "Project Reunite",
summary:
"A submission which placed 1st in the IBM UK Call for Code competition and was then selected in the final 5, out of 132 projects in the global contest.",
technologies: ["React", "Mineral-UI", "Express", "Socket.io"],
codeLink: "https://github.com/project-reunite/reunite",
deploymentLink: "http://project-reunite.eu-gb.cf.appdomain.cloud/#/",
},
{
name: "MERN TODO App",
summary:
"A MongoDB based app I use to track daily tasks. The Next.js client offers pages for CRUD operations on todays tasks, for managing all tasks through a calendar, and a graphical summary of tasks completed.",
technologies: [
"MongoDB",
"Express",
"React",
"Node.js",
"Next.js",
"Heroku",
],
codeLink: "https://github.com/project-reunite/reunite",
deploymentLink: "",
},
{
name: "jamescockbain.com",
summary:
"This website! Starting from a basic Gatsby Typescript starter, with custom styled-components styles. Deployed with Netlify.",
technologies: ["Gatsby", "Typescript", "Styled-Components", "Netlify"],
codeLink: "https://github.com/project-reunite/reunite",
deploymentLink: "https://jamescockbain.com",
},
]

const ProjectsPage = (props: PageRendererProps) => {
return (
<Layout location={props.location} title="Projects">
Expand Down
10 changes: 0 additions & 10 deletions src/styles/utils/colors.ts

This file was deleted.

34 changes: 34 additions & 0 deletions src/utils/projects.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
export default [
{
name: "Project Reunite",
summary:
"A submission which placed 1st in the IBM UK Call for Code competition and was then selected in the final 5, out of 132 projects in the global contest. It's a mobile-friendly web app for reuniting loved ones after a natural disaster, using facial feature recognition.",
technologies: ["React", "Mineral-UI", "Express", "Socket.io"],
codeLink: "https://github.com/project-reunite/reunite",
deploymentLink: "http://project-reunite.eu-gb.cf.appdomain.cloud/#/",
},
{
name: "MERN TODO App",
summary:
"A MongoDB based app I use to track daily tasks. The Next.js client offers pages for; CRUD operations on todays tasks, for managing all tasks through a calendar, and a graphical summary of tasks completed.",
technologies: ["MongoDB", "Express", "React", "Node.js", "Next.js"],
codeLink: "https://github.com/MERN-todo?type=source",
deploymentLink: "",
},
{
name: "jamescockbain.com",
summary:
"This website! Starting from a basic Gatsby Typescript starter, with custom styled-components styles. Deployed with Netlify.",
technologies: ["Gatsby", "Typescript", "Styled-Components", "Netlify"],
codeLink: "https://github.com/project-reunite/reunite",
deploymentLink: "https://jamescockbain.com",
},
{
name: "Advent Of Code",
summary:
"Solutions for the christmas-themed Advent of Code challenges (adventofcode.com), written in Python.",
technologies: ["Python", "Algorithms"],
codeLink: "https://github.com/jcockbain/advent-of-code",
deploymentLink: "",
},
]

0 comments on commit d0115d9

Please sign in to comment.