This is theme which generates site to show case your work profile and your contentful CMS blog articles directly with zero coding, required only few configuration mentioned below.
See the live demo
To use this theme in your Gatsby sites, follow these instructions:
-
Install the theme
npm install --save @ashr81/gatsby-theme-profile-builder
-
Add the theme to your
gatsby-config.js
:module.exports = { siteMetadata: { title: "Gatsby Theme Starter", author: { name: 'Ashrith', github: 'https://www.github.com/ashr81', phone: '*** YOUR PHONE NUMBER ***', twitter: '*** YOUR TWITTER HANDLER ***', image_url: '*** IMAGE URL ***(200x200)' }, description: 'Gatsby theme starter using contentful CMS' }, plugins: [{ resolve: "@ashr81/gatsby-theme-profile-builder", options: { contentFulCredentials: { spaceId: process.env.CONTENTFUL_SPACE_ID, accessToken: process.env.CONTENTFUL_ACCESS_TOKEN } } }], }
siteMetadata is required to build your profile to showcase.
CONTENTFUL_SPACE_ID
andCONTENTFUL_ACCESS_TOKEN
are the environment variables for your spaceId and access token for you contentful CMS account: You can signup for one here -
Add in yml file with all your experience data to build profile UI using it: File should be outside
src
folder Example:data/timelines.yml
Refer here for more details -
Start your site
gatsby develop