Skip to content

Commit

Permalink
redo
Browse files Browse the repository at this point in the history
  • Loading branch information
Karanvir committed Jul 2, 2024
1 parent 0b702e5 commit 67b6633
Show file tree
Hide file tree
Showing 20 changed files with 43 additions and 31 deletions.
1 change: 0 additions & 1 deletion README.md

This file was deleted.

9 changes: 9 additions & 0 deletions assets/Library.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/Undraw_Books.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/atomic habits.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/book-1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/book-2.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/book-3.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/book-4.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/book-5.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/book-6.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/book-7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/book-8.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/crack the coding interview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/david goggins.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/deep work.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/wave.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions books.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<section>
<nav>
<div class="nav__container">
<img class="logo" src="assets/assets/Library.svg" alt="">
<img class="logo" src="assets/Library.svg" alt="">
<ul class="nav__links">
<li><a href="#" class="nav__link">Home</a></li>
<li><a href="#" class="nav__link">Contact</a></li>
Expand Down Expand Up @@ -54,7 +54,7 @@ <h2 class="section__title books__header--title">
</h2>
<div class="book">
<figure class="book__img--wrapper">
<img class="book__img" src="assets/assets/atomic habits.jpg" alt="">
<img class="book__img" src="assets/atomic habits.jpg" alt="">
</figure>
<div class="book__title">
Atomic Habits
Expand All @@ -80,7 +80,7 @@ <h2 class="section__title books__header--title">
<div class="row row__column">
<a href="#">
<figure class="footer__logo">
<img src="assets/assets/Library.svg" class="footer__logo--img" alt="">
<img src="assets/Library.svg" class="footer__logo--img" alt="">
</figure>
</a>
<div class="footer__list">
Expand Down
22 changes: 11 additions & 11 deletions books.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,87 +6,87 @@ function getBooks() {
{
id: 1,
title: "Crack the Coding Interview",
url: "assets/assets/crack the coding interview.png",
url: "assets/crack the coding interview.png",
originalPrice: 49.95,
salePrice: 14.95,
rating: 4.5,
},
{
id: 2,
title: "Atomic Habits",
url: "assets/assets/atomic habits.jpg",
url: "assets/atomic habits.jpg",
originalPrice: 39,
salePrice: null,
rating: 5,
},
{
id: 3,
title: "Deep Work",
url: "assets/assets/deep work.jpeg",
url: "assets/deep work.jpeg",
originalPrice: 29,
salePrice: 12,
rating: 5,
},
{
id: 4,
title: "The 10X Rule",
url: "assets/assets/book-1.jpeg",
url: "assets/book-1.jpeg",
originalPrice: 44,
salePrice: 19,
rating: 4.5,
},
{
id: 5,
title: "Be Obsessed Or Be Average",
url: "assets/assets/book-2.jpeg",
url: "assets/book-2.jpeg",
originalPrice: 32,
salePrice: 17,
rating: 4,
},
{
id: 6,
title: "Rich Dad Poor Dad",
url: "assets/assets/book-3.jpeg",
url: "assets/book-3.jpeg",
originalPrice: 70,
salePrice: 12.5,
rating: 5,
},
{
id: 7,
title: "Cashflow Quadrant",
url: "assets/assets/book-4.jpeg",
url: "assets/book-4.jpeg",
originalPrice: 11,
salePrice: 10,
rating: 4,
},
{
id: 8,
title: "48 Laws of Power",
url: "assets/assets/book-5.jpeg",
url: "assets/book-5.jpeg",
originalPrice: 38,
salePrice: 17.95,
rating: 4.5,
},
{
id: 9,
title: "The 5 Second Rule",
url: "assets/assets/book-6.jpeg",
url: "assets/book-6.jpeg",
originalPrice: 35,
salePrice: null,
rating: 4,
},
{
id: 10,
title: "Your Next Five Moves",
url: "assets/assets/book-7.jpg",
url: "assets/book-7.jpg",
originalPrice: 40,
salePrice: null,
rating: 4,
},
{
id: 11,
title: "Mastery",
url: "assets/assets/book-8.jpeg",
url: "assets/book-8.jpeg",
originalPrice: 30,
salePrice: null,
rating: 4.5,
Expand Down
Loading

0 comments on commit 67b6633

Please sign in to comment.