added user-fetching functionality on build

This commit is contained in:
Xetera
2019-07-29 04:12:04 -04:00
committed by Jean-Philippe Sirois
parent 1d93f4e160
commit 1b6525f4b4
15 changed files with 172 additions and 32 deletions
+14
View File
@@ -0,0 +1,14 @@
import React from "react"
function DiscordButton({
lined = false,
children,
}: React.PropsWithChildren<{ lined: boolean }>) {
return (
<button>
<div>{children}</div>
</button>
)
}
export default DiscordButton
+2 -1
View File
@@ -45,7 +45,8 @@ const ALL_DOCS = graphql`
relativePath
childMarkdownRemark {
frontmatter {
author
authors
title
date
}
}
@@ -1,10 +0,0 @@
---
authors:
- "@Xetera"
created_at: 2019/07/27
title: Callbacks
---
# Callbacks are everywhere
If you've been doing javascript for any amount of time you'll have noticed that callbacks appear in just about every single piece of code.
@@ -1,6 +1,6 @@
---
authors:
- "@veksen"
- "veksen#1060"
created_at: "2019/07/27"
---
@@ -1,6 +1,6 @@
---
authors:
- "@Xetera"
- "Xetera#0001"
created_at: 2019/07/26
updated_at: 2019/07/26
title: Introduction to Promises
@@ -1,6 +1,6 @@
---
authors:
- "@Xetera"
- "Xetera#0001"
created_at: "2019/07/26"
---
@@ -1,6 +1,6 @@
---
authors:
- "@supergrecko"
- "supergrecko#3434"
created_at: "2019/07/27"
---
+2 -1
View File
@@ -1,5 +1,6 @@
---
author: "@Xetera"
authors:
- "Xetera#0001"
date: 2019/06/26
---