Skip to content

Commit 0d0de30

Browse files
committed
Move Gatsby theme out of workspace
1 parent ee98732 commit 0d0de30

File tree

18 files changed

+505
-6569
lines changed

18 files changed

+505
-6569
lines changed
File renamed without changes.
File renamed without changes.

packages/gatsby-theme-ui-blog/gatsby-config.js renamed to deprecated/gatsby-theme-ui-blog/gatsby-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module.exports = options => ({
1+
module.exports = (options) => ({
22
plugins: [
33
{
44
resolve: 'gatsby-theme-blog-core',

packages/gatsby-theme-ui-blog/src/gatsby-theme-blog-core/components/post.js renamed to deprecated/gatsby-theme-ui-blog/src/gatsby-theme-blog-core/components/post.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { jsx } from 'theme-ui'
22
import { MDXRenderer } from 'gatsby-plugin-mdx'
33
import Post from '../../post'
44

5-
export default props => {
5+
export default (props) => {
66
const { body } = props.data.blogPost
77
const children = jsx(MDXRenderer, { children: body })
88

packages/gatsby-theme-ui-blog/src/gatsby-theme-blog-core/components/posts.js renamed to deprecated/gatsby-theme-ui-blog/src/gatsby-theme-blog-core/components/posts.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { jsx } from 'theme-ui'
22
import Posts from '../../posts'
33

4-
export default props => {
5-
const posts = props.data.allBlogPost.edges.map(e => e.node)
4+
export default (props) => {
5+
const posts = props.data.allBlogPost.edges.map((e) => e.node)
66

77
return jsx(Posts, {
88
...props,

0 commit comments

Comments
 (0)