[ ] A design for what the social sharing component should look like (presumably this design will be reusable between the ResultCard component, and the business profile template).
User Story
As a user
I want to be able to easily share business listings I find on RBB
So I can help businesses I like get more exposure
Acceptance Criteria
[ ] A user can share businesses by clicking different social icons within a <ResultCard>
[ ] A user can share businesses by clicking different social icons within an individual business page
[ ] When a user shares a business by clicking on a Twitter icon, a popup window should appear with a pre-written Tweet using the following template:
I used @rebuildingblack to find this great Black Owned business! Check out [BUSINESS_NAME] here: [LINK_TO_BIZ_PAGE_ON_RBB]
[ ] When a user shares a business by clicking on a Facebook icon, a popup window should appear with a link to the shared businesses profile page on RBB
Is your feature request related to a problem? Please describe.
N/a
Describe the solution you'd like
This feature should be a reusable component that can be integrated both within a <ResultCard>and within the individual business profile template. The component should be able to take in the business name, and the URL to the business profile page on the RBB site. We should be able to leverage basic share links for Facebook and Twitter.
For example:
<a href="https://twitter.com/intent/tweet?url=https://rebuildblackbusiness.com&text=Rebuild%20Black%20Business&via=rebuildingblack">Share on Twitter</a>
<a href="https://www.facebook.com/sharer.php?u=https://rebuildblackbusiness.com">Share on Facebook</a>
Prerequisites
ResultCard
component, and the business profile template).User Story
As a user I want to be able to easily share business listings I find on RBB So I can help businesses I like get more exposure
Acceptance Criteria
<ResultCard>
Is your feature request related to a problem? Please describe.
N/a
Describe the solution you'd like
This feature should be a reusable component that can be integrated both within a
<ResultCard>
and within the individual business profile template. The component should be able to take in the business name, and the URL to the business profile page on the RBB site. We should be able to leverage basic share links for Facebook and Twitter.For example: