-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from clean-commit/0.4.0
0.4.0
- Loading branch information
Showing
24 changed files
with
499 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"timestamp":1609420980313,"hash":"ac50634ff82262e6dd980c51fe15d13d","assets":{"/dev-404-page":{"/fonts/Wotfard/wotfard-regular-webfont.woff2":true},"/":{"/fonts/Wotfard/wotfard-regular-webfont.woff2":true},"/404.html":{"/fonts/Wotfard/wotfard-regular-webfont.woff2":true},"/404":{"/fonts/Wotfard/wotfard-regular-webfont.woff2":true}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import '@/styles/main.scss' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,64 @@ | ||
import seo from '@/cms/partials/seo' | ||
|
||
const posts = { | ||
name: "blog", | ||
label: "Articles", | ||
description: "Articles content", | ||
folder: "content/blog", | ||
slug: "{{slug}}", | ||
const collection = { | ||
name: 'blog', | ||
label: 'Articles', | ||
editor: { | ||
preview: false, | ||
}, | ||
description: 'Articles content', | ||
folder: 'content/blog', | ||
slug: '{{slug}}', | ||
create: true, | ||
fields: [ | ||
{ | ||
label: "Type", | ||
name: "type", | ||
widget: "hidden", | ||
default: "article" | ||
label: 'Type', | ||
name: 'type', | ||
widget: 'hidden', | ||
default: 'article', | ||
}, | ||
{ | ||
label: "Layout", | ||
name: "layout", | ||
widget: "hidden", | ||
default: "Article" | ||
label: 'Layout', | ||
name: 'layout', | ||
widget: 'hidden', | ||
default: 'Article', | ||
}, | ||
{ | ||
label: "Title", | ||
name: "title", | ||
widget: "string", | ||
default: "" | ||
label: 'Title', | ||
name: 'title', | ||
widget: 'string', | ||
default: '', | ||
}, | ||
{ | ||
label: "Featured Image", | ||
name: "thumbnail", | ||
widget: "image", | ||
default: "", | ||
required: false | ||
label: 'Featured Image', | ||
name: 'thumbnail', | ||
widget: 'image', | ||
default: '', | ||
required: false, | ||
}, | ||
{ | ||
label: "Date", | ||
name: "date", | ||
widget: "datetime", | ||
default: "", | ||
required: false | ||
label: 'Date', | ||
name: 'date', | ||
widget: 'datetime', | ||
default: '', | ||
required: false, | ||
}, | ||
{ | ||
label: "Excerpt", | ||
name: "excerpt", | ||
widget: "markdown", | ||
default: "", | ||
required: false | ||
label: 'Excerpt', | ||
name: 'excerpt', | ||
widget: 'markdown', | ||
default: '', | ||
required: false, | ||
}, | ||
{ | ||
label: "Body", | ||
name: "body", | ||
widget: "markdown", | ||
default: "", | ||
required: false | ||
label: 'Body', | ||
name: 'body', | ||
widget: 'markdown', | ||
default: '', | ||
required: false, | ||
}, | ||
seo | ||
] | ||
seo, | ||
], | ||
} | ||
|
||
|
||
export default posts | ||
export default collection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,15 @@ | ||
import React from 'react' | ||
import { Link } from 'gatsby' | ||
import ReactSVG from 'react-svg' | ||
|
||
const Footer = class extends React.Component { | ||
render() { | ||
return ( | ||
<footer className='footer py-5 absolute bottom-0 w-full'> | ||
<div className='container text-center'> | ||
<a href="https://cleancommit.io" className="text-grey text-center text-sm font-regular"> | ||
Created by cleancommit.io | ||
</a> | ||
</div> | ||
</footer> | ||
) | ||
} | ||
export default function Footer() { | ||
return ( | ||
<footer className='footer py-5 absolute bottom-0 w-full'> | ||
<div className='container text-center'> | ||
<a | ||
href='https://cleancommit.io' | ||
className='text-grey text-center text-sm font-regular'> | ||
Created by cleancommit.io | ||
</a> | ||
</div> | ||
</footer> | ||
) | ||
} | ||
|
||
export default Footer |
Oops, something went wrong.