From ad98154cbac63b294afbef415f42003f89aab334 Mon Sep 17 00:00:00 2001 From: Jeff Rainey Date: Thu, 27 Jun 2019 07:26:43 -0400 Subject: [PATCH 1/3] adding myself to people, adding images and beginning layout --- src/layouts/index.js | 8 ++++---- src/people/jeff-rainey/index.md | 10 ++++++++++ src/templates/person.js | 21 ++++++++++++--------- 3 files changed, 26 insertions(+), 13 deletions(-) create mode 100644 src/people/jeff-rainey/index.md diff --git a/src/layouts/index.js b/src/layouts/index.js index dda171b..7785f7b 100644 --- a/src/layouts/index.js +++ b/src/layouts/index.js @@ -45,10 +45,10 @@ class Template extends React.Component {
-
- {children()} - -
+
+ {children()} + +
diff --git a/src/people/jeff-rainey/index.md b/src/people/jeff-rainey/index.md new file mode 100644 index 0000000..1a33e2a --- /dev/null +++ b/src/people/jeff-rainey/index.md @@ -0,0 +1,10 @@ +--- +title: Ryan Hayes +date: "2015-05-01T22:12:03.284Z" +path: "/ryan-hayes/" +type: person +twitter: "https://twitter.com/RyannosaurusRex" +headshotUrl: "https://pbs.twimg.com/profile_images/696818137191178240/JFL0mYg3_400x400.jpg" +--- + +This is some markdown that describes me. I'm just typing this as a placeholder right now. diff --git a/src/templates/person.js b/src/templates/person.js index 485e123..2af055a 100644 --- a/src/templates/person.js +++ b/src/templates/person.js @@ -9,15 +9,18 @@ class PersonTemplate extends React.Component { const siteTitle = get(this.props, 'data.site.siteMetadata.title') return ( -
- -

{post.frontmatter.title}

-

- {post.frontmatter.date} - {} -

-
-
+
+
+ +

{post.frontmatter.title}

+ +

+ {post.frontmatter.date} + {} +

+
+
+
) } From 8cc4175fcd04732b3a6e5ea392d4e0a8a3fcf349 Mon Sep 17 00:00:00 2001 From: Jeff Rainey Date: Thu, 27 Jun 2019 07:33:18 -0400 Subject: [PATCH 2/3] fixing tabbing I caused when messing about in the layout --- src/layouts/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/layouts/index.js b/src/layouts/index.js index 7785f7b..c6233d4 100644 --- a/src/layouts/index.js +++ b/src/layouts/index.js @@ -45,10 +45,10 @@ class Template extends React.Component {
-
- {children()} - -
+
+ {children()} + +
From 536dbc88219e75208eda13158fb844d873caace3 Mon Sep 17 00:00:00 2001 From: Jeff Rainey Date: Thu, 27 Jun 2019 07:35:10 -0400 Subject: [PATCH 3/3] just noticed I had not saved my person, so I was Ryan. Not used to having to save my files in VS Code --- src/people/jeff-rainey/index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/people/jeff-rainey/index.md b/src/people/jeff-rainey/index.md index 1a33e2a..63f4c55 100644 --- a/src/people/jeff-rainey/index.md +++ b/src/people/jeff-rainey/index.md @@ -1,10 +1,10 @@ --- -title: Ryan Hayes +title: Jeff Rainey date: "2015-05-01T22:12:03.284Z" -path: "/ryan-hayes/" +path: "/jeff-rainey/" type: person -twitter: "https://twitter.com/RyannosaurusRex" -headshotUrl: "https://pbs.twimg.com/profile_images/696818137191178240/JFL0mYg3_400x400.jpg" +twitter: "https://twitter.com/jeffrainey" +headshotUrl: "https://pbs.twimg.com/profile_images/94284075/Photo_33_400x400.jpg" --- This is some markdown that describes me. I'm just typing this as a placeholder right now.