mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-05 07:56:15 +02:00
added user-fetching functionality on build
This commit is contained in:
committed by
Jean-Philippe Sirois
parent
1d93f4e160
commit
1b6525f4b4
@@ -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
|
||||
@@ -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"
|
||||
---
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
---
|
||||
author: "@Xetera"
|
||||
authors:
|
||||
- "Xetera#0001"
|
||||
date: 2019/06/26
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user