mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-08 16:06:13 +02:00
manifest tweak
This commit is contained in:
committed by
Jean-Philippe Sirois
parent
76aedcc516
commit
6ad1a1ae9b
+4
-4
@@ -10,7 +10,7 @@ module.exports = {
|
|||||||
`gatsby-plugin-styled-components`,
|
`gatsby-plugin-styled-components`,
|
||||||
{
|
{
|
||||||
resolve: `gatsby-transformer-remark`,
|
resolve: `gatsby-transformer-remark`,
|
||||||
plugins: [`gatsby-remark-vscode`],
|
plugins: [`gatsby-remark-prismjs`],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
resolve: `gatsby-source-filesystem`,
|
resolve: `gatsby-source-filesystem`,
|
||||||
@@ -32,13 +32,13 @@ module.exports = {
|
|||||||
{
|
{
|
||||||
resolve: `gatsby-plugin-manifest`,
|
resolve: `gatsby-plugin-manifest`,
|
||||||
options: {
|
options: {
|
||||||
name: `gatsby-starter-default`,
|
name: `The Programmers Hangout`,
|
||||||
short_name: `starter`,
|
short_name: `starter`,
|
||||||
start_url: `/`,
|
start_url: `/`,
|
||||||
background_color: `#663399`,
|
background_color: `#663399`,
|
||||||
theme_color: `#663399`,
|
theme_color: `#ba1a2e`,
|
||||||
display: `minimal-ui`,
|
display: `minimal-ui`,
|
||||||
icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site.
|
icon: `src/images/icon.png`, // This path is relative to the root of the site.
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
// this (optional) plugin enables Progressive Web App + Offline functionality
|
// this (optional) plugin enables Progressive Web App + Offline functionality
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
import React from "react";
|
||||||
|
|
||||||
|
const Sidebar = () => { }
|
||||||
|
|
||||||
|
export default Sidebar;
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
export { default as Sidebar } from "./Sidebar";
|
||||||
@@ -3,6 +3,7 @@ authors:
|
|||||||
- "@Xetera"
|
- "@Xetera"
|
||||||
created_at: 2019/07/26
|
created_at: 2019/07/26
|
||||||
updated_at: 2019/07/26
|
updated_at: 2019/07/26
|
||||||
|
title: Introduction to Promises
|
||||||
recommended_reading:
|
recommended_reading:
|
||||||
- javascript/callbacks
|
- javascript/callbacks
|
||||||
- javascript/es6/arrow-functions
|
- javascript/es6/arrow-functions
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
author: "@Xetera"
|
authors:
|
||||||
date: "2019/07/26"
|
- "@Xetera"
|
||||||
|
created_at: "2019/07/26"
|
||||||
---
|
---
|
||||||
|
|
||||||
# Simplifying Promises
|
# Simplifying Promises
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
@@ -1,13 +1,15 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import { graphql } from "gatsby";
|
import { graphql } from "gatsby";
|
||||||
|
import SEO from "../components/SEO";
|
||||||
import Layout from "../components/Layout";
|
import Layout from "../components/Layout";
|
||||||
|
|
||||||
// @todo maybe find alternative type for data
|
// @todo maybe find alternative type for data
|
||||||
const LanguagePost = ({ data }: any) => {
|
const LanguagePost = ({ data }: any) => {
|
||||||
const { html } = data.file.post;
|
const { html, frontmatter } = data.file.post;
|
||||||
console.log(data)
|
console.log(data)
|
||||||
return (
|
return (
|
||||||
<Layout>
|
<Layout>
|
||||||
|
<SEO title={frontmatter.title} />
|
||||||
<div dangerouslySetInnerHTML={{ __html: html }} />
|
<div dangerouslySetInnerHTML={{ __html: html }} />
|
||||||
</Layout >
|
</Layout >
|
||||||
)
|
)
|
||||||
@@ -21,8 +23,8 @@ export const query = graphql`
|
|||||||
post: childMarkdownRemark {
|
post: childMarkdownRemark {
|
||||||
html
|
html
|
||||||
frontmatter {
|
frontmatter {
|
||||||
author
|
authors
|
||||||
date
|
title
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user