Fork of the excellent esp8266-react - https://github.com/rjwats/esp8266-react
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
2.9 KiB

  1. import React, { Component } from 'react';
  2. import { Typography, Box, List, ListItem, ListItemText } from '@material-ui/core';
  3. import { SectionContent } from '../components';
  4. class DemoInformation extends Component {
  5. render() {
  6. return (
  7. <SectionContent title='Demo Information' titleGutter>
  8. <Typography variant="body1" paragraph>
  9. This simple demo project allows you to control the blink speed of the built-in LED.
  10. It demonstrates how the esp8266-react framework may be extended for your own IoT project.
  11. </Typography>
  12. <Typography variant="body1" paragraph>
  13. It is recommended that you keep your project interface code under the 'project' directory.
  14. This serves to isolate your project code from the from the rest of the user interface which should
  15. simplify merges should you wish to update your project with future framework changes.
  16. </Typography>
  17. <Typography variant="body1" paragraph>
  18. The demo project interface code is stored in the interface/project directory:
  19. </Typography>
  20. <List>
  21. <ListItem>
  22. <ListItemText
  23. primary="ProjectMenu.tsx"
  24. secondary="You can add your project's screens to the side bar here."
  25. />
  26. </ListItem>
  27. <ListItem>
  28. <ListItemText
  29. primary="ProjectRouting.tsx"
  30. secondary="The routing which controls the screens of your project."
  31. />
  32. </ListItem>
  33. <ListItem>
  34. <ListItemText
  35. primary="DemoProject.tsx"
  36. secondary="This screen, with tabs and tab routing."
  37. />
  38. </ListItem>
  39. <ListItem>
  40. <ListItemText
  41. primary="DemoInformation.tsx"
  42. secondary="The demo information page."
  43. />
  44. </ListItem>
  45. <ListItem>
  46. <ListItemText
  47. primary="LightStateRestController.tsx"
  48. secondary="A form which lets the user control the LED over a REST service."
  49. />
  50. </ListItem>
  51. <ListItem>
  52. <ListItemText
  53. primary="LightStateWebSocketController.tsx"
  54. secondary="A form which lets the user control and monitor the status of the LED over WebSockets."
  55. />
  56. </ListItem>
  57. <ListItem>
  58. <ListItemText
  59. primary="LightMqttSettingsController.tsx"
  60. secondary="A form which lets the user change the MQTT settings for MQTT based control of the LED."
  61. />
  62. </ListItem>
  63. </List>
  64. <Box mt={2}>
  65. <Typography variant="body1">
  66. See the project <a href="https://github.com/rjwats/esp8266-react/">README</a> for a full description of the demo project.
  67. </Typography>
  68. </Box>
  69. </SectionContent>
  70. )
  71. }
  72. }
  73. export default DemoInformation;