mirror of
https://github.com/khairul169/launcher.git
synced 2025-05-14 16:39:36 +07:00
chore: update apps, color, etc
This commit is contained in:
parent
e085f28464
commit
2565cabe38
@ -11,7 +11,7 @@ export const launcherItems: LauncherItem[] = [
|
||||
},
|
||||
{
|
||||
name: "Excalidraw",
|
||||
href: "https://excalidraw.com/",
|
||||
href: "https://draw.rul.sh",
|
||||
icon: "https://excalidraw.com/apple-touch-icon.png",
|
||||
},
|
||||
{
|
||||
@ -44,7 +44,7 @@ export const launcherItems: LauncherItem[] = [
|
||||
{
|
||||
name: "Flatnotes",
|
||||
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",
|
||||
@ -157,15 +157,13 @@ export const launcherItems: LauncherItem[] = [
|
||||
},
|
||||
{
|
||||
name: "Incus UI",
|
||||
href: "https://164.152.166.61:8443/",
|
||||
href: "https://srv:8443/",
|
||||
icon: "https://linuxcontainers.org/static/img/containers.small.png",
|
||||
disabled: true,
|
||||
},
|
||||
{
|
||||
name: "Incus UI (Armbian)",
|
||||
href: "https://armbian:8443",
|
||||
icon: "https://linuxcontainers.org/static/img/containers.small.png",
|
||||
disabled: true,
|
||||
},
|
||||
];
|
||||
|
||||
|
@ -6,16 +6,14 @@ export const initQuickLaunch = () => {
|
||||
throw new Error("Could not find quick-launch container");
|
||||
}
|
||||
|
||||
const pinnedItems = launcherItems.filter((item) => item.pinned);
|
||||
|
||||
container.innerHTML = pinnedItems
|
||||
.filter((item) => item.disabled !== true)
|
||||
container.innerHTML = launcherItems
|
||||
.filter((item) => item.pinned && item.disabled !== true)
|
||||
.map((item) => {
|
||||
return `
|
||||
<a href="${item.href}" class="item" rel="noopener noreferrer" title="${item.name}">
|
||||
<img src="${item.icon}" alt="${item.name}" />
|
||||
</a>
|
||||
`;
|
||||
<a href="${item.href}" class="item" rel="noopener noreferrer" title="${item.name}">
|
||||
<img src="${item.icon}" alt="${item.name}" />
|
||||
</a>
|
||||
`;
|
||||
})
|
||||
.join("");
|
||||
};
|
||||
|
@ -5,7 +5,7 @@
|
||||
html,
|
||||
body,
|
||||
#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 {
|
||||
|
@ -21,8 +21,8 @@ export default defineConfig({
|
||||
type: "image/png",
|
||||
},
|
||||
],
|
||||
theme_color: "#ffffff",
|
||||
background_color: "#ffffff",
|
||||
theme_color: "#1b1e2b",
|
||||
background_color: "#1b1e2b",
|
||||
display: "standalone",
|
||||
},
|
||||
}),
|
||||
|
Loading…
x
Reference in New Issue
Block a user