Initial Commit

This commit is contained in:
Supertiger
2025-08-01 11:08:32 +01:00
commit 441836bdd3
9 changed files with 703 additions and 0 deletions

10
src/main.ts Normal file
View File

@@ -0,0 +1,10 @@
import { createRootPage } from "./routes/root";
import { createWaybarPage } from "./routes/waybar";
if (location.pathname === "/waybar") {
createWaybarPage();
}
if (location.pathname === "/") {
createRootPage();
}

5
src/routes/root.ts Normal file
View File

@@ -0,0 +1,5 @@
const appElement = document.getElementById("app")!;
export const createRootPage = async () => {
appElement.innerHTML = "test";
};

5
src/routes/waybar.ts Normal file
View File

@@ -0,0 +1,5 @@
const appElement = document.getElementById("app")!;
export const createWaybarPage = async () => {
appElement.innerHTML = "test";
};

1
src/vite-env.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
/// <reference types="vite/client" />