Skip to content

Commit

Permalink
Update: the README and view for the bookDetails
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonSiby committed Oct 12, 2023
1 parent 8855ded commit 3d5c465
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Add books to a shelf, read later, edit the book information, and categorize your
This repository is setup to run a consistent default code format with Prettier and linting with Eslint. Before commit, lint-staged and Husky is ured run enforce these rules so that every commit adheres to the standards set for everyone contributing to the repository.
</h6>

**Application Functionality**

![App Functionality](/src/assets/images/helm_bookstore.gif)

**Husky and Lint-Stage Sample**

![husky-lint](/src/assets/images/husky-lintstaged.png)
Binary file added src/assets/images/helm_bookstore.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion src/assets/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ body {
padding: 0;
font-size: 15px;
font-family: Arial, Helvetica, sans-serif;
background-color: #f5f5f5;
background: rgb(221, 218, 218) !important;
margin: 0;
padding: 0;
height: 100vh;
Expand All @@ -25,4 +25,10 @@ body {
min-height: 10rem;
}
}

.bookDetailsPage {
height: calc(100vh - 7rem);
max-width: 500px;
margin: 0 auto;
}
}
5 changes: 4 additions & 1 deletion src/components/UpdateBook/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ const UpdateBook = () => {
}

return (
<form className="d-flex mt-3">
<form className="d-flex flex-column justify-content-center align-items-center mt-3 bookDetailsPage">
<div className="text-center text-info my-3">
<h5>Details for {formData.title}</h5>
</div>
<div className="row">
<div className="col col-md-6 form-group my-2">
<input
Expand Down

0 comments on commit 3d5c465

Please sign in to comment.