initializes the base for the firmware wizard

PWA based on ReactJs. Showcases the basic functionalities required
for the Firmware Selector.
Proof of Concept for the wizard with selection for vendor, model
and variants.

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
Initial commit from Create React App
This commit is contained in:
Sudhanshu Gautam 2019-06-26 02:26:43 +05:30
commit 8f68dc328e
20 changed files with 12167 additions and 0 deletions

38
src/App.js Normal file
View file

@ -0,0 +1,38 @@
import React from 'react';
import { BrowserRouter as Router, Route, Switch } from "react-router-dom";
import './App.scss';
import { createMuiTheme } from '@material-ui/core/styles';
import { ThemeProvider } from '@material-ui/styles';
import Header from './components/header.js'
import Home from './containers/home/home';
import NotFound from './containers/not-found/not-found';
const theme = createMuiTheme({
palette: {
primary: {
main: '#3F51B5',
},
secondary: {
main: '#009688',
},
},
});
function App() {
return (
<ThemeProvider theme={theme}>
<div className="App">
<Header></Header>
<Router>
<Switch>
<Route exact path="/" component={Home}></Route>
<Route default component={NotFound}></Route>
</Switch>
</Router>
</div>
</ThemeProvider>
);
}
export default App;