chore: update apps, color, etc

This commit is contained in:
Khairul Hidayat 2024-11-04 07:43:55 +00:00
parent e085f28464
commit 2565cabe38
4 changed files with 12 additions and 16 deletions

View File

@ -11,7 +11,7 @@ export const launcherItems: LauncherItem[] = [
}, },
{ {
name: "Excalidraw", name: "Excalidraw",
href: "https://excalidraw.com/", href: "https://draw.rul.sh",
icon: "https://excalidraw.com/apple-touch-icon.png", icon: "https://excalidraw.com/apple-touch-icon.png",
}, },
{ {
@ -44,7 +44,7 @@ export const launcherItems: LauncherItem[] = [
{ {
name: "Flatnotes", name: "Flatnotes",
href: "http://100.64.0.3:8124", href: "http://100.64.0.3:8124",
icon: "https://github.com/dullage/flatnotes/blob/develop/client/public/android-chrome-192x192.png?raw=true", icon: "https://raw.githubusercontent.com/dullage/flatnotes/refs/heads/develop/client/public/android-chrome-192x192.png",
}, },
{ {
name: "Gitea", name: "Gitea",
@ -157,15 +157,13 @@ export const launcherItems: LauncherItem[] = [
}, },
{ {
name: "Incus UI", name: "Incus UI",
href: "https://164.152.166.61:8443/", href: "https://srv:8443/",
icon: "https://linuxcontainers.org/static/img/containers.small.png", icon: "https://linuxcontainers.org/static/img/containers.small.png",
disabled: true,
}, },
{ {
name: "Incus UI (Armbian)", name: "Incus UI (Armbian)",
href: "https://armbian:8443", href: "https://armbian:8443",
icon: "https://linuxcontainers.org/static/img/containers.small.png", icon: "https://linuxcontainers.org/static/img/containers.small.png",
disabled: true,
}, },
]; ];

View File

@ -6,10 +6,8 @@ export const initQuickLaunch = () => {
throw new Error("Could not find quick-launch container"); throw new Error("Could not find quick-launch container");
} }
const pinnedItems = launcherItems.filter((item) => item.pinned); container.innerHTML = launcherItems
.filter((item) => item.pinned && item.disabled !== true)
container.innerHTML = pinnedItems
.filter((item) => item.disabled !== true)
.map((item) => { .map((item) => {
return ` return `
<a href="${item.href}" class="item" rel="noopener noreferrer" title="${item.name}"> <a href="${item.href}" class="item" rel="noopener noreferrer" title="${item.name}">

View File

@ -5,7 +5,7 @@
html, html,
body, body,
#app { #app {
@apply w-full h-screen max-h-dvh relative bg-gray-900 overflow-hidden p-0; @apply w-full h-screen max-h-dvh relative bg-[#1b1e2b] overflow-hidden p-0;
} }
.background { .background {

View File

@ -21,8 +21,8 @@ export default defineConfig({
type: "image/png", type: "image/png",
}, },
], ],
theme_color: "#ffffff", theme_color: "#1b1e2b",
background_color: "#ffffff", background_color: "#1b1e2b",
display: "standalone", display: "standalone",
}, },
}), }),