Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JSON-LD Local Business #26

Merged
merged 7 commits into from
Dec 24, 2018
Merged

Add JSON-LD Local Business #26

merged 7 commits into from
Dec 24, 2018

Conversation

timReynolds
Copy link
Contributor

@timReynolds timReynolds commented Dec 22, 2018

This adds support for basic local business properties as outlined in the readme.

By default the type will be LocalBusiness but users can provide any valid sub-type as per the documentation.

Images code was taken from product but not turned into a generic helper. This felt like it could be reused but leaving them separate allowed for better isolation. Happy to change this and move buildImages to a common builders file with tests.

Additional changes to reorder imports/exports alphabetically and add the missing product link in the readme are included in the same commit.

Fixes #23

Copy link
Owner

@garmeeh garmeeh left a comment

Choose a reason for hiding this comment

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

Again thanks for the contribution. Some very small comments and some conflicts that need to be fixed. Once addressed I can get this approved and released.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
src/jsonld/localBusiness.jsx Show resolved Hide resolved
Copy link
Owner

@garmeeh garmeeh left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks for making the changes.

@garmeeh garmeeh merged commit 6475a95 into garmeeh:master Dec 24, 2018
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.

2 participants