Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gillkyle/gatsby-starter-landing-page
๐ฑ A simple, minimal Gatsby starter for quick and easy landing pages
https://github.com/gillkyle/gatsby-starter-landing-page
gatsby gatsby-starter landing-page minimal one-page static-site
Last synced: 3 months ago
JSON representation
๐ฑ A simple, minimal Gatsby starter for quick and easy landing pages
- Host: GitHub
- URL: https://github.com/gillkyle/gatsby-starter-landing-page
- Owner: gillkyle
- License: mit
- Created: 2019-03-19T18:05:37.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T18:06:56.000Z (about 2 years ago)
- Last Synced: 2024-10-17T16:09:22.179Z (4 months ago)
- Topics: gatsby, gatsby-starter, landing-page, minimal, one-page, static-site
- Language: JavaScript
- Homepage: https://gatsby-starter-landing-page.netlify.com/
- Size: 1.21 MB
- Stars: 130
- Watchers: 3
- Forks: 46
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Gatsby Landing Page StarterA simple, minimal, easy-to-use landing page starter without all sorts of bells and whistles bolted on that you'll just have to strip out later. Create a super fast, beautiful landing page from a barebones template with a single page that already looks good.
## Prerequisites
If you do not have the Gatsby CLI installed yet, do it first.
```bash
npm install --global gatsby-cli
```The Gatsby CLI uses Node and npm which you will also need installed. More information can be found on [GatsbyJS.org](https://www.gatsbyjs.org/tutorial/part-one/).
## ๐ Getting Started
Install the starter using the Gatsby new command.
```bash
gatsby new landing-page https://github.com/gillkyle/gatsby-starter-landing-page.git
```Navigate into the project directory and launch the site.
```bash
cd landing-page && gatsby develop
```The site will be opened up in your default browser on http://localhost:8000
Edit code in the `/src`, save your changes, and they'll reload instantly in the browser.
## ๐ง What's inside?
The minimal landing page starter comes with a few plugins installed already, but it's main focus is on staying simple and looking clean. These things are included by default:
- ๐ผ Gatsby Image: images added to the `src/images` folder are automatically optimized by the `gatsby-image` plugin and can be pulled into components with lazy loading and blur up effects
- ๐ Analytics: add your Google Analytics tracking id to `gatsby-config.js` to automatically begin tracking visitors to the site
- ๐บ Sitemap: any new pages added to the site are automically assembled together into a sitemap through `gatsby-plugin-sitemap`
- ๐จ Color Theme: the `src/styles/constants.js` file contains a set of colors and default styles that are applied inline to components on the site that can be overriden with your own styles## ๐งช Experiment
If you want to try playing with the source code in an online playground you can open the repo in Codesandox with this button.
[![Edit gatsby-starter-portfolio-cara](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/gillkyle/gatsby-starter-landing-page/tree/master/)
## ๐ซ Deploy
If you just want to see a site online real fast you can deploy a copy of the site to Netlify with this button.
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/gillkyle/gatsby-starter-landing-page)
To create an optimized build of the site run this command
```bash
gatsby build
```A `/public` folder will be assembled that can be deployed to a service like Netlify, Surge, GitHub Pages, AWS S3, Firebase hosting, or your own file server.