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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user