Fixed config, removed line clamping
This commit is contained in:
parent
f64915285f
commit
db5484194a
@ -29,7 +29,7 @@ function Service(props: IServiceProps) {
|
|||||||
service;
|
service;
|
||||||
|
|
||||||
return `
|
return `
|
||||||
<li class="p-4 flex gap-4" ${!is.null(groups) ? `groups="${groups}"` : ``} ${!is.null(users) ? `users="${users}"` : ``}>
|
<li class="service p-4 flex gap-4" ${!is.null(groups) ? `groups="${groups}"` : ``} ${!is.null(users) ? `users="${users}"` : ``}>
|
||||||
${
|
${
|
||||||
!is.null(icon)
|
!is.null(icon)
|
||||||
? `
|
? `
|
||||||
@ -40,13 +40,13 @@ function Service(props: IServiceProps) {
|
|||||||
: ``
|
: ``
|
||||||
}
|
}
|
||||||
<div>
|
<div>
|
||||||
<h3 class="text-lg mt-1 font-semibold line-clamp-1">
|
<h3 class="text-lg mt-1 font-semibold">
|
||||||
${Anchor({ uri, newWindow, children: name })}
|
${Anchor({ uri, newWindow, children: name })}
|
||||||
</h3>
|
</h3>
|
||||||
${
|
${
|
||||||
!is.null(description)
|
!is.null(description)
|
||||||
? `
|
? `
|
||||||
<p class="text-sm text-black/50 dark:text-white/50 line-clamp-1">
|
<p class="text-sm text-black/50 dark:text-white/50">
|
||||||
${Anchor({ uri, newWindow, children: description })}
|
${Anchor({ uri, newWindow, children: description })}
|
||||||
</p>
|
</p>
|
||||||
`
|
`
|
||||||
|
@ -6,20 +6,23 @@
|
|||||||
"name": "Check the readme",
|
"name": "Check the readme",
|
||||||
"uri": "https://github.com/notclickable-jordan/starbase-80",
|
"uri": "https://github.com/notclickable-jordan/starbase-80",
|
||||||
"description": "Use your own icons",
|
"description": "Use your own icons",
|
||||||
"icon": "github"
|
"icon": "github",
|
||||||
|
"groups": "Friends"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Bind mount",
|
"name": "Bind mount",
|
||||||
"uri": "https://github.com/notclickable-jordan/docker-symphony",
|
"uri": "https://github.com/notclickable-jordan/docker-symphony",
|
||||||
"description": "/app/src/config/config.json",
|
"description": "/app/src/config/config.json",
|
||||||
"icon": "docker"
|
"icon": "docker",
|
||||||
|
"groups": "Family, Friends"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Watch Lower Decks",
|
"name": "Watch Lower Decks",
|
||||||
"uri": "https://www.paramountplus.com/",
|
"uri": "https://www.paramountplus.com/",
|
||||||
"description": "On Paramount+",
|
"description": "On Paramount+",
|
||||||
"icon": "mdi-image-filter-hdr",
|
"icon": "https://www.gstatic.com/script/apps_script_1x_24dp.png",
|
||||||
"iconColor": "blue-500"
|
"iconColor": "blue-500",
|
||||||
|
"users": "test@example.com"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user