diff --git a/src/components/RoomCardInfo/images/flower.svg b/public/images/RoomCardInfoflower.svg similarity index 100% rename from src/components/RoomCardInfo/images/flower.svg rename to public/images/RoomCardInfoflower.svg diff --git a/src/components/RoomCardInfo/images/flower2.svg b/public/images/RoomCardInfoflower2.svg similarity index 100% rename from src/components/RoomCardInfo/images/flower2.svg rename to public/images/RoomCardInfoflower2.svg diff --git a/src/components/RoomCardInfo/images/qr-code.svg b/public/images/RoomCardInfoqr-code.svg similarity index 100% rename from src/components/RoomCardInfo/images/qr-code.svg rename to public/images/RoomCardInfoqr-code.svg diff --git a/src/components/RoomCardInfo/index.js b/src/components/CardDesgin/RoomCardInfo/index.js similarity index 92% rename from src/components/RoomCardInfo/index.js rename to src/components/CardDesgin/RoomCardInfo/index.js index f7b9e71..ec61582 100644 --- a/src/components/RoomCardInfo/index.js +++ b/src/components/CardDesgin/RoomCardInfo/index.js @@ -1,14 +1,11 @@ import React from "react"; import QRCode from "react-qr-code"; -import qrCode from "./images/qr-code.svg"; -import flower2 from "./images/flower2.svg"; - const RoomCardInfo = ({ items }) => { return (
flower diff --git a/src/components/CardDesgin/index.js b/src/components/CardDesgin/index.js index fb563e9..a9ebea2 100644 --- a/src/components/CardDesgin/index.js +++ b/src/components/CardDesgin/index.js @@ -9,6 +9,7 @@ import CardDesign3 from "./CardDesign3"; import CustomToast from "./CustomToast"; import CustomToast2 from "./CustomToast2"; import ProductStatusCard from "./ProductStatusCard"; +import RoomCardInfo from "./RoomCardInfo"; function CardDesgin() { const list = { @@ -21,6 +22,7 @@ function CardDesgin() { 7: , 8: , 9: , + 10: , }; const [type, setType] = useState(1); return (