-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathother.js
More file actions
32 lines (29 loc) · 790 Bytes
/
other.js
File metadata and controls
32 lines (29 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import { div, p } from "@floortech/vulcrumjs/dist/components/index.js"
import globalStylesheets from "./utils/stylesheets.js"
import globalMetadata from "./utils/global-metadata.js"
import OtherPart from "./components/other-part.js"
export function stylesheets() {
return [
...globalStylesheets(),
]
}
export function metadata() {
return {
...globalMetadata(),
description: "The home page!",
}
}
export default function other() {
return div([
p("This is another page in the example site!"),
OtherPart(),
], {
style: [
"margin-top: 5rem;",
"margin-left: auto;",
"margin-right: auto;",
"max-width: 625px;",
"padding: 0 1rem;",
].join(" "),
})
}