diff --git a/.github/workflows/uix-deploy-prod.yml b/.github/workflows/uix-deploy-prod.yml
index d7d1064..c70393f 100644
--- a/.github/workflows/uix-deploy-prod.yml
+++ b/.github/workflows/uix-deploy-prod.yml
@@ -7,6 +7,7 @@ on:
- main
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
+ HOST_TOKEN: ${{secrets.HOST_TOKEN}}
jobs:
deploy:
runs-on: ubuntu-latest
@@ -18,4 +19,4 @@ jobs:
- name: Setup Deno
uses: "denoland/setup-deno@v1"
- name: Deploy UIX App
- run: "deno run --importmap ./importmap.json -Aqr https://cdn.unyt.org/uix@0.2.x/run.ts --stage prod --detach"
+ run: "deno run --importmap ./importmap.json -Aqr https://cdn.unyt.org/uix@0.3.x/run.ts --stage prod --detach"
diff --git a/backend/entrypoint.tsx b/backend/entrypoint.tsx
index ff5bafb..90ff5cf 100644
--- a/backend/entrypoint.tsx
+++ b/backend/entrypoint.tsx
@@ -1,5 +1,5 @@
-import { Main } from "../common/components/Main.tsx";
-import { Entrypoint } from "uix/html/entrypoints.ts";
+import { Main } from "common/components/Main.tsx";
+import { Entrypoint } from "uix/providers/entrypoints.ts";
import { renderBackend } from 'uix/base/render-methods.ts';
export default {
diff --git a/common/components/Main.tsx b/common/components/Main.tsx
index f381ba3..523617d 100644
--- a/common/components/Main.tsx
+++ b/common/components/Main.tsx
@@ -1,7 +1,7 @@
import { include } from "uix/base/decorators.ts";
import { Component } from "uix/components/Component.ts";
import { template } from "uix/html/template.ts";
-import { always, Datex } from "unyt_core/datex.ts";
+import { always, Datex } from "datex-core-legacy/datex.ts";
const languages = {
"en": "🇺🇸",
@@ -15,7 +15,7 @@ const languages = {
{
Object.entries(languages).map(([lang, flag]) =>
Datex.Runtime.ENV.LANG === lang)}
+ data-active={Datex.Runtime.ENV.LANG === lang}
onclick:frontend={() => use("standalone", lang) && (Datex.Runtime.ENV.LANG = lang)} class="toggle">
{flag}
diff --git a/deno.json b/deno.json
index 2c44624..70aa994 100644
--- a/deno.json
+++ b/deno.json
@@ -8,4 +8,4 @@
"dom"
]
}
-}
+}
\ No newline at end of file
diff --git a/frontend/entrypoint.tsx b/frontend/entrypoint.tsx
index 3dce1ad..d8c592c 100644
--- a/frontend/entrypoint.tsx
+++ b/frontend/entrypoint.tsx
@@ -1,5 +1,5 @@
-import { Main } from '../common/components/Main.tsx';
-import { Entrypoint } from "uix/html/entrypoints.ts";
+import { Main } from 'common/components/Main.tsx';
+import { Entrypoint } from "uix/providers/entrypoints.ts";
export default {
'/': ,
diff --git a/importmap.json b/importmap.json
index 061523b..e3f21f3 100644
--- a/importmap.json
+++ b/importmap.json
@@ -1,11 +1,11 @@
{
"imports": {
- "datex-core-legacy": "https://cdn.unyt.org/datex-core-js-legacy@0.1.x/datex.ts",
- "datex-core-legacy/": "https://cdn.unyt.org/datex-core-js-legacy@0.1.x/",
- "unyt_core": "https://cdn.unyt.org/datex-core-js-legacy@0.1.x/datex.ts",
- "unyt_core/": "https://cdn.unyt.org/datex-core-js-legacy@0.1.x/",
- "uix": "https://cdn.unyt.org/uix@0.2.x/uix.ts",
- "uix/": "https://cdn.unyt.org/uix@0.2.x/src/",
- "uix/jsx-runtime": "https://cdn.unyt.org/uix@0.2.x/src/jsx-runtime/jsx.ts"
+ "datex-core-legacy": "https://cdn.unyt.org/datex-core-js-legacy@0.2.x/datex.ts",
+ "datex-core-legacy/": "https://cdn.unyt.org/datex-core-js-legacy@0.2.x/",
+ "uix": "https://cdn.unyt.org/uix@0.3.x/uix.ts",
+ "uix/": "https://cdn.unyt.org/uix@0.3.x/src/",
+ "uix/jsx-runtime": "https://cdn.unyt.org/uix@0.3.x/src/jsx-runtime/jsx.ts",
+ "jusix/jsx-runtime": "https://cdn.unyt.org/uix@0.3.x/src/jsx-runtime/jsx.ts",
+ "unyt-tests/": "https://cdn.unyt.org/unyt_tests/"
}
}
\ No newline at end of file