-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
5,171 additions
and
426 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
// export * from './wrapper' | ||
export * from './wrapper' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
// import React from "react" | ||
// exports.onRenderBody = ({ setPreBodyComponents }) => { | ||
// setPreBodyComponents(<h1>LA LA LA</h1>) | ||
// } | ||
export * from './wrapper' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
// import {blocks, fields} from '@snek-at/jaen-pages' | ||
// import * as React from 'react' | ||
import {blocks, fields} from '@snek-at/jaen-pages' | ||
import * as React from 'react' | ||
|
||
// type CardBlockType = {body: string; body2: string} | ||
type CardBlockType = {body: string; body2: string} | ||
|
||
// export const TestBlock: blocks.BC<CardBlockType> = ({ | ||
// values, | ||
// streamFieldWidth | ||
// }) => { | ||
// return ( | ||
// <> | ||
// <div>{values.body}</div> | ||
// <div>{values.body2}</div> | ||
// </> | ||
// ) | ||
// } | ||
export const TestBlock: blocks.BC<CardBlockType> = ({ | ||
values, | ||
streamFieldWidth | ||
}) => { | ||
return ( | ||
<> | ||
<div>{values.body}</div> | ||
<div>{values.body2}</div> | ||
</> | ||
) | ||
} | ||
|
||
// TestBlock.BlockType = 'TestBlock' | ||
// TestBlock.BlockFields = { | ||
// body: fields.TextField, | ||
// body2: fields.TextField | ||
// } | ||
TestBlock.BlockType = 'TestBlock' | ||
TestBlock.BlockFields = { | ||
body: fields.TextField, | ||
body2: fields.TextField | ||
} | ||
|
||
// TestBlock.defaultValues = { | ||
// body: 'Body', | ||
// body2: 'Body2' | ||
// } | ||
TestBlock.defaultValues = { | ||
body: 'Body', | ||
body2: 'Body2' | ||
} | ||
|
||
// export default TestBlock | ||
export default TestBlock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
// import { CMSProvider } from "@snek-at/jaen-pages" | ||
import {ChakraProvider} from '@chakra-ui/react' | ||
import * as React from 'react' | ||
|
||
// import * as React from "react" | ||
|
||
// export const wrapRootElement = ({ element }) => { | ||
// return <CMSProvider templates={[]}>{element}</CMSProvider> | ||
// } | ||
export const wrapRootElement = ({element}) => { | ||
return <ChakraProvider resetCSS={false}>{element}</ChakraProvider> | ||
} |
Oops, something went wrong.