Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex committed Oct 15, 2018
0 parents commit aa457b9
Show file tree
Hide file tree
Showing 99 changed files with 16,490 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .env.development
@@ -0,0 +1,2 @@
# Override site url for using CMS in local development
# NETLIFY_SITE_URL=https://yousitehere.netlify.com
9 changes: 9 additions & 0 deletions .gitignore
@@ -0,0 +1,9 @@
# Project dependencies
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules
.cache/
# Build directory
public/
static/admin/*.bundle.*
.DS_Store
yarn-error.log
1 change: 1 addition & 0 deletions .nvmrc
@@ -0,0 +1 @@
10
5 changes: 5 additions & 0 deletions .prettierrc
@@ -0,0 +1,5 @@
{
"semi": false,
"singleQuote": true,
"trailingComma": "none"
}
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,3 @@
## 2.0.0 - 2018-10-15

Init Yellow cake
21 changes: 21 additions & 0 deletions LICENSE
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018 Eric Jinks

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.
61 changes: 61 additions & 0 deletions README.md
@@ -0,0 +1,61 @@
# Yellowcake

[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![dependencies](https://david-dm.org/jinksi/netlify-cms-react-starter.svg?style=flat-square)](https://david-dm.org/jinksi/gatsbro)

An opinionated starter project for creating lightning-fast websites with [Gatsby](https://gatsbyjs.org) v2 and [Netlify CMS](https://netlifycms.org) v2.

- **[Gatsby](https://gatsbyjs.org)** static site generator
- **[Netlify CMS](https://github.com/netlify/netlify-cms)** for content management

## See also

[Netlify CMS Docs](https://www.netlifycms.org/docs/)
[Netlify CMS Repo](https://github.com/netlify/netlify-cms)

## Get going

[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/thriveweb/yellowcake&stack=cms)

1. Hit the **Deploy to Netlify** button. This will:

- Clone the repo into your Github account
- Create you a new project on Netlify, build & deploy

1. Once your Netlify project has been created, check a couple of settings:

- Enable **Identity**
- Change **Registration Preferences** to **Invite Only**
- Enable **Git Gateway**

1. Invite users (probably yourself) to enable admin access

- Open the **Identity** tab and hit **Invite Users**

## Show me the CMS!

The CMS lives at [\_\_YOUR_SITE_NAME\_\_.netlify.com/admin](https://__YOUR_SITE_NAME__.netlify.com/admin).

## Developing

1. Clone your repo to your local machine

1. Install dependencies

`yarn` or `npm install`

1. Run the development server

`yarn start` or `npm run start`

If you are adding or editing content locally in the CMS, a couple of things to note:

1. Changes will be pushed to the remote repo.

1. You will be prompted to enter your site's url, this is necessary for Netlify Identity to manage user login. This is stored in `localStorage`, so you might have to empty your browser cache if you are switching projects but remaining on `localhost:3000`.

## Editing CMS fields

The Netlify CMS configuration is located in `public/admin/config.yml`. This is where you will configure the pages, fields, posts and settings that are editable by the CMS.

Find out more in the [Netlify CMS Docs](https://www.netlifycms.org/docs/#configuration).
5 changes: 5 additions & 0 deletions content/_optional.md
@@ -0,0 +1,5 @@
---
featuredImage: /images/logo.svg
---

<!-- Use this to force Gatsby to correctly determine optional images/file schema -->
11 changes: 11 additions & 0 deletions content/infoPages/2018-07-18-this-is-a-test-info-page.md
@@ -0,0 +1,11 @@
---
template: DefaultPage
slug: test-info-page
title: This is a test info page
featuredImage: /images/uploads/vyouw5byhlc.jpeg
---
This is placeholder text that our web designers put here to make sure words appear properly on your website. This text is going to be replaced once the website is completed. You are currently reading text that is written in English, not any other language.

Be careful not to waste too much time reading placeholder text! This text isn’t going to remain here because it doesn't pertain to the website. This paragraph has been copied from a program that automatically generates paragraphs like this.

**It is useful for web designers to use placeholder text so they can easily see what different fonts look like on a realistic paragraph.**
41 changes: 41 additions & 0 deletions content/infoPages/default.md
@@ -0,0 +1,41 @@
---
template: DefaultPage
slug: default
title: Default
featuredImage: /images/uploads/nitish-meena-37745.jpg
---

## This is the DefaultPage template

Paragraphs are separated by a blank line.

The second paragraph. This is placeholder text that our web designers put here to make sure words appear properly on your website. _Italic_, **bold**, and `monospace`.

### Unordered lists:

- this one
- that one
- the other one

### Ordered lists:

1. first item
1. second item
1. third item

> Block quotes are written like so.
>
> They can span multiple paragraphs,
> if you like.
# Heading 1

## Heading 2

### Heading 3

#### Heading 4

##### Heading 5

###### Heading 6
32 changes: 32 additions & 0 deletions content/pages/about.md
@@ -0,0 +1,32 @@
---
template: AboutPage
slug: about
title: About page title
featuredImage: /images/uploads/yellowcake1.jpg
subtitle: Test subtitle
section1: >-
## Lorem Ipsum
[Link test](/images/uploads/yellowcake2.jpg)
### Embed Test
<iframe width="560" height="315"
src="https://www.youtube.com/embed/Js00yn142ic" frameborder="0"
allow="autoplay; encrypted-media" allowfullscreen></iframe>
section2: |-
## This is a Container component
A sem vel nec sodales mi vivamus senectus sed potenti a parturient nascetur
tincidunt nisi pulvinar rhoncus a. Risus imperdiet taciti suspendisse facilisi
a per metus cubilia varius a nostra adipiscing amet ultrices quisque ac mi a.
Dictumst a ultrices mi a dignissim ad fermentum eget a nam et a blandit
scelerisque. Taciti lorem tempor quam vestibulum dis habitasse vestibulum diam
vel est ut proin dis auctor. Suscipit scelerisque orci magna interdum vel
bibendum duis netus a consectetur dui magnis ac aliquet sem posuere tincidunt
vestibulum.
testImage: /images/uploads/paint2.jpg
---
7 changes: 7 additions & 0 deletions content/pages/blog.md
@@ -0,0 +1,7 @@
---
template: BlogIndex
slug: blog
title: Blog
featuredImage: /images/uploads/yellowcake3.jpg
subtitle: Blog subtitle
---
20 changes: 20 additions & 0 deletions content/pages/contact.md
@@ -0,0 +1,20 @@
---
template: ContactPage
slug: contact
title: Contact
featuredImage: /images/uploads/yellowcake2.jpg
subtitle: Contact Page has a subtitle
address: '404 James St, Burleigh Heads QLD 4220'
phone: 0987 123 456
email: example@example.com
---

# Example contact form

This form is setup to use Netlify's form handling:

- the form action is set to the current absolute url: `action: '/contact/'`
- a name attribute is sent with the form's data `'form-name': 'Contact'`
- netlify data attributes are added to the form `data-netlify data-netlify-honeypot`

Find out more in the [Netlify Docs](https://www.netlify.com/docs/form-handling/).
25 changes: 25 additions & 0 deletions content/pages/home.md
@@ -0,0 +1,25 @@
---
template: HomePage
slug: ''
title: Hello World!
featuredImage: /images/uploads/yellowcake.jpg
subtitle: This is the home page subtitle test
meta:
title: ''
---

# Yellowcake

An opinionated starter project for creating lightning-fast websites with [Gatsby](https://gatsbyjs.org) and [Netlify CMS](https://netlifycms.org).

- **[Gatsby](https://gatsbyjs.org)** static site generator
- **[Netlify CMS](https://github.com/netlify/netlify-cms)** for content management

## See also

[Netlify CMS Docs](https://www.netlifycms.org/docs/)
[Netlify CMS Repo](https://github.com/netlify/netlify-cms)

## Get going

[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/thriveweb/yellowcake&stack=cms)
7 changes: 7 additions & 0 deletions content/postCategories/news.md
@@ -0,0 +1,7 @@
---
template: BlogIndex
title: News
subtitle: ''
featuredImage: /images/uploads/wade-meng-381499.jpg
---

6 changes: 6 additions & 0 deletions content/postCategories/updates.md
@@ -0,0 +1,6 @@
---
title: Updates
subtitle: ''
template: BlogIndex
featuredImage: /images/uploads/nitish-meena-37745.jpg
---
12 changes: 12 additions & 0 deletions content/posts/2018-05-25-testing-1-8-2.md
@@ -0,0 +1,12 @@
---
title: Post Three
template: SinglePost
status: Published
date: '2018-05-25'
featuredImage: /images/uploads/yellowcake2.jpg
excerpt: This is placeholder text that our web designers put here to make sure words appear properly on your website. This text is going to be replaced once the website is completed. You are currently reading text that is written in English, not any other language.
---

This is placeholder text that our web designers put here to make sure words appear properly on your website. This text is going to be replaced once the website is completed. You are currently reading text that is written in English, not any other language.

Be careful not to waste too much time reading placeholder text! This text isn’t going to remain here because it doesn't pertain to the website. This paragraph has been copied from a program that automatically generates paragraphs like this. It is useful for web designers to use placeholder text so they can easily see what different fonts look like on a realistic paragraph.
15 changes: 15 additions & 0 deletions content/posts/2018-07-18-gatsby-test.md
@@ -0,0 +1,15 @@
---
template: SinglePost
title: Gatsby Test
status: Published
date: '2018-07-18'
featuredImage: /images/uploads/nitish-meena-37745.jpg
excerpt: This is the excerpt
categories:
- category: Updates
- category: News
---

This is placeholder text that our web designers put here to make sure words appear properly on your website. This text is going to be replaced once the website is completed.

Be careful not to waste too much time reading placeholder text! This text isn’t going to remain here because it doesn't pertain to the website. This paragraph has been copied from a program that automatically generates paragraphs like this. It is useful for web designers to use placeholder text so they can easily see what different fonts look like on a realistic paragraph.
56 changes: 56 additions & 0 deletions content/posts/hello-world.md
@@ -0,0 +1,56 @@
---
template: SinglePost
title: Hello World!
status: Featured / Published
date: '2018-03-27'
featuredImage: /images/uploads/smoke1.jpg
excerpt: >-
Etiam ac quam eget lectus venenatis ullamcorper sit amet non arcu. Nullam
interdum arcu vitae augue pulvinar sodales. Sed non dui diam. Quisque lectus
est, lobortis ac efficitur vitae, posuere a mauris. Phasellus ac dui
pellentesque, lacinia risus ut, imperdiet eros.
categories:
- category: News
meta:
canonicalLink: ''
description: ''
noindex: false
title: ''
---

Paragraphs are separated by a blank line.

![Test Image](/images/uploads/vyouw5byhlc.jpeg)

The second paragraph. This is placeholder text that our web designers put here to make sure words appear properly on your website. _Italic_, **bold**, and `monospace`.

### Unordered lists:

- this one
- that one
- the other one

### Ordered lists:

1. first item
1. second item
1. third item

> Block quotes are written like so.
>
> They can span multiple paragraphs,
> if you like.
## Heading 2

# Heading 1

## Heading 2

### Heading 3

#### Heading 4

##### Heading 5

###### Heading 6
13 changes: 13 additions & 0 deletions content/posts/post-two.md
@@ -0,0 +1,13 @@
---
title: Post Two
template: SinglePost
status: Published
date: '2018-03-28'
featuredImage: /images/uploads/vyouw5byhlc.jpeg
excerpt: This is an excerpt of Post Two
categories:
- category: Updates
---
This is placeholder text that our web designers put here to make sure words appear properly on your website. This text is going to be replaced once the website is completed. You are currently reading text that is written in English, not any other language. Be careful not to waste too much time reading placeholder text! This text isn’t going to remain here because it doesn't pertain to the website.

This paragraph has been copied from a program that automatically generates paragraphs like this. It is useful for web designers to use placeholder text so they can easily see what different fonts look like on a realistic paragraph.
8 changes: 8 additions & 0 deletions content/settings/global.yml
@@ -0,0 +1,8 @@
siteTitle: Whitesmoke
siteUrl: 'https://whitesmoke.netlify.com'
siteDescription: >-
A starter project for creating lightning-fast websites with Gatsby Netlify
CMS.
socialMediaCard:
image: /images/uploads/card-og.png
headerScripts: <!-- Add your analytics scripts / verification meta here -->
7 changes: 7 additions & 0 deletions gatsby-browser.js
@@ -0,0 +1,7 @@
/**
* Implement Gatsby's Browser APIs in this file.
*
* See: https://www.gatsbyjs.org/docs/browser-apis/
*/

// You can delete this file if you're not using it

0 comments on commit aa457b9

Please sign in to comment.