diff --git a/scripts/pds-logo.svg b/scripts/pds-logo.svg new file mode 100644 index 0000000..67c4372 --- /dev/null +++ b/scripts/pds-logo.svg @@ -0,0 +1,5 @@ + diff --git a/scripts/publish-worker-artifact.mjs b/scripts/publish-worker-artifact.mjs index b3458e8..196bd59 100644 --- a/scripts/publish-worker-artifact.mjs +++ b/scripts/publish-worker-artifact.mjs @@ -132,16 +132,25 @@ function formatSize(bytes) { return `${(bytes / 1024 / 1024).toFixed(1)} MB`; } +// The project mark, inlined for the header and published as a file for the +// favicon. The letters are outlines, so the mark does not depend on the +// viewer's fonts. +const logoSvg = readFileSync(join(repoRoot, 'scripts', 'pds-logo.svg'), 'utf8'); +const logoInline = logoSvg.replace( + 'width="630" height="630"', + 'width="48" height="48"', +); + const indexHtml = `
| version | published | size |
|---|