add app installtion page
This commit is contained in:
BIN
src/assets/testing_2_1_10.png
Normal file
BIN
src/assets/testing_2_1_10.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
4
src/components/AppInstallation.css
Normal file
4
src/components/AppInstallation.css
Normal file
@@ -0,0 +1,4 @@
|
||||
.app-qrcode {
|
||||
height: 250px;
|
||||
width: 250px;
|
||||
}
|
||||
23
src/components/AppInstallation.js
Normal file
23
src/components/AppInstallation.js
Normal file
@@ -0,0 +1,23 @@
|
||||
import React, { useEffect, useState, useRef } from 'react';
|
||||
import { query, collection, onSnapshot } from 'firebase/firestore';
|
||||
|
||||
import './AppInstallation.css';
|
||||
import db from '../firebase';
|
||||
|
||||
const AppInstallation = () => {
|
||||
const [alerts, setAlerts] = useState([]);
|
||||
|
||||
useEffect(() => {
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div>
|
||||
<div>Testing 2.1.10 (Preprod)</div>
|
||||
<img className="app-qrcode" src={require('../assets/testing_2_1_10.png')} alt='icon'></img>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default AppInstallation;
|
||||
@@ -7,7 +7,8 @@ import Devices from '../components/Devices';
|
||||
import { Download } from '@mui/icons-material';
|
||||
import ExportData from '../components/ExportData';
|
||||
import Registration from '../components/Registration';
|
||||
import { FaUser } from 'react-icons/fa';
|
||||
import { FaAndroid, FaPhone, FaUser } from 'react-icons/fa';
|
||||
import AppInstallation from '../components/AppInstallation';
|
||||
|
||||
const appRoutes = [
|
||||
{
|
||||
@@ -51,6 +52,15 @@ const appRoutes = [
|
||||
icon: <FaUser />
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/appinstallation",
|
||||
element: <AppInstallation />,
|
||||
state: "appinstallation",
|
||||
sidebarProps: {
|
||||
displayText: "App Installation",
|
||||
icon: <FaAndroid />
|
||||
}
|
||||
},
|
||||
]
|
||||
|
||||
export default appRoutes;
|
||||
Reference in New Issue
Block a user