diff --git a/package.json b/package.json index 79380f144f..8d98545d6b 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "mathjs": "^11.12.0", "p5": "^1.9.0", "react": "^18.2.0", + "react-chatbot-kit": "^2.2.2", "react-codemirror2": "^7.3.0", "react-color": "^2.19.3", "react-confetti": "^6.1.0", diff --git a/src/plays/schulte-tables/components/SchulteTable.jsx b/src/plays/schulte-tables/components/SchulteTable.jsx index 623456388d..b7c7b9eec6 100644 --- a/src/plays/schulte-tables/components/SchulteTable.jsx +++ b/src/plays/schulte-tables/components/SchulteTable.jsx @@ -10,7 +10,7 @@ const SchulteTable = ({ nextNumber, setNextNumber, data, setStart, start, setRes return (
-
+

Time:{' '} diff --git a/src/plays/schulte-tables/styles.css b/src/plays/schulte-tables/styles.css index 0fae1b5c1e..471d79bd4c 100644 --- a/src/plays/schulte-tables/styles.css +++ b/src/plays/schulte-tables/styles.css @@ -29,7 +29,7 @@ cursor: pointer; } -.flex { +.schulte-table-flex { display: flex; margin: 0 auto; justify-content: space-between; diff --git a/src/plays/zoomlogin/Readme.md b/src/plays/zoomlogin/Readme.md new file mode 100644 index 0000000000..36c61ed82a --- /dev/null +++ b/src/plays/zoomlogin/Readme.md @@ -0,0 +1,30 @@ +# zoomlogin + +Clone project for the zoom login page and the help chatbot + +## Play Demographic + +- Language: js +- Level: Intermediate + +## Creator Information + +- User: day-lee +- Gihub Link: https://github.com/day-lee +- Blog: +- Video: + +## Implementation Details + +- Login form validation +- Help chatbot, customizing the React-Chatbot-Library +- Responsive design to display ads or Zoom images based on screen size +- Accessibility features, including form submission via Enter key, alt attributes, aria-labels, and button hover saturation changes + +## Consideration + +Update all considerations(if any) + +## Resources + +react-chatbot-kit diff --git a/src/plays/zoomlogin/Zoomlogin.js b/src/plays/zoomlogin/Zoomlogin.js new file mode 100644 index 0000000000..a16ba5b769 --- /dev/null +++ b/src/plays/zoomlogin/Zoomlogin.js @@ -0,0 +1,24 @@ +import PlayHeader from 'common/playlists/PlayHeader'; +import './styles.css'; + +import App from 'plays/zoomlogin/components/App'; + +// WARNING: Do not change the entry componenet name +function Zoomlogin(props) { + // Your Code Start below. + + return ( + <> +
+ +
+ {/* Your Code Starts Here */} + + {/* Your Code Ends Here */} +
+
+ + ); +} + +export default Zoomlogin; diff --git a/src/plays/zoomlogin/assets/cancelCircle.svg b/src/plays/zoomlogin/assets/cancelCircle.svg new file mode 100644 index 0000000000..8ac5e80811 --- /dev/null +++ b/src/plays/zoomlogin/assets/cancelCircle.svg @@ -0,0 +1,7 @@ + + + + + + cancel + \ No newline at end of file diff --git a/src/plays/zoomlogin/assets/chatbot/cancelCircle.svg b/src/plays/zoomlogin/assets/chatbot/cancelCircle.svg new file mode 100644 index 0000000000..227f63528c --- /dev/null +++ b/src/plays/zoomlogin/assets/chatbot/cancelCircle.svg @@ -0,0 +1,12 @@ + + + + + + + + + + cancel + + \ No newline at end of file diff --git a/src/plays/zoomlogin/assets/chatbot/document-new-svgrepo-com.svg b/src/plays/zoomlogin/assets/chatbot/document-new-svgrepo-com.svg new file mode 100644 index 0000000000..af4037f886 --- /dev/null +++ b/src/plays/zoomlogin/assets/chatbot/document-new-svgrepo-com.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/plays/zoomlogin/assets/chatbot/document-svgrepo-com.svg b/src/plays/zoomlogin/assets/chatbot/document-svgrepo-com.svg new file mode 100644 index 0000000000..38f6a90647 --- /dev/null +++ b/src/plays/zoomlogin/assets/chatbot/document-svgrepo-com.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/plays/zoomlogin/assets/chatbot/down-arrow.svg b/src/plays/zoomlogin/assets/chatbot/down-arrow.svg new file mode 100644 index 0000000000..9e4d37cd5c --- /dev/null +++ b/src/plays/zoomlogin/assets/chatbot/down-arrow.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/plays/zoomlogin/assets/chatbot/downloadArrow.svg b/src/plays/zoomlogin/assets/chatbot/downloadArrow.svg new file mode 100644 index 0000000000..84fa6d0fbd --- /dev/null +++ b/src/plays/zoomlogin/assets/chatbot/downloadArrow.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/src/plays/zoomlogin/assets/chatbot/microphone.svg b/src/plays/zoomlogin/assets/chatbot/microphone.svg new file mode 100644 index 0000000000..ba23504755 --- /dev/null +++ b/src/plays/zoomlogin/assets/chatbot/microphone.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/plays/zoomlogin/assets/chatbot/smile-circle-svgrepo-com.svg b/src/plays/zoomlogin/assets/chatbot/smile-circle-svgrepo-com.svg new file mode 100644 index 0000000000..30004746bf --- /dev/null +++ b/src/plays/zoomlogin/assets/chatbot/smile-circle-svgrepo-com.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/plays/zoomlogin/assets/chatbot/zoomsupport.png b/src/plays/zoomlogin/assets/chatbot/zoomsupport.png new file mode 100644 index 0000000000..8f03dda2bc Binary files /dev/null and b/src/plays/zoomlogin/assets/chatbot/zoomsupport.png differ diff --git a/src/plays/zoomlogin/assets/circle-information-svgrepo-com.svg b/src/plays/zoomlogin/assets/circle-information-svgrepo-com.svg new file mode 100644 index 0000000000..cc5aacbdcb --- /dev/null +++ b/src/plays/zoomlogin/assets/circle-information-svgrepo-com.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/plays/zoomlogin/assets/down-arrow.svg b/src/plays/zoomlogin/assets/down-arrow.svg new file mode 100644 index 0000000000..9e4d37cd5c --- /dev/null +++ b/src/plays/zoomlogin/assets/down-arrow.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/plays/zoomlogin/assets/downloadArrow.svg b/src/plays/zoomlogin/assets/downloadArrow.svg new file mode 100644 index 0000000000..e4dbd99dda --- /dev/null +++ b/src/plays/zoomlogin/assets/downloadArrow.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/plays/zoomlogin/assets/eye-password-hide-svgrepo-com.svg b/src/plays/zoomlogin/assets/eye-password-hide-svgrepo-com.svg new file mode 100644 index 0000000000..2db4988e1c --- /dev/null +++ b/src/plays/zoomlogin/assets/eye-password-hide-svgrepo-com.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/plays/zoomlogin/assets/eye-password-show-svgrepo-com.svg b/src/plays/zoomlogin/assets/eye-password-show-svgrepo-com.svg new file mode 100644 index 0000000000..4c26f86eb3 --- /dev/null +++ b/src/plays/zoomlogin/assets/eye-password-show-svgrepo-com.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/plays/zoomlogin/assets/icons8-linkedin.svg b/src/plays/zoomlogin/assets/icons8-linkedin.svg new file mode 100644 index 0000000000..6c362c319d --- /dev/null +++ b/src/plays/zoomlogin/assets/icons8-linkedin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/plays/zoomlogin/assets/microphone.svg b/src/plays/zoomlogin/assets/microphone.svg new file mode 100644 index 0000000000..ba23504755 --- /dev/null +++ b/src/plays/zoomlogin/assets/microphone.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/plays/zoomlogin/assets/sso-logo.svg b/src/plays/zoomlogin/assets/sso-logo.svg new file mode 100644 index 0000000000..c18ac35d8e --- /dev/null +++ b/src/plays/zoomlogin/assets/sso-logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/plays/zoomlogin/assets/window-open.png b/src/plays/zoomlogin/assets/window-open.png new file mode 100644 index 0000000000..95f130f72b Binary files /dev/null and b/src/plays/zoomlogin/assets/window-open.png differ diff --git a/src/plays/zoomlogin/assets/zoom-help-1.png b/src/plays/zoomlogin/assets/zoom-help-1.png new file mode 100644 index 0000000000..6d130c6e86 Binary files /dev/null and b/src/plays/zoomlogin/assets/zoom-help-1.png differ diff --git a/src/plays/zoomlogin/assets/zoom-help-2.png b/src/plays/zoomlogin/assets/zoom-help-2.png new file mode 100644 index 0000000000..9057b2a8c4 Binary files /dev/null and b/src/plays/zoomlogin/assets/zoom-help-2.png differ diff --git a/src/plays/zoomlogin/assets/zoom-img.png b/src/plays/zoomlogin/assets/zoom-img.png new file mode 100644 index 0000000000..4642e22312 Binary files /dev/null and b/src/plays/zoomlogin/assets/zoom-img.png differ diff --git a/src/plays/zoomlogin/assets/zoom-logo.png b/src/plays/zoomlogin/assets/zoom-logo.png new file mode 100644 index 0000000000..0fc70a796e Binary files /dev/null and b/src/plays/zoomlogin/assets/zoom-logo.png differ diff --git a/src/plays/zoomlogin/assets/zoom-svgrepo-com.svg b/src/plays/zoomlogin/assets/zoom-svgrepo-com.svg new file mode 100644 index 0000000000..28bd5e45f2 --- /dev/null +++ b/src/plays/zoomlogin/assets/zoom-svgrepo-com.svg @@ -0,0 +1,12 @@ + + + + + + + + + + \ No newline at end of file diff --git a/src/plays/zoomlogin/assets/zoomAd.png b/src/plays/zoomlogin/assets/zoomAd.png new file mode 100644 index 0000000000..b1fecb60c7 Binary files /dev/null and b/src/plays/zoomlogin/assets/zoomAd.png differ diff --git a/src/plays/zoomlogin/assets/zoomImg.png b/src/plays/zoomlogin/assets/zoomImg.png new file mode 100644 index 0000000000..db701a6cbd Binary files /dev/null and b/src/plays/zoomlogin/assets/zoomImg.png differ diff --git a/src/plays/zoomlogin/assets/zoomsupport.png b/src/plays/zoomlogin/assets/zoomsupport.png new file mode 100644 index 0000000000..8f03dda2bc Binary files /dev/null and b/src/plays/zoomlogin/assets/zoomsupport.png differ diff --git a/src/plays/zoomlogin/components/App.js b/src/plays/zoomlogin/components/App.js new file mode 100644 index 0000000000..e790f9647c --- /dev/null +++ b/src/plays/zoomlogin/components/App.js @@ -0,0 +1,89 @@ +import { useState } from 'react'; +import CopyText from './CopyText'; +import Footer from './Footer'; + +import React from 'react'; +import zoomhelpaf from '../assets/zoom-help-1.png'; +import ZoomPage from './Zoom/ZoomPage'; + +function App() { + const [isModalOpen, setIsModalOpen] = useState(true); + + const closeModal = () => { + setIsModalOpen(false); + }; + + return ( + <> + {isModalOpen && ( +
+
+

Test Guide

+

+
+ Login form: + + Copy and paste the credentials provided in the header. + +
+
+ Chatbot: + + Click the{' '} + Help button + and the icon will appear + + Zoom help icon
+ + Test by typing "password reset" or "dog pic" etc.
+
+
+
+ +
+
+
+ )} + +
+
+
+

+ Clone Coding +

Login form pages

+

+
+
+
+

Test credentials

+

test@example.com

+
+ +
+

1234abc!

+
+ +
+
+
+
+
+
+ +
+