From 10d0dcf8ffc78d6224b084ae942a15ac74211f2e Mon Sep 17 00:00:00 2001 From: RbAvci Date: Sun, 3 Mar 2024 21:00:07 +0000 Subject: [PATCH 1/4] implemented deck component --- src/components/App/App.jsx | 6 +++--- src/components/Card/Card.jsx | 6 ++++-- src/components/Card/Card.scss | 11 +++++++++++ src/components/Deck/Deck.jsx | 22 +++++++++++++--------- src/components/Deck/Deck.scss | 1 + src/data/fakeCards.json | 8 +++++--- 6 files changed, 37 insertions(+), 17 deletions(-) diff --git a/src/components/App/App.jsx b/src/components/App/App.jsx index 5f301e4..1670de8 100644 --- a/src/components/App/App.jsx +++ b/src/components/App/App.jsx @@ -1,14 +1,14 @@ import Bookings from "@/components/Bookings/Bookings.jsx"; import "./App.scss"; import AppHeader from "../AppHeader/AppHeader.jsx"; -import Card from "../Card/Card"; import Footer from "../Footer/Footer"; +import Deck from "../Deck/Deck"; import Restaurant from "../Restaurant/Restaurant.jsx"; const App = () => (
- - + +