mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-06 21:57:48 +01:00
Compare commits
54 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0eab49a449 | ||
|
|
24121cd5f0 | ||
|
|
8aeded4774 | ||
|
|
40522fbb96 | ||
|
|
76cbb6e2ed | ||
|
|
b29c0f809c | ||
|
|
4f41be512c | ||
|
|
b765330b4a | ||
|
|
ed3055ae1b | ||
|
|
5460f89cc9 | ||
|
|
29018873f5 | ||
|
|
11cacfb823 | ||
|
|
eddec4adc2 | ||
|
|
2faf51b4c0 | ||
|
|
891c387062 | ||
|
|
3b2b6cc064 | ||
|
|
83a5d1b17a | ||
|
|
29b0240abd | ||
|
|
8ad1f9f422 | ||
|
|
ea15a1b9e5 | ||
|
|
691ed78e75 | ||
|
|
5f58cb285d | ||
|
|
a6696700b7 | ||
|
|
985ca4ae84 | ||
|
|
ebda0f7b70 | ||
|
|
8e7723b51d | ||
|
|
24635268a0 | ||
|
|
729c161271 | ||
|
|
69af86eebe | ||
|
|
369a996f1f | ||
|
|
b7b63abee0 | ||
|
|
4ba47c426a | ||
|
|
29d54b032c | ||
|
|
8791aa8d0d | ||
|
|
337ada148c | ||
|
|
2c8348f5b5 | ||
|
|
0eeaa99fe3 | ||
|
|
38d2cc7bd7 | ||
|
|
759dc9f3d2 | ||
|
|
72d9a614fd | ||
|
|
3d209bf572 | ||
|
|
3268db1298 | ||
|
|
ab4a28d04a | ||
|
|
3c1644e18f | ||
|
|
e1f6ddaeab | ||
|
|
826bad8ff4 | ||
|
|
8aa2bbcdd3 | ||
|
|
aece2954df | ||
|
|
5fbdbce79c | ||
|
|
ce2bfd9d21 | ||
|
|
df4cc6086c | ||
|
|
2c632e2b3e | ||
|
|
6de20f0ab6 | ||
|
|
7434d597c9 |
1
.github/workflows/docker-publish.yml
vendored
1
.github/workflows/docker-publish.yml
vendored
@@ -20,6 +20,7 @@ on:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
- 'mkdocs.yml'
|
||||
merge_group:
|
||||
|
||||
env:
|
||||
# Use docker.io for Docker Hub if empty
|
||||
|
||||
1
.github/workflows/docs-publish.yml
vendored
1
.github/workflows/docs-publish.yml
vendored
@@ -11,6 +11,7 @@ on:
|
||||
paths:
|
||||
- 'docs/**'
|
||||
- 'mkdocs.yml'
|
||||
merge_group:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
|
||||
3
crowdin.yml
Normal file
3
crowdin.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
files:
|
||||
- source: /public/locales/en/*.json
|
||||
translation: /public/locales/%osx_locale%/%original_file_name%
|
||||
@@ -3,6 +3,6 @@ title: Homepage Move
|
||||
description: Homepage Container Deprecation
|
||||
---
|
||||
|
||||
As of v0.7.1 homepage migrated from benphelps/homepage to an "orgnization" located at gethomepage/homepage. The reason for this is to setup the project for longevity and allow for community maintenance.
|
||||
As of v0.7.2 homepage migrated from benphelps/homepage to an "organization" repository located at [gethomepage/homepage](https://github.com/gethomepage/homepage/). The reason for this was to setup the project for longevity and allow for community maintenance.
|
||||
|
||||
Migrating your installation should be as simple as changing `image: ghcr.io/benphelps/homepage:latest` to `image: ghcr.io/gethomepage/homepage:latest`.
|
||||
@@ -3,7 +3,7 @@ title: Gluetun
|
||||
description: Gluetun Widget Configuration
|
||||
---
|
||||
|
||||
Requires [HTTP control server options](https://github.com/qdm12/gluetun/wiki/HTTP-control-server-options) to be enabled.
|
||||
Requires [HTTP control server options](https://github.com/qdm12/gluetun-wiki/blob/main/setup/advanced/control-server.md) to be enabled.
|
||||
|
||||
Allowed fields: `["public_ip", "region", "country"]`.
|
||||
|
||||
|
||||
@@ -149,6 +149,7 @@ nav:
|
||||
- more/index.md
|
||||
- more/development.md
|
||||
- more/translations.md
|
||||
- more/homepage-move.md
|
||||
|
||||
theme:
|
||||
name: material
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "خطأ",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "إجتاز",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"ping": "Ping",
|
||||
"error": "Грешка"
|
||||
"error": "Грешка",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Passed",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Error",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Aprobat",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Chyba",
|
||||
"ping": "Odezva"
|
||||
"ping": "Odezva",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Úspěšné",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Fejl",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Bestået",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"ping": "Ping",
|
||||
"error": "Fehler"
|
||||
"error": "Fehler",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Bestanden",
|
||||
|
||||
@@ -136,7 +136,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Σφάλμα",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"emby": {
|
||||
"playing": "Παίζει",
|
||||
|
||||
@@ -79,10 +79,12 @@
|
||||
"partial": "Partial"
|
||||
},
|
||||
"ping": {
|
||||
"http_status": "HTTP status",
|
||||
"error": "Error",
|
||||
"ping": "Ping",
|
||||
"down": "Down",
|
||||
"up": "Up"
|
||||
"up": "Up",
|
||||
"not_available": "Not Available"
|
||||
},
|
||||
"emby": {
|
||||
"playing": "Playing",
|
||||
|
||||
@@ -67,7 +67,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Eraro",
|
||||
"ping": "Sondaĵo"
|
||||
"ping": "Sondaĵo",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"emby": {
|
||||
"playing": "Ludante",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Error",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Aprobado",
|
||||
|
||||
@@ -140,7 +140,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Errorea",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"emby": {
|
||||
"playing": "Playing",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Error",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Passed",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Erreur",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Réussi",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Error",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Passed",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Error",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Passed",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Greška",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Uspjelo",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Hiba",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Megfelelt",
|
||||
|
||||
@@ -610,7 +610,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Error",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"emby": {
|
||||
"playing": "Playing",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Errore",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Passati",
|
||||
|
||||
@@ -117,7 +117,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "エラー",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"emby": {
|
||||
"playing": "再生中",
|
||||
|
||||
@@ -85,7 +85,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "오류",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"emby": {
|
||||
"playing": "재생 중",
|
||||
|
||||
@@ -71,7 +71,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Kļūda",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"emby": {
|
||||
"playing": "Atskaņo",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Ralat",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Lulus",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Error",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Passed",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Fout",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Gepasseerd",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Błąd",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Powodzenie",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Erro",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Passou",
|
||||
|
||||
@@ -395,7 +395,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Erro",
|
||||
"ping": "Tempo de resposta"
|
||||
"ping": "Tempo de resposta",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Aprovado",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Error",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Passed",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Ошибка",
|
||||
"ping": "Пинг"
|
||||
"ping": "Пинг",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"failed": "Неудачно",
|
||||
|
||||
@@ -195,7 +195,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Chyba",
|
||||
"ping": "Odozva"
|
||||
"ping": "Odozva",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"emby": {
|
||||
"playing": "Prehrávané",
|
||||
|
||||
@@ -152,7 +152,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Napaka",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"emby": {
|
||||
"playing": "Predvaja",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Error",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Passed",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Error",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Passed",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Error",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Passed",
|
||||
|
||||
@@ -107,7 +107,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "ข้อผิดพลาด",
|
||||
"ping": "ปิง"
|
||||
"ping": "ปิง",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"emby": {
|
||||
"playing": "กำลังเล่น",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Hata",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Geçti",
|
||||
|
||||
@@ -172,7 +172,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Помилка",
|
||||
"ping": "Пінг"
|
||||
"ping": "Пінг",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"emby": {
|
||||
"playing": "Відтворення",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "Error",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "Passed",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "错误",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "通过",
|
||||
|
||||
@@ -382,7 +382,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"error": "錯誤",
|
||||
"ping": "Ping"
|
||||
"ping": "Ping",
|
||||
"up": "Up",
|
||||
"down": "Down"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "通過",
|
||||
|
||||
@@ -77,7 +77,7 @@ export default function Item({ service, group }) {
|
||||
</div>
|
||||
)}
|
||||
|
||||
<div className={`absolute top-0 right-0 flex flex-row justify-end ${statusStyle === 'dot' ? 'gap-0' : 'gap-2'} mr-2 z-30 service-tags`}>
|
||||
<div className={`absolute top-0 right-0 flex flex-row justify-end ${statusStyle === 'dot' ? 'gap-0' : 'gap-2 mr-2'} z-30 service-tags`}>
|
||||
{service.ping && (
|
||||
<div className="flex-shrink-0 flex items-center justify-center service-tag service-ping">
|
||||
<Ping group={group} service={service.name} style={statusStyle} />
|
||||
|
||||
@@ -8,7 +8,7 @@ export default function KubernetesStatus({ service, style }) {
|
||||
let statusLabel = t("docker.unknown");
|
||||
let statusTitle = "";
|
||||
let backgroundClass = "px-1.5 py-0.5 bg-theme-500/10 dark:bg-theme-900/50";
|
||||
let colorClass = "text-black/20 dark:text-white/40 ";
|
||||
let colorClass = "text-black/20 dark:text-white/40 opacity-20";
|
||||
|
||||
if (error) {
|
||||
statusTitle = t("docker.error");
|
||||
@@ -29,8 +29,8 @@ export default function KubernetesStatus({ service, style }) {
|
||||
}
|
||||
|
||||
if (style === 'dot') {
|
||||
colorClass = colorClass.replace('text-', 'bg-').replace(/\/\d\d$/, '');
|
||||
backgroundClass = "p-3 hover:bg-theme-500/10 dark:hover:bg-theme-900/20";
|
||||
colorClass = colorClass.replace(/text-/g, 'bg-').replace(/\/\d\d/g, '');
|
||||
backgroundClass = "p-4 hover:bg-theme-500/10 dark:hover:bg-theme-900/20";
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
@@ -7,44 +7,43 @@ export default function Ping({ group, service, style }) {
|
||||
refreshInterval: 30000
|
||||
});
|
||||
|
||||
let colorClass = ""
|
||||
let colorClass = "text-black/20 dark:text-white/40 opacity-20";
|
||||
let backgroundClass = "bg-theme-500/10 dark:bg-theme-900/50 px-1.5 py-0.5";
|
||||
let statusTitle = "HTTP status";
|
||||
let statusText;
|
||||
let statusTitle = t("ping.http_status");
|
||||
let statusText = "";
|
||||
|
||||
if (error) {
|
||||
colorClass = "text-rose-500"
|
||||
statusText = t("ping.error")
|
||||
statusTitle += " error"
|
||||
colorClass = "text-rose-500";
|
||||
statusText = t("ping.error");
|
||||
statusTitle += ` ${t("ping.error")}`;
|
||||
} else if (!data) {
|
||||
colorClass = "text-black/20 dark:text-white/40"
|
||||
statusText = t("ping.ping")
|
||||
statusTitle += " not available"
|
||||
statusText = t("ping.ping");
|
||||
statusTitle += ` ${t("ping.not_available")}`;
|
||||
} else if (data.status > 403) {
|
||||
colorClass = "text-rose-500/80"
|
||||
statusTitle += ` ${data.status}`
|
||||
colorClass = "text-rose-500/80";
|
||||
statusTitle += ` ${data.status}`;
|
||||
|
||||
if (style === "basic") {
|
||||
statusText = t("ping.down")
|
||||
statusText = t("ping.down");
|
||||
} else {
|
||||
statusText = data.status
|
||||
statusText = data.status;
|
||||
}
|
||||
} else {
|
||||
} else if (data) {
|
||||
const ping = t("common.ms", { value: data.latency, style: "unit", unit: "millisecond", maximumFractionDigits: 0 })
|
||||
statusTitle += ` ${data.status} (${ping})`;
|
||||
colorClass = "text-emerald-500/80"
|
||||
colorClass = "text-emerald-500/80";
|
||||
|
||||
if (style === "basic") {
|
||||
statusText = t("ping.up")
|
||||
statusText = t("ping.up");
|
||||
} else {
|
||||
statusText = ping
|
||||
colorClass += " lowercase"
|
||||
statusText = ping;
|
||||
colorClass += " lowercase";
|
||||
}
|
||||
}
|
||||
|
||||
if (style === "dot") {
|
||||
backgroundClass = 'p-3';
|
||||
colorClass = colorClass.replace('text-', 'bg-').replace(/\/\d\d$/, '');
|
||||
backgroundClass = 'p-4';
|
||||
colorClass = colorClass.replace(/text-/g, 'bg-').replace(/\/\d\d/g, '');
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
@@ -46,7 +46,7 @@ export default function Status({ service, style }) {
|
||||
|
||||
if (style === 'dot') {
|
||||
colorClass = colorClass.replace('text-', 'bg-').replace(/\/\d\d$/, '');
|
||||
backgroundClass = "p-3 hover:bg-theme-500/10 dark:hover:bg-theme-900/20";
|
||||
backgroundClass = "p-4 hover:bg-theme-500/10 dark:hover:bg-theme-900/20";
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
@@ -183,7 +183,7 @@ function Home({ initialSettings }) {
|
||||
const { data: bookmarks } = useSWR("/api/bookmarks");
|
||||
const { data: widgets } = useSWR("/api/widgets");
|
||||
|
||||
const servicesAndBookmarks = [...services.map(sg => sg.services).flat(), ...bookmarks.map(bg => bg.bookmarks).flat()]
|
||||
const servicesAndBookmarks = [...services.map(sg => sg.services).flat(), ...bookmarks.map(bg => bg.bookmarks).flat()].filter(i => i?.href);
|
||||
|
||||
useEffect(() => {
|
||||
if (settings.language) {
|
||||
|
||||
@@ -70,5 +70,8 @@ module.exports = {
|
||||
'lg:grid-cols-6',
|
||||
'lg:grid-cols-7',
|
||||
'lg:grid-cols-8',
|
||||
'bg-white',
|
||||
'bg-black',
|
||||
'dark:bg-white',
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user