webapp
Some checks failed
Docker Build and Publish / publish (push) Failing after 1m33s

This commit is contained in:
Eugene Howe
2026-02-17 09:47:30 -05:00
parent af09672ee3
commit b0957bfa49
102 changed files with 4213 additions and 378 deletions

37
internal/views/web.html Normal file
View File

@@ -0,0 +1,37 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Calculate Negative Points</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css"
/>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
{{ if .isDev }}
<script type="module">
import RefreshRuntime from "{{.baseAddress}}/@react-refresh"
RefreshRuntime.injectIntoGlobalHook(window)
window.$RefreshReg$ = () => {}
window.$RefreshSig$ = () => (type) => type
window.__vite_plugin_react_preamble_installed__ = true
</script>
<script type="module" src="{{.baseAddress}}/@vite/client"></script>
<script type="module" src="{{.jsFileAddress}}"></script>
{{ else }}
<script type="module" src="/{{.jsFileAddress}}"></script>
{{ range .css }}
<link rel="stylesheet" href="/{{.}}" />
{{ end }}
{{ end }}
</body>
</html>