To view a demo example, click here
To view a live example, click here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
You'll need Git and Node.js (which comes with NPM) installed on your computer.
Also you need to have installed Gatsby CLI
node@v10.16.0 or higher
npm@6.9.0 or higher
git@2.17.1 or higher
gatsby-cli@2.8.22 or higher
Also, you can use Yarn instead of NPM
yarn@v1.21.1 or higher
From your command line, first clone Simplefolio:
# Clone this repository
$ git clone https://github.com/cobidev/gatsby-simplefolio
# Go into the repository
$ cd gatsby-simplefolio
# Remove current origin repository
$ git remote remove origin
Then you can install the dependencies either using NPM or Yarn:
Using NPM:
# Install dependencies
$ npm install
# Start development server
$ npm run develop
Using Yarn:
# Install dependencies
$ yarn
# Start development server
$ yarn develop
NOTE:If your run into issues installing the dependencies with NPM, use this command:
# Install dependencies with all permissions
$ sudo npm install --unsafe-perm=true --allow-root
Once your server has started, go to this url http://localhost:8000/
and you will see the website running on a Development Server:
Go to /src/mock/data.js
and fill your information, they are 5 objects:
export const heroData = {
title: '', // Hello, my name is
name: '', // John
subtitle: '', // I'm the Unknown Developer.
cta: '', // Know more
};
Important Note: All the images must live inside the src/images/
folder in order for Gatsby to show the images correctly.
export const aboutData = {
img: 'profile.jpg', // put your profile image (recommended aspect radio: square)
paragraphOne: '',
paragraphTwo: '',
paragraphThree: '',
resume: 'https://www.resumemaker.online/es.php', // if no resume, the button will not show up
};
Important Note: All the images must live inside the src/images/
folder in order for Gatsby to show the images correctly.
Put as many projects object you want inside the array
.
export const projectsData = [
{
id: nanoid(),
img: 'project.jpg',
title: '',
info: '',
info2: '',
url: '',
repo: 'https://github.com/cobidev/react-simplefolio', // if no repo, the button will not show up
},
{
id: nanoid(),
img: 'project.jpg',
title: '',
info: '',
info2: '',
url: '',
repo: 'https://github.com/cobidev/react-simplefolio', // if no repo, the button will not show up
},
...
];
export const contactData = {
cta: '', // call to action text for the contact section
btn: '', // text inside the button
email: '',
};
You can remove or add as many you social-media icons you want.
Just put an object with the corresponding values inside the networks array
or remove it from there.
export const footerData = {
networks: [
{
id: nanoid(),
name: 'twitter',
url: '', // your twitter url
},
{
id: nanoid(),
name: 'codepen',
url: '', // your codepen url
},
{
id: nanoid(),
name: 'linkedin',
url: '', // your linkedin url
},
{
id: nanoid(),
name: 'github',
url: '', // your github url
},
],
};
Set isEnabled
to false
once you finish setup your portfolio.
By setting to false
it will hide the GitHub stars/fork buttons
export const githubButtons = {
isEnabled: true, // true is the default value
};
Change the color theme of the website ( choose 2 colors to create a gradient ):
Go to src/styles/abstracts/_variables.scss
and only change the values on this classes $main-color
and $secondary-color
to your prefered HEX color
// Default values
$main-color: #02aab0;
$secondary-color: #00cdac;
Note: I highly recommend to checkout gradients variations on UI Gradient
Once you have done with your setup. You need to put your website online!
I highly recommend to use Netlify to achieve this on the EASIEST WAY
Simplefolio by Jacobo Martinez
Ember.js Simplefolio by Michael Serna
This project is licensed under the MIT License - see the LICENSE.md file for details
I was motivated to create this project because I wanted to contribute on something useful for the dev community, thanks to ZTM Community and Andrei
概述 插件 参考 基于 Gatsby 搭建博客 Gatsby.js 未来的网页
Gatsby 是基于 React 构建的静态站点生成器,拥有丰富的插件生态,其主要目标之一是交付访问速度快速的网页,它通过利用良好的缓存、静态页面生成和基于边缘的 CDN 数据源来实现这一目标。 Gatsby 可以使用 React.js 把纯文本转换到动态博客或者网站上。 目标: 无需重载页面转换 热重载编辑 为构建静态网站创建 React.js 组件模型和生态系统 直观的基于目录的 URLs 支持 "Starters"
Gatsyby startbootstrap-agency gatsby version of startbootstrap-agency with i18n supported. This project is migrated to Gatsby@v3, check the latest Gatsby@v2 version here. Preview Sample page https://g
Lumen A constantly evolving and thoughtful architecture for creating new static blogs. Table of contents Features Web Performance Tests Quick Start Deploy with Netlify Folder Structure Sponsors Contri
PersonalBlog A GatsbyJS personal blog starter. See the starter in action » demo website For more information visit » dev.greglobinski.com/gatsby-starter-personal-blog Description A ready to use, easy
Gatsby Auth starter with AWS Amplify This auth starter implements a basic authentication flow for signing up signing in users as well as protected client side routing using AWS Amplify. Auth features: