-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from Valik3201/feature/local-storage
feat: add book generation with localStorage
- Loading branch information
Showing
5 changed files
with
267 additions
and
135 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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import './shoppingList.js'; | ||
import './localStorage.js'; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,33 @@ | ||
<h1 class="heading">Shopping <span class="heading-span"> List</span></h1> | ||
<div class="book-message">This page is empty, add some books and proceed to order.</div> | ||
<img class="books-img" src="./images/books.png" alt="books" /> | ||
|
||
<!--Karta książki--> | ||
<div class="book-card"> | ||
<img class="books-card-img" src="./images/book-example.jpg" alt="books" /> | ||
<div class="books-container"></div> | ||
|
||
<div class="book-description"> | ||
<button class="button-delete" type="button"> | ||
<svg class="icon-trash"> | ||
<use href="/src/images/icons.svg#icon-trash"></use> | ||
</svg> | ||
</button> | ||
<p class="book-title">I will find you</p> | ||
<p class="book-genre">Hardcover fiction</p> | ||
<p class="book-plot"> | ||
David Burroughs was once a devoted father to his three-year-old son Matthew, living a dream | ||
life just a short drive away from the working-class suburb where he and his wife, Cheryl, | ||
first fell in love--until one fateful night when David woke suddenly to discover Matthew had | ||
been murdered while David was asleep just down the hall. | ||
</p> | ||
<p class="book-author">Harlan Coben</p> | ||
|
||
<!--<a href="https://www.amazon.pl/"> <img href=""> <a/> --> | ||
<!--<a href=""> <img href=""> <a/> --> | ||
</div> | ||
<div class="pagination"> | ||
<button class="go-to-first-page"> | ||
<svg width="24" height="24"> | ||
<use href="/src/images/icons.svg#icon-slider-pages-left"></use> | ||
</svg> | ||
<svg width="24" height="24"> | ||
<use href="/src/images/icons.svg#icon-slider-pages-left"></use> | ||
</svg> | ||
</button> | ||
<button class="prev-page"> | ||
<svg width="24" height="24"> | ||
<use href="/src/images/icons.svg#icon-slider-pages-left"></use> | ||
</svg> | ||
</button> | ||
<button class="first-page">1</button> | ||
<button class="second-page">2</button> | ||
<button class="third-page">3</button> | ||
<button class="morePages">...</button> | ||
<button class="next-page"> | ||
<svg width="24" height="24"> | ||
<use href="/src/images/icons.svg#icon-slider-pages-right"></use> | ||
</svg> | ||
</button> | ||
<button class="go-to-last-page"> | ||
<svg width="24" height="24"> | ||
<use href="/src/images/icons.svg#icon-slider-pages-right"></use> | ||
</svg> | ||
</button> | ||
</div> | ||
<!--<div class="pagination"> | ||
<button id="prevPage">Poprzednia</button> | ||
<button id="nextPage">Następna</button> | ||
</div> --> |
Oops, something went wrong.