This is a React conversion of the original HTML chat interface for the Red Cross Volunteer Program.
- Collapsible chat bot interface in the bottom right corner
- Red Cross themed design with reddish gradient background
- Responsive design for mobile and desktop
- Integration with Microsoft Power Virtual Agents chat
- Make sure you have Node.js installed on your system
- Copy the
crc.jpgimage file to thesrc/directory - Install dependencies:
npm install
- Start the development server:
npm start
- Open http://localhost:3000 to view it in the browser
To create a production build:
npm run buildsrc/App.js- Main React componentsrc/App.css- Styles for the applicationsrc/index.js- React app entry pointsrc/crc.jpg- Red Cross logo (you need to add this file)public/index.html- HTML template
The app maintains all the original functionality:
- Click the chat bubble to open the chat window
- Click the header or toggle button to close the chat
- Click outside the chat window to close it
- Responsive design that adapts to different screen sizes