| 1 |
import { __ } from '@wordpress/i18n' |
| 2 |
import { Button } from '@wordpress/components' |
| 3 |
|
| 4 |
export default function FeedbackNotice() { |
| 5 |
return ( |
| 6 |
<> |
| 7 |
<span className="text-black"> |
| 8 |
{__( |
| 9 |
'Tell us how to make the Extendify Library work better for you', |
| 10 |
'extendify', |
| 11 |
)} |
| 12 |
</span> |
| 13 |
<span className="px-2 opacity-50" aria-hidden="true"> |
| 14 |
| |
| 15 |
</span> |
| 16 |
<div className="flex space-x-2 justify-center items-center"> |
| 17 |
<Button |
| 18 |
variant="link" |
| 19 |
className="text-black underline hover:no-underline p-0 h-auto" |
| 20 |
href={`https://extendify.com/feedback/?utm_source=${window.extendifyData.sdk_partner}&utm_medium=library&utm_campaign=feedback-notice&utm_content=give-feedback`} |
| 21 |
target="_blank"> |
| 22 |
{__('Give feedback', 'extendify')} |
| 23 |
</Button> |
| 24 |
</div> |
| 25 |
</> |
| 26 |
) |
| 27 |
} |
| 28 |
|