Notification support links

This commit is contained in:
LittleSheep 2024-02-08 18:56:39 +08:00
parent 0bf71fba9c
commit c415105599

View File

@ -86,6 +86,11 @@ export default function DashboardPage() {
<td class="px-[32px]">
<h2 class="font-bold">{item.subject}</h2>
<p>{item.content}</p>
<div class="flex gap-2">
<For each={item.links}>
{item => <a class="link" href={item.url}>{item.label}</a>}
</For>
</div>
<div class="flex gap-2">
<Show when={item.is_important}>
<span class="font-bold">Important</span>