All Projects → greglobinski → gatsby-starter-simple-landing

greglobinski / gatsby-starter-simple-landing

Licence: MIT license
A simple, ready to use, easy to customize landing page starter for GatsbyJS with auto generated (sizes & types) Hero images.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to gatsby-starter-simple-landing

Postjss
Use the power of PostCSS in compiling with JSS
Stars: ✭ 40 (-11.11%)
Mutual labels:  jss
Jss Filevault Reissue
A framework for re-escrowing missing or invalid FileVault keys with Jamf Pro.
Stars: ✭ 132 (+193.33%)
Mutual labels:  jss
A Journey Toward Better Style
A Journey toward better style
Stars: ✭ 245 (+444.44%)
Mutual labels:  jss
Material Ui Layout
Declarative layout for Material UI
Stars: ✭ 71 (+57.78%)
Mutual labels:  jss
React Usestyles
🖍 Style components using React hooks. Abstracts the styling library away.
Stars: ✭ 89 (+97.78%)
Mutual labels:  jss
Xbyjmusic
🎷🎸基于electron的跨平台 NeteaseMusic 桌面应用🎺🎻
Stars: ✭ 156 (+246.67%)
Mutual labels:  jss
Jss
JSS is an authoring tool for CSS which uses JavaScript as a host language.
Stars: ✭ 6,576 (+14513.33%)
Mutual labels:  jss
csstox
Convert CSS text to a React Native/JSS stylesheet object with ease.
Stars: ✭ 72 (+60%)
Mutual labels:  jss
Css In React
🍭 CSS in React - Learn the best CSS in JS frameworks by example
Stars: ✭ 101 (+124.44%)
Mutual labels:  jss
Prejss
Get the power of PostCSS with plugins in your JSS styles. 🎨 Just put CSS into JS and get it as JSS object.
Stars: ✭ 238 (+428.89%)
Mutual labels:  jss
Ieasemusic
网易云音乐第三方
Stars: ✭ 8,572 (+18948.89%)
Mutual labels:  jss
Scale
The Scale library offers a set of customizable web components written with Stencil.js & TypeScript. The default theme of the library can be easily replaced so that a corresponding corporate identity of a dedicated brand can be represented.
Stars: ✭ 87 (+93.33%)
Mutual labels:  jss
Css In Js
Autocomplete React Native / JS Styles and converting plain CSS to JS styles
Stars: ✭ 192 (+326.67%)
Mutual labels:  jss
Cli
A command line tool for JSS.
Stars: ✭ 54 (+20%)
Mutual labels:  jss
vue-jss-plugin
JSS plugin implementation for Vue.js
Stars: ✭ 24 (-46.67%)
Mutual labels:  jss
Gatsby Starter Personal Blog
A ready to use, easy to customize, fully equipped GatsbyJS blog starter with 'like app' layout and views transitions.
Stars: ✭ 817 (+1715.56%)
Mutual labels:  jss
Js Stack Boilerplate
Final boilerplate code of the JavaScript Stack from Scratch tutorial –
Stars: ✭ 145 (+222.22%)
Mutual labels:  jss
JSS-Resource-Tools
A CLI utility that utilises the Jamf Pro (previously Casper Suite) API in order to import, export and update JSS resources en-masse.
Stars: ✭ 24 (-46.67%)
Mutual labels:  jss
fractal-component
A javascript library that can help you to encapsulate decoupled UI component easily
Stars: ✭ 13 (-71.11%)
Mutual labels:  jss
Styled Jss
Styled Components on top of JSS.
Stars: ✭ 217 (+382.22%)
Mutual labels:  jss

SimpleLanding

A GatsbyJS landing page starter.

GitHub issues GitHub stars GitHub license Twitter




Description

A simple, ready to use, easy to customize landing page starter for GatsbyJS with auto generated, highly optimized in sizes & types Hero images.

The starter uses the css-in-js library JSS and its integration for React React-JSS to declare and mantain CSS styles.

Prerequisites

If you do not have Gatsby Cli installed yet, do it first.

npm install --global gatsby-cli

More information on GatsbyJS.org.

Getting started

Install the starter using Gatsby Cli gatsby new command.

gatsby new [NEW_SITE_DIRECTORY_FOR_YOUR_BLOG] https://github.com/greglobinski/gatsby-starter-simple-landing.git

Go into the newly created directory and run

gatsby develop

to hot-serve your website on http://localhost:8000 or

gatsby build

to create static site ready to host (/public).

Customization

Metadata

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: "[email protected]",
  ctaLinkUrl: "https://github.com/greglobinski/gatsby-starter-simple-landing",
  // manifest.json
  manifestName: "SimpleLanding - Gatsby starter",
  manifestShortName: "SimplLanding",
  manifestStartUrl: "/",
  manifestBackgroundColor: colors.bg,
  manifestThemeColor: colors.bg,
  manifestDisplay: "standalone",
  // analytics
  analyticsTrackingId: "UA-110088221-3"
};

Color palette

Edit the \src\styles\colors.js file to customize the color palette.

module.exports = {
  bg: "#D9D9D9",
  accent: "#709425",
  bright: "#ffffff",
  dark: "#333333",
  gray: "#777777"
};

Style Theme

Edit the \src\styles\theme.js file to customize style of elements

const theme = 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
  }
});

Content editing

Text

Edit the md files in the /scr/content/ directory to change text on the page.

Images

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`.

Icons

Exchange /src/images/icon.png and /src/images/apple-icon.png into your own. Then run yarn generate-manifest-icons command to regenerate icons for android (manifest.json) and apple devices.

Logo

Edit the \src\images\logos.js

export default {
  MAIN: {
    viewBox: "...",
    path: (
      <g fillRule="evenodd" clipRule="evenodd" fill="#FFF">
        <path />
      </g>
    )
  }
};

Authors

See also the list of contributors who participated in this project.

Contributing

  • 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

Sites built with the starter

PR to add your page

Licence

MIT License

Copyright (c) 2017 gatsbyjs
Copyright (c) 2018 greg lobinski

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 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 THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].