mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 09:15:58 +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`,
|
||||
{
|
||||
resolve: `gatsby-transformer-remark`,
|
||||
plugins: [`gatsby-remark-vscode`],
|
||||
plugins: [`gatsby-remark-prismjs`],
|
||||
},
|
||||
{
|
||||
resolve: `gatsby-source-filesystem`,
|
||||
@@ -32,13 +32,13 @@ module.exports = {
|
||||
{
|
||||
resolve: `gatsby-plugin-manifest`,
|
||||
options: {
|
||||
name: `gatsby-starter-default`,
|
||||
name: `The Programmers Hangout`,
|
||||
short_name: `starter`,
|
||||
start_url: `/`,
|
||||
background_color: `#663399`,
|
||||
theme_color: `#663399`,
|
||||
theme_color: `#ba1a2e`,
|
||||
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
|
||||
|
||||
@@ -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"
|
||||
created_at: 2019/07/26
|
||||
updated_at: 2019/07/26
|
||||
title: Introduction to Promises
|
||||
recommended_reading:
|
||||
- javascript/callbacks
|
||||
- javascript/es6/arrow-functions
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
author: "@Xetera"
|
||||
date: "2019/07/26"
|
||||
authors:
|
||||
- "@Xetera"
|
||||
created_at: "2019/07/26"
|
||||
---
|
||||
|
||||
# Simplifying Promises
|
||||
|
||||
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
@@ -1,13 +1,15 @@
|
||||
import React from "react";
|
||||
import { graphql } from "gatsby";
|
||||
import SEO from "../components/SEO";
|
||||
import Layout from "../components/Layout";
|
||||
|
||||
// @todo maybe find alternative type for data
|
||||
const LanguagePost = ({ data }: any) => {
|
||||
const { html } = data.file.post;
|
||||
const { html, frontmatter } = data.file.post;
|
||||
console.log(data)
|
||||
return (
|
||||
<Layout>
|
||||
<SEO title={frontmatter.title} />
|
||||
<div dangerouslySetInnerHTML={{ __html: html }} />
|
||||
</Layout >
|
||||
)
|
||||
@@ -21,8 +23,8 @@ export const query = graphql`
|
||||
post: childMarkdownRemark {
|
||||
html
|
||||
frontmatter {
|
||||
author
|
||||
date
|
||||
authors
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user