generated from vanHeemstraSystems/template-default-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6a4c63
commit afb2881
Showing
7 changed files
with
151 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 26 additions & 12 deletions
38
threagile-monitoring/src/threagile_monitoring/components/App.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,34 @@ | ||
import { React, Router, Route, Switch } from 'react' | ||
// import { React, Router, Route, Switch } from 'react' | ||
import {React, Router} from 'react'; | ||
|
||
function App () { | ||
function App() { | ||
return ( | ||
<div className='App'> | ||
<div> | ||
<h1>Hello, World!</h1> | ||
<p>This is a React component.</p> | ||
<Router> | ||
<Switch> | ||
<Route exact path='/' component={() => <Layout showHome />} /> | ||
<Route | ||
exact | ||
path='/dashboards' | ||
component={() => <Layout showDashboard />} | ||
/> | ||
</Switch> | ||
|
||
</Router> | ||
</div> | ||
) | ||
); | ||
} | ||
|
||
|
||
// const App = () => { | ||
// return ( | ||
// <div className='App'> | ||
// <Router> | ||
// <Switch> | ||
// <Route exact path='/' component={() => <Layout showHome />} /> | ||
// <Route | ||
// exact | ||
// path='/dashboards' | ||
// component={() => <Layout showDashboard />} | ||
// /> | ||
// </Switch> | ||
// </Router> | ||
// </div> | ||
// ) | ||
// } | ||
|
||
export default App |
1 change: 1 addition & 0 deletions
1
threagile-monitoring/src/threagile_monitoring/components/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 74 additions & 0 deletions
74
threagile-monitoring/src/threagile_monitoring/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 45 additions & 4 deletions
49
threagile-monitoring/src/threagile_monitoring/static/js/app.js
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters