This is a Gatsby theme that I built to participate in Gatsby Theme Jam.
See the live demo
To use this theme in your Gatsby sites, follow these instructions:
npm install --save @rennehir/gatsby-theme-personal-sitemodule.exports = {
plugins: ["@rennehir/gatsby-theme-personal-site"]
};gatsby developThis theme follows a content directory structure like this:
content
+- assets
+- blog
+- general
+- footer
+- index.yml
+- hero
+- index.yml
+- portfolio
+- references
+- servicesAdd all your assets to the assets directory and you can reference them from other documents.
The general directory holds information that is used for example in hero or footer
greeting: "Hello, I am"
name: "Name"
subtitle: "– a web developer"
image: "../../assets/{your-image}.svg"
imageAltText: "Web Developer"Add urls to your social media profiles
facebook: ""
github: ""
linkedin: ""
twitter: ""Put .mdx files in this directory to turn them into blog posts. Use these fields in the frontmatter:
---
title: Hello World
date: 2019-07-23
cover: "../assets/{your-image}.jpg"
---
Put .mdx files in this directory to turn them into your portfolio items. Use these fields in the frontmatter:
---
title: "title"
publishedDate: 2019-02-12
screenshot: "../assets/{your-image}.png"
---
Put .mdx files in this directory to turn them into references. Use these fields in the frontmatter:
---
name: Company or person name
publishedDate: 2019-06-15
image: "../assets/{your-image}.png"
---
Put .mdx files in this directory to turn them into services. Use these fields in the frontmatter:
---
title: Application Development
illustration: "../assets/undraw_Mobile_application_mr4r.svg"
---