~starkingdoms/starkingdoms

521bf6d7ee13876b20324d54f2fdec1338e5faef — core 1 year, 8 months ago eb564a7
server build changes
M .woodpecker/.server.yaml => .woodpecker/.server.yaml +3 -0
@@ 9,6 9,7 @@ steps:
      SCCACHE_ENDPOINT: https://eaa2f15b55afa10361622796530d22c6.r2.cloudflarestorage.com/stk-sccache
      SCCACHE_BUCKET: stk-sccache
      SCCACHE_REGION: auto
      SCCACHE_LOG_LEVEL: debug
      AWS_ACCESS_KEY_ID:
        from_secret: s3_id
      AWS_SECRET_ACCESS_KEY:


@@ 24,6 25,7 @@ steps:
      SCCACHE_ENDPOINT: https://eaa2f15b55afa10361622796530d22c6.r2.cloudflarestorage.com/stk-sccache
      SCCACHE_BUCKET: stk-sccache
      SCCACHE_REGION: auto
      SCCACHE_LOG_LEVEL: debug
      AWS_ACCESS_KEY_ID:
        from_secret: s3_id
      AWS_SECRET_ACCESS_KEY:


@@ 39,6 41,7 @@ steps:
      SCCACHE_ENDPOINT: https://eaa2f15b55afa10361622796530d22c6.r2.cloudflarestorage.com/stk-sccache
      SCCACHE_BUCKET: stk-sccache
      SCCACHE_REGION: auto
      SCCACHE_LOG_LEVEL: debug
      AWS_ACCESS_KEY_ID:
        from_secret: s3_id
      AWS_SECRET_ACCESS_KEY:

A starkingdoms-client/src/page_loaders/uikit.ts => starkingdoms-client/src/page_loaders/uikit.ts +10 -0
@@ 0,0 1,10 @@
// DO NOT CHANGE THIS FILE!
// It's only purpose is to initialize the Svelte component tree.
// Actual code is in src/pages/UiKit.svelte.
import UiKit from "../pages/UiKit.svelte";

const page = new UiKit({
  target: document.getElementById("mount")!,
});

export default page;

A starkingdoms-client/src/pages/UiKit.svelte => starkingdoms-client/src/pages/UiKit.svelte +0 -0
A starkingdoms-client/uikit/index.html => starkingdoms-client/uikit/index.html +20 -0
@@ 0,0 1,20 @@
<!-- DO NOT CHANGE THIS FILE! -->
<!-- UI is rendered by Svelte. The root of the component tree is src/pages/UiKit.svelte. -->
<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta
      name="viewport"
      content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>StarKingdoms.IO</title>
  </head>
  <body>
    <div id="mount">
      <!-- Rendered by Svelte -->
    </div>

    <script type="module" src="../src/page_loaders/uikit.ts"></script>
  </body>
</html>

M starkingdoms-client/vite.config.ts => starkingdoms-client/vite.config.ts +1 -0
@@ 26,6 26,7 @@ export default defineConfig({
        signup: resolve(__dirname, "signup/index.html"),
        login: resolve(__dirname, "login/index.html"),
        shipeditor: resolve(__dirname, "shipeditor/index.html"),
        uikit: resolve(__dirname, "uikit/index.html")
      },
    },
  },