Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F67688736
App.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jun 23, 19:41
Size
1 KB
Mime Type
text/x-java
Expires
Tue, Jun 25, 19:41 (2 d)
Engine
blob
Format
Raw Data
Handle
18452293
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
App.js
View Options
import
React
from
"react"
;
import
"./App.css"
import
{
Container
,
Row
,
Col
}
from
'react-bootstrap'
;
import
SearchFilterFields
from
'./pages/SearchFilterFields'
import
Footer
from
'./components/layout/Footer'
import
About
from
"./pages/About"
import
{
Switch
,
Route
,}
from
"react-router-dom"
import
Nav
from
"./components/layout/Nav"
function
App
()
{
return
(
<
Container
fluid
>
<
Row
>
<
Col
>
<
Nav
/>
<
/Col>
<
/Row>
<
Switch
>
<
Route
exact
path
=
"/about"
component
=
{
About
}
/>
<
Route
exact
path
=
'/api'
component
=
{()
=>
{
window
.
location
.
href
=
'https://oacct-dev.epfl.ch/api/'
;
return
null
;
}}
/>
<
Route
exact
path
=
'/login'
component
=
{()
=>
{
window
.
location
.
href
=
'https://oacct-dev.epfl.ch/admin/'
;
return
null
;
}}
/>
<
Route
exact
path
=
"/"
>
<
SearchFilterFields
/>
<
/Route>
<
/Switch>
<
Footer
/>
<
/Container>
)
}
export
default
App
Event Timeline
Log In to Comment