[JITERA] Add AuthorDetail Component
Created by: kstayner
Overview
This pull request introduces the AuthorDetail component, which is designed to display detailed information about a specific author. This component will be used in the author profile section of the application.
Changes
-
Created
AuthorDetail.jsx: This new component fetches and displays the author's name, biography, and a list of their published works. -
Added PropTypes: Implemented PropTypes for type-checking the props passed to the
AuthorDetailcomponent, ensuring that the correct data types are used. - Styled the Component: Added basic CSS styles to enhance the visual presentation of the author details.
- Integrated with Redux: Connected the component to the Redux store to fetch author data dynamically based on the selected author.
This implementation will improve the user experience by providing a dedicated view for author details, making it easier for users to learn more about their favorite authors.