- Notifications
You must be signed in to change notification settings - Fork25
A simple, ready to use, easy to customize landing page starter for GatsbyJS with auto generated (sizes & types) Hero images.
License
greglobinski/gatsby-starter-simple-landing
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A GatsbyJS landing page starter.
A simple, ready to use, easy to customize landing page starter forGatsbyJS with auto generated, highly optimized in sizes & types Hero images.
The starter uses the css-in-js libraryJSS and its integrationfor ReactReact-JSS to declare and mantain CSS styles.
If you do not have Gatsby Cli installed yet, do it first.
npm install --global gatsby-cliMore information onGatsbyJS.org.
Install the starter using Gatsby Cligatsby new command.
gatsby new [NEW_SITE_DIRECTORY_FOR_YOUR_BLOG] https://github.com/greglobinski/gatsby-starter-simple-landing.gitGo into the newly created directory and run
gatsby developto hot-serve your website onhttp://localhost:8000 or
gatsby buildto create static site ready to host (/public).
Edit\src\utils\siteConfig.js
module.exports={pathPrefix:"/",appName:"SimpleLanding",siteTitle:"SimpleLanding - a landing page GatsbyJs starter",siteUrl:"https://gssl.greglobinski.com",siteImage:"preview.jpg",siteLanguage:"en",siteDescription:"SimpleLanding is a dead simple landing page GatsbyJs starter.",contactEmail:"hello@example.com",ctaLinkUrl:"https://github.com/greglobinski/gatsby-starter-simple-landing",// manifest.jsonmanifestName:"SimpleLanding - Gatsby starter",manifestShortName:"SimplLanding",manifestStartUrl:"/",manifestBackgroundColor:colors.bg,manifestThemeColor:colors.bg,manifestDisplay:"standalone",// analyticsanalyticsTrackingId:"UA-110088221-3"};
Edit the\src\styles\colors.js file to customize the color palette.
module.exports={bg:"#D9D9D9",accent:"#709425",bright:"#ffffff",dark:"#333333",gray:"#777777"};
Edit the\src\styles\theme.js file to customize style of elements
consttheme=createMuiTheme({main:{colors:{background:colors.bg,text:colors.dark,link:colors.accent,linkHover:Color(colors.accent).lighten(0.1).string()},fonts:{unstyled:`"-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "sans-serif"`,styled:"Open Sans"}},billboard:{colors:{text:colors.dark,textAccent:colors.accent,ctaLinkBackground:colors.accent,logo:colors.bright},sizes:{logoWidth:"200px",logoWidthForM:"300px",logoWidthForL:"50%",h1Font:1.8,h2Font:1.2,fontIncraseForM:1.2,fontIncraseForL:1.4}},footer:{colors:{text:colors.gray,link:Color(colors.gray).lighten(0.2).string(),linkHover:colors.gray},sizes:{height:"50px"}},mediaQueryTresholds:{M:600,L:1024}});
Edit themd files in the/scr/content/ directory to change text on the page.
Exchange/src/images/phone.png, '/src/images/pnone-perspective.pngand/src/images/background.jpginto your own. The responsive variants of the images will generated automaticaly duringgatsby develop`.
Exchange/src/images/icon.png and/src/images/apple-icon.png into your own. Then runyarn generate-manifest-icons command to regenerate icons for android (manifest.json) and apple devices.
Edit the\src\images\logos.js
exportdefault{MAIN:{viewBox:"...",path:(<gfillRule="evenodd"clipRule="evenodd"fill="#FFF"><path/></g>)}};
- Greg Lobinski@greglobinski
See also the list ofcontributors who participated in this project.
- Fork the repo
- Create your feature branch (git checkout -b feature/fooBar)
- Commit your changes (git commit -am 'Add some fooBar')
- Push to the branch (git push origin feature/fooBar)
- Create a new Pull Request
PR to add your page
MIT License
Copyright (c) 2017 gatsbyjs
Copyright (c) 2018 greg lobinski
Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.
About
A simple, ready to use, easy to customize landing page starter for GatsbyJS with auto generated (sizes & types) Hero images.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.
