feat: add donation dialog, close #524 (#597)

* feat: add donation dialog, close #524

* fix: command palette broken
This commit is contained in:
Xylight authored and GitHub committed 2025-06-25 23:50:08 +00:00
1 parent 58d5be7027
commit f1f3955a7b
12 files changed
+134 -60

No files matched your search

@@ -112,7 +112,7 @@
class={[
'py-3 relative',
node.comment_view.comment.distinguished &&
' text-primary-900 dark:text-primary-100',
' text-primary-900 dark:text-primary-100 bg-green-400/5 -mx-4 sm:-mx-6 px-4 sm:px-6',
clazz,
]}
id={node.comment_view.comment.id.toString()}
+1 -1
View File
@@ -182,7 +182,7 @@
Debug
</MenuButton>
{/if}
<hr class="dark:opacity-10 w-[90%] my-2 mx-auto" />
<MenuDivider />
<li class="flex flex-col px-2 py-1 mx-auto my-1 text-xs w-full">
<div class="flex flex-row gap-2 w-full items-center">
<div class="flex-1">
@@ -268,7 +268,7 @@
>
<Icon src={Home} size="16" mini />
</button>
{#each breadcrumbs as crumb (crumb.href)}
{#each breadcrumbs as crumb}
<span class="text-base text-slate-400 dark:text-zinc-600">/</span>
<span class="text-[13px] font-medium">
{crumb.name}
@@ -277,11 +277,11 @@
</div>
{/if}
<div class="space-y-1" bind:this={container}>
{#each filteredGroups as group, groupIndex (group.name)}
{#each filteredGroups as group, groupIndex}
<div class="space-y-1">
<span class="text-sm font-medium">{group.name}</span>
<ul class="flex flex-col gap-1">
{#each group.actions as action, actionIndex (action.href)}
{#each group.actions as action, actionIndex}
{@const globalIndex =
filteredGroups
.slice(0, groupIndex)