[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 enhance the user experience by providing a dedicated view for author profiles.
Changes Explained
-
Created
AuthorDetail.jsx: This new component is responsible for rendering the author's name, biography, and a list of their published works. - Added Prop Types: Implemented prop types to ensure that the component receives the correct data types for the author information.
- Styled the Component: Added basic CSS styles to improve 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.
-
Unit Tests: Added unit tests to verify the functionality of the
AuthorDetailcomponent, ensuring it behaves as expected with various props.
This component will be a crucial part of the author management feature, allowing users to view detailed information about authors in a user-friendly manner.