Skip to content

New Functionality: Add Share Button#43

Open
jwplante wants to merge 2 commits intojpbulman:mainfrom
jwplante:main
Open

New Functionality: Add Share Button#43
jwplante wants to merge 2 commits intojpbulman:mainfrom
jwplante:main

Conversation

@jwplante
Copy link

The proposed changes are the addition of a Share button to the Recipe page, which upon being pressed will copy the page's URL to the clipboard.

This also adds the following CSS selectors to the stylesheet:

  • button, type "button"
  • button, type "button", hover
  • button, type "button", when disabled

Color scheme was mostly picked by looks, but can be changed if needed.

One consideration is also the method of copying the text to the clipboard: it is supported in most of the modern browsers, but not ubiquitous: it is unsupported on IE11.

@vercel
Copy link

vercel bot commented Mar 28, 2022

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/jpbulman/only-the-recipe/BzikZmsvWjMTCC54VFcgxGxqwoyq
✅ Preview: https://only-the-recipe-git-fork-jwplante-main-jpbulman.vercel.app

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.

1 participant