[JITERA] Add AuthorDetail Component
Created by: kstayner
Overview
This pull request introduces the AuthorDetail component, which is responsible for displaying detailed information about a specific author. This component will enhance the user experience by providing a dedicated view for author profiles.
Changes
-
Created
AuthorDetail.jsx:- Implemented the main structure of the component, including props for receiving author data.
- Added state management to handle loading and error states.
-
Styling:
- Added basic CSS styles to improve the layout and presentation of the author details.
- Ensured responsiveness for better viewing on different screen sizes.
-
Integration:
- Integrated the component with the existing author data fetching logic to display real-time information.
- Added error handling to manage cases where author data may not be available.
-
Testing:
- Wrote unit tests to ensure the component renders correctly with various author data inputs.
- Included tests for loading and error states to ensure robustness.
This component will be a key part of the author management feature, allowing users to view detailed information about authors in a user-friendly manner.