Skip to content

Commit

Permalink
Blockers - 0 | Interstellar - 2
Browse files Browse the repository at this point in the history
  • Loading branch information
xbubbo committed Nov 2, 2024
1 parent 3d82908 commit dbb8c58
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion static/apps.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
</div>
<div class="pinned-apps"></div>
<div class="container-apps"></div>
<script src="assets/js/c.js?v=03"></script>
<script src="assets/js/c.js?v=04"></script>
<script src="/assets/js/m.js?v=07"></script>
<script
async
Expand Down
19 changes: 17 additions & 2 deletions static/assets/js/c.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ const a = window.location.pathname === "/yz";
const c = window.location.pathname === "/gt";
const t = window.top.location.pathname === "/rx";

function Span(name) {
return name.split("").map(char => {
const span = document.createElement("span");
span.textContent = char;
return span;
});
}

function saveToLocal(path) {
sessionStorage.setItem("GoUrl", path);
}
Expand Down Expand Up @@ -195,7 +203,11 @@ function CreateCustomApp(customApp) {
image.loading = "lazy";

const paragraph = document.createElement("p");
paragraph.textContent = customApp.name;

for (const span of Span(customApp.name)) {
paragraph.appendChild(span);
}


linkElem.appendChild(image);
linkElem.appendChild(paragraph);
Expand Down Expand Up @@ -317,7 +329,10 @@ fetch(path)
}

const paragraph = document.createElement("p");
paragraph.textContent = app.name;

for (const span of Span(app.name)) {
paragraph.appendChild(span);
}

if (app.error) {
paragraph.style.color = "red";
Expand Down
2 changes: 1 addition & 1 deletion static/games.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</div>
<div class="pinned-apps"></div>
<div class="container-apps"></div>
<script src="/assets/js/c.js?v=03"></script>
<script src="/assets/js/c.js?v=04"></script>
<script src="./assets/ultra/bundle.js?v=10-02-2024"></script>
<script src="./assets/ultra/config.js?v=10-02-2024"></script>
<script src="assets/js/f.js"></script>
Expand Down

0 comments on commit dbb8c58

Please sign in to comment.