initial commit

This commit is contained in:
2026-01-14 22:33:55 +01:00
commit ccb10886b7
14 changed files with 1951 additions and 0 deletions

31
renderer/renderer.js Normal file
View File

@@ -0,0 +1,31 @@
const title = document.getElementById("title");
const view = document.getElementById("view");
function navigate(page) {
switch (page) {
case "home":
title.innerText = "Home";
view.innerHTML = `
<p>Welcome to the Silk Fly Launcher.</p>
`;
break;
case "mods-installed":
title.innerText = "Installed Mods";
view.innerHTML = `
<p>List of installed mods.</p>
`;
break;
case "mods-online":
title.innerText = "Online mods";
view.innerHTML = `
<p>Browse Nexus mods.</p>
`;
break;
}
}
function launch(mode) {
alert(`Launching the game in ${mode} mode.`);
}