b
This commit is contained in:
@@ -14,38 +14,23 @@
|
||||
border-bottom: 1px solid var(--color-widget-content-border);
|
||||
text-decoration: none;
|
||||
}
|
||||
.service-row:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
.service-row:last-child { border-bottom: none; }
|
||||
.service-icon-container {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
flex-shrink: 0;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
width: 48px; height: 48px; flex-shrink: 0;
|
||||
border-radius: 50%; overflow: hidden;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
display: flex;
|
||||
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;
|
||||
display: flex; 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; }
|
||||
</style>
|
||||
|
||||
{{ range .JSON.Raw | fromJson }}
|
||||
<a href="{{ .url }}" target="_blank" class="service-row">
|
||||
{{ range .JSON.Array "" }}
|
||||
<a href="{{ .String "url" }}" target="_blank" class="service-row">
|
||||
<div class="service-icon-container">
|
||||
<img src="{{ .icon }}" class="service-icon" alt="" />
|
||||
<img src="{{ .String "icon" }}" class="service-icon" alt="" />
|
||||
</div>
|
||||
<span class="service-name">{{ .title }}</span>
|
||||
<span class="service-name">{{ .String "title" }}</span>
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
BIN
logo/cloudflare.png
Normal file
BIN
logo/cloudflare.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.3 KiB |
BIN
logo/n8n.png
Normal file
BIN
logo/n8n.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
BIN
logo/plausible.png
Normal file
BIN
logo/plausible.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
BIN
logo/stalwart.png
Normal file
BIN
logo/stalwart.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.7 KiB |
BIN
logo/uptime-kuma.png
Normal file
BIN
logo/uptime-kuma.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
BIN
logo/vaultwarden.png
Normal file
BIN
logo/vaultwarden.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
@@ -1,8 +1,9 @@
|
||||
[
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"title": "Dashboard",
|
||||
"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",
|
||||
@@ -30,3 +31,4 @@
|
||||
"icon": "https://uptime.kuma.pet/img/icon.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user