web/website/scripts/build-forgejo-shell.mjs
unimatrixgit 77cdf19faa Checkpoint Alpha 1.0.0.3 graphical menus and moderation evidence
Preserve the current Alpha source and artwork snapshot. See handoff/alpha-1.0.0.3 for actual deployed hashes, checks, staged follow-ups and the production pause. This checkpoint does not claim every source feature is deployed.
2026-11-02 00:05:34 +01:00

7 lines
698 B
JavaScript

import {SHARED_HEADER,SHARED_HEAD} from './portal-navigation.mjs';
import {mkdirSync,writeFileSync} from 'node:fs';
const path=new URL('../integrations/forgejo/templates/custom/',import.meta.url);
mkdirSync(path,{recursive:true});
writeFileSync(new URL('header.tmpl',path),SHARED_HEAD+'\n<link rel="stylesheet" href="https://www.dunerealms.com/git/assets/css/theme-dunerealms.css?v=6">\n<script src="https://www.dunerealms.com/git/assets/js/dune-shell.js?v=1" defer></script>\n');
writeFileSync(new URL('body_outer_pre.tmpl',path),SHARED_HEADER+'\n');
writeFileSync(new URL('footer.tmpl',path),'<div class="dune-git-footer-note">DuneGit · Build, collaborate and share with the caravan.</div>\n');