diff --git a/lazy-timer-fe/src/components/Chat.jsx b/lazy-timer-fe/src/components/Chat.jsx new file mode 100644 index 0000000..3eb84a6 --- /dev/null +++ b/lazy-timer-fe/src/components/Chat.jsx @@ -0,0 +1,63 @@ +import React from 'react'; +import { MdOutlineCancel } from 'react-icons/md'; + +import { Button } from '.'; +import { chatData } from '../data/dummy'; +import { useStateContext } from '../contexts/ContextProvider'; + +const Chat = () => { + const { currentColor } = useStateContext(); + + return ( +
+
+
+

Messages

+ +
+
+
+ {chatData?.map((item, index) => ( +
+
+ {item.message} + +
+
+

{item.message}

+

{item.desc}

+

{item.time}

+
+
+ ))} +
+
+
+
+ ); +}; + +export default Chat; diff --git a/lazy-timer-fe/src/components/Footer.jsx b/lazy-timer-fe/src/components/Footer.jsx new file mode 100644 index 0000000..fab337a --- /dev/null +++ b/lazy-timer-fe/src/components/Footer.jsx @@ -0,0 +1,11 @@ +import React from 'react'; + +const Footer = () => ( +
+

+ © 2022 All rights reserved by Shoppy.com +

+
+); + +export default Footer;