This commit is contained in:
2026-02-16 01:17:06 +03:00
parent 73abb199ed
commit 619a2ab5e2
8 changed files with 44 additions and 57 deletions

View File

@@ -14,38 +14,23 @@
border-bottom: 1px solid var(--color-widget-content-border); border-bottom: 1px solid var(--color-widget-content-border);
text-decoration: none; text-decoration: none;
} }
.service-row:last-child { .service-row:last-child { border-bottom: none; }
border-bottom: none;
}
.service-icon-container { .service-icon-container {
width: 48px; width: 48px; height: 48px; flex-shrink: 0;
height: 48px; border-radius: 50%; overflow: hidden;
flex-shrink: 0;
border-radius: 50%;
overflow: hidden;
background: rgba(255, 255, 255, 0.05); background: rgba(255, 255, 255, 0.05);
display: flex; display: flex; align-items: center; justify-content: center;
align-items: center;
justify-content: center;
}
.service-icon {
width: 100%;
height: 100%;
object-fit: cover;
}
.service-name {
font-weight: 800;
color: var(--color-highlight);
font-size: 1.25rem;
} }
.service-icon { width: 100%; height: 100%; object-fit: cover; }
.service-name { font-weight: 800; color: var(--color-highlight); font-size: 1.25rem; }
</style> </style>
{{ range .JSON.Raw | fromJson }} {{ range .JSON.Array "" }}
<a href="{{ .url }}" target="_blank" class="service-row"> <a href="{{ .String "url" }}" target="_blank" class="service-row">
<div class="service-icon-container"> <div class="service-icon-container">
<img src="{{ .icon }}" class="service-icon" alt="" /> <img src="{{ .String "icon" }}" class="service-icon" alt="" />
</div> </div>
<span class="service-name">{{ .title }}</span> <span class="service-name">{{ .String "title" }}</span>
</a> </a>
{{ end }} {{ end }}
</div> </div>

BIN
logo/cloudflare.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

BIN
logo/n8n.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
logo/plausible.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
logo/stalwart.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

BIN
logo/uptime-kuma.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
logo/vaultwarden.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -1,8 +1,9 @@
[ {
"items": [
{ {
"title": "Dashboard", "title": "Dashboard",
"url": "https://dash.ayris.tech", "url": "https://dash.ayris.tech",
"icon": "https://raw.githubusercontent.com/glance-project/glance/main/assets/logo.png" "icon": "https://icon.horse/icon/ayris.tech"
}, },
{ {
"title": "Mail", "title": "Mail",
@@ -29,4 +30,5 @@
"url": "http://uptimekuma-uko00s44cs8cokos4cgwk8oc.65.109.236.58.sslip.io/dashboard", "url": "http://uptimekuma-uko00s44cs8cokos4cgwk8oc.65.109.236.58.sslip.io/dashboard",
"icon": "https://uptime.kuma.pet/img/icon.png" "icon": "https://uptime.kuma.pet/img/icon.png"
} }
] ]
}