Skip to content

Conversation

@bilouStrike
Copy link
Contributor

This PR aims to close #60 #53

@vercel
Copy link

vercel bot commented Jan 21, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/rtcamp/wp-decoupled/n3leu30cu
✅ Preview: https://wp-decoupled-git-setup-packages.rtcamp.now.sh

@NicestRudeGuy
Copy link
Contributor

@bilouStrike try not to overdo things and keep PRs seperate . its faster and easier to manage things this way

"prettier": "^2.2.1",
"serialize-javascript": "^2.1.2"
}
"name": "wp-decoupled",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dont format the package.json

Copy link
Contributor

@NicestRudeGuy NicestRudeGuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please resolve the conflict

)
)}
<>
<NextSeo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a todo to make the seo data dynamic, that would later come from WordPress

import { NextSeo } from 'next-seo';

const NewProducts = ({ products }) => {
return (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add Prop types for products, using prop-types npm package

pages/index.js Outdated
<span className="product-link">
<img
className="product-image"
src={item.image.sourceUrl}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use optional chaining
item?.image?.sourceUrl

"@storybook/addon-essentials": "^6.1.14",
"@storybook/addon-links": "^6.1.14",
"@storybook/react": "^6.1.14",
"@wordpress/base-styles": "^3.3.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where are we using this package?
@wordpress/base-styles, we need to import it in sass file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Gutenberg Style packages in Next.js

4 participants