-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project 2(elderly wearable webpage) #4
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Please refactor to work with React.
- All code needs to be in the existing React app in the
src
folder. Please do not add a new React app or any other new folders other than those required to create your routes and components.
Please see the guides on the company documentation website for more information.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update to follow current React standards and the existing file structure and naming conventions in the app. You can find step-by-step instructions on how to do much of this in the company documentation website. In particular:
import healthMonitoringImage from './healthmonitoring.jpeg'; // Import images | ||
import medicationReminderImage from './medication reminder.jpeg'; | ||
|
||
class ExploreFeatures extends React.Component { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use function components, as class components are deprecated. Here's some more information including how to migrate.
src/html/contact.html
Outdated
@@ -0,0 +1,20 @@ | |||
<!DOCTYPE html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please refactor all HTML in to React components. There should not be any new .html
files.
@@ -0,0 +1,333 @@ | |||
/* External CSS style file */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please refactor all CSS into Styled Components. You can find some more information here: https://redback-operations.github.io/redback-documentation/docs/web-mobile-app-dev/frontend/styled-components
Tested locally. None of this code appears to work with the react app. Closing PR |
No description provided.