Skip to content

Commit

Permalink
FIxed two bugs and added testimonial section
Browse files Browse the repository at this point in the history
  • Loading branch information
AasthaSingh28 committed Oct 14, 2024
1 parent 7f3baa2 commit 255ff92
Show file tree
Hide file tree
Showing 7 changed files with 776 additions and 20 deletions.
145 changes: 142 additions & 3 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"axios": "^1.7.3",
"flowbite-react": "^0.10.2",
"lottie-react": "^2.4.0",
"mdb-react-ui-kit": "^9.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hot-toast": "^2.4.1",
Expand Down Expand Up @@ -49,5 +50,8 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11"
}
}
11 changes: 0 additions & 11 deletions client/src/Components/index.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Header from "./Header/Header.js";
import ProfilePage from "./Profile/ProfilePage";
import HomePage from "./HomePage";
import ProfilePage from "./Profile/ProfilePage.js";
import HomePage from "./HomePage.js";
import Product from "./Product.jsx"
import Footer from "./Footer/Footer.jsx"
import Navbar from "./NavBar/NavBar.jsx";
Expand Down
6 changes: 2 additions & 4 deletions client/src/Pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Newarrivals from "./Newarrivals";
import Review from "./Review";
import Trending from "../Components/Trending";
import Book from "../Components/Card/Book";
import Review from './Review';
import Testimonial from "./Testimonial";

const Home = () => {
const [isLoading, setIsLoading] = useState(true);
Expand Down Expand Up @@ -61,12 +61,10 @@ const Home = () => {
</h2>
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
<Link to="/romance">

<Book
genre="Romance"
description="Explore our collection of romantic novels."
/>

</Link>

<Link to="/action">
Expand Down Expand Up @@ -147,7 +145,6 @@ const Home = () => {
</h2>

<Trending />

</div>
</section>

Expand All @@ -174,6 +171,7 @@ const Home = () => {
</section>

<Review />
<Testimonial />
</>
)}
</div>
Expand Down
Loading

0 comments on commit 255ff92

Please sign in to comment.