-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ feat: Add credits button and modal functionality in App.tsx
- Added `CreditsButton` component in `client/src/ui/CreditsButton.tsx`. - Imported `CreditsButton` component in `client/src/App.tsx`. - Updated JSX in `App` component to include the `CreditsButton` component. - Created a `modal-medium` CSS class in `client/src/index.css` for the styling of the modal. - Added `Modal` component from 'react-modal' library in `App` component to show a modal when the credits button is clicked. - Added a close button in the modal header to close the modal. Co-authored-by: [Your Name] <[Your Email]>
- Loading branch information
Showing
5 changed files
with
49 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters