Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122754315
NotFoundRenderer.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
Mon, Jul 21, 23:51
Size
810 B
Mime Type
text/x-java
Expires
Wed, Jul 23, 23:51 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27502905
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
NotFoundRenderer.js
View Options
import
React
from
'react'
;
import
PropTypes
from
'prop-types'
;
import
Markdown
from
'rsg-components/Markdown'
;
import
Styled
from
'rsg-components/Styled'
;
var
styles
=
function
styles
(
_ref
)
{
var
maxWidth
=
_ref
.
maxWidth
;
return
{
root
:
{
maxWidth
:
maxWidth
,
margin
:
[[
0
,
'auto'
]]
}
};
};
export
var
NotFoundRenderer
=
function
NotFoundRenderer
(
_ref2
)
{
var
classes
=
_ref2
.
classes
;
return
/*#__PURE__*/
React
.
createElement
(
"div"
,
{
className
:
classes
.
root
},
/*#__PURE__*/
React
.
createElement
(
Markdown
,
{
text
:
"\n# Page not found\nThe link you followed may be broken, or the page may have been removed.\n"
}));
};
NotFoundRenderer
.
propTypes
=
{
classes
:
PropTypes
.
objectOf
(
PropTypes
.
string
.
isRequired
).
isRequired
};
export
default
Styled
(
styles
)(
NotFoundRenderer
);
Event Timeline
Log In to Comment