Repository navigation
Expand file tree
/
Copy pathsite.js
More file actions
52 lines (50 loc) · 2.46 KB
/
Copy pathsite.js
File metadata and controls
52 lines (50 loc) · 2.46 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// The address the project answers at: the one h5p-offline-player's code of conduct and security
// policy give, and the organization's on GitHub.
const contact = "alekswebnet@gmail.com";
// Where to say how the H5P build page and the h5p-author skill went, in two ways that start from
// the same title and two questions. An email asks for no account, and a teacher may have none on
// GitHub. A new discussion in h5p-offline-player, where the author is made, is public, for someone
// who has one. A mail body's lines end in CRLF (RFC 6068).
const feedbackTitle = "Feedback on the H5P build page";
const feedbackBody = "What I made (the content type, and the chat that wrote the source):\n\n\nWhat went well, or wrong:\n\n";
const buildFeedback = {
email:
`mailto:${contact}?subject=${encodeURIComponent(feedbackTitle)}` +
`&body=${encodeURIComponent(feedbackBody.replaceAll("\n", "\r\n"))}`,
github:
"https://github.com/missing-elements/h5p-offline-player/discussions/new?category=general" +
`&title=${encodeURIComponent(feedbackTitle)}&body=${encodeURIComponent(feedbackBody)}`,
};
export default {
name: "Missing Elements",
url: "https://missing-elements.github.io",
github: "https://github.com/missing-elements",
elements: [
{
name: "pdfjs-viewer",
tag: "pdfjs-viewer-element",
package: "@missing-elements/pdfjs-viewer",
description: "A self-hostable PDF viewer web component, based on the PDF.js viewer.",
docs: "/pdfjs-viewer/",
repo: "https://github.com/missing-elements/pdfjs-viewer",
},
{
name: "h5p-offline-player",
package: "@missing-elements/h5p-offline-player",
description: "A browser-only H5P player as one web component. Self-hostable, and builds a fully offline PWA.",
docs: "https://h5p-offline-player.vercel.app/",
repo: "https://github.com/missing-elements/h5p-offline-player",
},
],
// The tools on the home page, under the elements: pages built on them that run in the browser.
// A tool's GitHub link is where it is explained. The build page links the skill's page itself.
tools: [
{
name: "Build an H5P activity",
description: "Make H5P activities with an AI chat and the h5p-author skill: paste the source it wrote, play it, and download a .h5p file for any H5P site. Nothing is uploaded.",
page: "/h5p/build/",
repo: "https://github.com/missing-elements/missing-elements.github.io/blob/main/docs/h5p-build-page.md",
},
],
buildFeedback,
};