Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22416272
index.page.tsx
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
504 B
Referenced Files
None
Subscribers
None
index.page.tsx
View Options
import
type
{
Context
}
from
"koa"
;
import
{
TempstreamJSX
}
from
"tempstream"
;
import
{
Page
}
from
"@sealcode/sealgen"
;
import
html
from
"../html.js"
;
export
const
actionName
=
"Home"
;
export
default
new
(
class
HomePage
extends
Page
{
// eslint-disable-next-line @typescript-eslint/no-unused-vars
async
canAccess
(
_
:
Context
)
{
return
{
canAccess
:
true
,
message
:
""
};
}
async
render
(
ctx
:
Context
)
{
return
html
({
ctx
:
ctx
,
title
:
"Home"
,
body
:
<
div
>
Hello
<
/div>, description: "" });
}
})();
File Metadata
Details
Attached
Mime Type
application/javascript
Expires
Sat, Nov 28, 01:31 (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1215709
Default Alt Text
index.page.tsx (504 B)
Attached To
Mode
rREWRITE Configurable rewriter
Attached
Detach File
Event Timeline