mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-26 23:28:43 +00:00
21 lines
742 B
HTML
21 lines
742 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
</head>
|
|
<body>
|
|
<!-- Sized like the app's root, so the sidebar and session fill the window and their rows take pointer input. -->
|
|
<div id="root" style="display: flex; flex-direction: column; height: 100dvh"></div>
|
|
<script type="module">
|
|
import { mount } from "./windows-menu.fixture.tsx"
|
|
const params = new URLSearchParams(location.search)
|
|
mount({
|
|
server: params.get("server"),
|
|
path: params.get("path") ?? undefined,
|
|
os: params.get("os") === "macos" ? "macos" : undefined,
|
|
openApps: params.get("openApps") === "1",
|
|
holdOpen: params.get("holdOpen") === "1",
|
|
})
|
|
</script>
|
|
</body>
|
|
</html>
|