apertium-html-tools
apertium-html-tools copied to clipboard
Add feedback button functionality
Fixes #495
Add feedback button functionality to the website's interface.
- App Component: Import and add the
FeedbackButtoncomponent inside theMatomoProvidercomponent insrc/App.tsx. - CSS Styling: Add styles for the
.feedback-buttonclass insrc/app.cssto position and style the feedback button. - Feedback Button Component: Create a new
FeedbackButtoncomponent insrc/components/FeedbackButton.tsxthat renders a floating button and opens a modal with a feedback form on click. - Feedback Form Component: Create a new
FeedbackFormcomponent insrc/components/FeedbackForm.tsxthat renders a modal with a form for user feedback and handles form submission.
For more details, open the Copilot Workspace session.