This commit is contained in:
Timothy Jaeryang Baek
2026-07-14 04:15:20 -04:00
parent a7fbf66269
commit aedb6bef4e
208 changed files with 1056 additions and 1066 deletions
+8 -8
View File
@@ -227,7 +227,7 @@
}}
>
<div class=" text-sm text-gray-500 truncate">
{$i18n.t('This will delete')} <span class=" font-medium">{deletePrompt.command}</span>.
{$i18n.t('This will delete')} <span class=" font-normal">{deletePrompt.command}</span>.
</div>
</DeleteConfirmDialog>
@@ -272,12 +272,12 @@
}}
/>
<div class="flex justify-between items-center">
<div class="flex items-center md:self-center text-xl font-medium px-0.5 gap-2 shrink-0">
<div class="flex items-center md:self-center text-xl font-normal px-0.5 gap-2 shrink-0">
<div>
{$i18n.t('Prompts')}
</div>
<div class="text-lg font-medium text-gray-500 dark:text-gray-500">
<div class="text-lg font-normal text-gray-500 dark:text-gray-500">
{total ?? ''}
</div>
</div>
@@ -290,7 +290,7 @@
promptsImportInputElement.click();
}}
>
<div class=" self-center font-medium line-clamp-1">
<div class=" self-center font-normal line-clamp-1">
{$i18n.t('Import')}
</div>
</button>
@@ -306,13 +306,13 @@
saveAs(blob, `prompts-export-${Date.now()}.json`);
}}
>
<div class=" self-center font-medium line-clamp-1">
<div class=" self-center font-normal line-clamp-1">
{$i18n.t('Export')}
</div>
</button>
{/if}
<a
class=" px-2 py-1.5 rounded-xl bg-black text-white dark:bg-white dark:text-black transition font-medium text-sm flex items-center"
class=" px-2 py-1.5 rounded-xl bg-black text-white dark:bg-white dark:text-black transition font-normal text-sm flex items-center"
href="/workspace/prompts/create"
>
<Plus className="size-3" strokeWidth="2.5" />
@@ -402,7 +402,7 @@
<div class=" flex flex-col flex-1 space-x-4 cursor-pointer w-full pl-1">
<div class="flex items-center justify-between w-full mb-0.5">
<div class="flex items-center gap-2">
<div class="font-medium line-clamp-1 capitalize">{prompt.name}</div>
<div class="font-normal line-clamp-1 capitalize">{prompt.name}</div>
<div class="text-xs overflow-hidden text-ellipsis line-clamp-1 text-gray-500">
/{prompt.command}
</div>
@@ -525,7 +525,7 @@
<div class=" w-full h-full flex flex-col justify-center items-center my-16 mb-24">
<div class="max-w-md text-center">
<div class=" text-3xl mb-3">😕</div>
<div class=" text-lg font-medium mb-1">{$i18n.t('No prompts found')}</div>
<div class=" text-lg font-normal mb-1">{$i18n.t('No prompts found')}</div>
<div class=" text-gray-500 text-center text-xs">
{$i18n.t('Try adjusting your search or filter to find what you are looking for.')}
</div>