🏗 Change demos structure

This commit is contained in:
Daniel Soares
2020-12-11 18:47:46 -03:00
commit 8c022ecc34
7 changed files with 67 additions and 0 deletions

6
content/404.md Normal file
View File

@@ -0,0 +1,6 @@
---
key: '404'
title: '404:'
message: It looks like you're lost...
buttonLabel: Go back home 🏠
---

BIN
content/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 B

14
content/links.md Normal file
View File

@@ -0,0 +1,14 @@
---
key: links
data:
- label: Chat with us on WhatsApp 💬
url: https://wa.me/5545991328593
- label: Follow us on Instagram 📸
url: https://instagram.com/mars.collective
- label: See our portfolio on Behance 🎨
url: https://www.behance.net/marscollective
- label: See what we're coding on Github 🧑‍💻
url: https://github.com/marscollective
- label: Like us on Facebook 👍
url: https://www.facebook.com/marscollective.co
---

BIN
content/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

16
content/metadata.json Normal file
View File

@@ -0,0 +1,16 @@
{
"title": "Link free",
"shortTitle": "Link free",
"siteUrl": "https://themes.marscollective.co/link-free",
"description": "",
"lang": "en",
"logo": "logo.png",
"favicon": "favicon.png",
"rounded": "16",
"colors": {
"DEFAULT": "#FAFAFA",
"highlight": "#00d1b7",
"accent": "#262626",
"background": "#262626"
}
}

14
gatsby-config.js Normal file
View File

@@ -0,0 +1,14 @@
const fs = require(`fs`)
const metadataFile = `./content/metadata.json`
const metadata = fs.existsSync(metadataFile) ? require(metadataFile) : ''
module.exports = {
plugins: [
{
resolve: `@marscollective/gatsby-theme-link-free`,
options: {
metadata
}
}
]
}

17
package.json Normal file
View File

@@ -0,0 +1,17 @@
{
"name": "@marscollective/gatsby-starter-link-free",
"version": "0.0.1",
"private": true,
"scripts": {
"build": "GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES=true gatsby build --log-pages",
"dev": "gatsby develop",
"serve": "gatsby serve",
"clean": "gatsby clean"
},
"dependencies": {
"@marscollective/gatsby-theme-link-free": "^0.0.4",
"gatsby": "^2.28.2",
"react": "^17.0.1",
"react-dom": "^17.0.1"
}
}