Website creating using the Gatsby Theme @lekoarts/gatsby-theme-emma
.
- MDX
- react-spring page animations
- Optional MDX pages which automatically get added to the navigation
- Fully customizable through the usage of Gatsby Themes (and Theme UI)
- Light Mode / Dark Mode
- SEO (Sitemap, OpenGraph tags, Twitter tags)
- WebApp Manifest
git clone {repo url}
Start the site by running npm run develop
.
Your site is now running at http://localhost:8000
New projects will be shown on the index page of this theme and can be added by creating MDX files inside content/projects
. General setup:
- Create a new folder inside
content/projects
- Create a new
index.mdx
file, and add the frontmatter - Add an image to the created folder (from step 1)
- Reference this image as your
cover
in the frontmatter - Use
defer
to opt-in into Deferred Static Generation (DSG) - Write your content below the frontmatter
Frontmatter reference:
---
client: "LekoArts"
title: "Theme"
cover: "./image.jpg"
date: "2019-06-10"
service: "Theme"
color: "#8e9d31"
defer: false
---
Additional pages will be shown in the navigation (left side) and allow you to display content other than projects, e.g. a "Contact" or "About Me" page. General setup:
- Create a new folder inside
content/pages
- Create a new
index.mdx
file, and add the frontmatter - Add an image to the created folder (from step 1)
- Reference this image as your
cover
in the frontmatter - Use
defer
to opt-in into Deferred Static Generation (DSG) (optional) - Write your content below the frontmatter
Frontmatter reference:
---
title: "Name"
slug: "/name"
cover: "./name.jpg"
defer: false
---
The static
folder contains the icons, social media images and robots.txt
. Don't forget to change these files, too! You can use Real Favicon Generator to generate the image files inside static
.