Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F7187956
hello-page.page.tsx
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
584 B
Referenced Files
None
Subscribers
None
hello-page.page.tsx
View Options
import
type
{
Context
}
from
"koa"
;
import
{
TempstreamJSX
}
from
"tempstream"
;
import
{
Page
}
from
"@sealcode/sealgen"
;
import
html
from
"src/back/html.js"
;
export
const
actionName
=
"HelloPage"
;
export
default
new
(
class
HelloPagePage
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
:
"HelloPage"
,
body
:
<
div
>
Hello
world
<
/div>,
description
:
""
,
css_clumps
:
[
"default"
,
"forms"
],
});
}
})();
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Tue, Jul 8, 07:47 (12 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
810411
Default Alt Text
hello-page.page.tsx (584 B)
Attached To
Mode
rPLAY Sealious playground
Attached
Detach File
Event Timeline
Log In to Comment