diff --git a/svelte-app/src/components/bullet-point.svelte b/svelte-app/src/components/bullet-point.svelte index dcb8a1c36..c89212cf7 100644 --- a/svelte-app/src/components/bullet-point.svelte +++ b/svelte-app/src/components/bullet-point.svelte @@ -1,12 +1,12 @@ -
+ diff --git a/svelte-app/src/components/context-menu/menu.ts b/svelte-app/src/components/context-menu/menu.ts deleted file mode 100644 index 108b2fd1a..000000000 --- a/svelte-app/src/components/context-menu/menu.ts +++ /dev/null @@ -1,3 +0,0 @@ -const key = {}; - -export { key }; diff --git a/svelte-app/src/components/context-menu/option.svelte b/svelte-app/src/components/context-menu/option.svelte deleted file mode 100644 index 030571df2..000000000 --- a/svelte-app/src/components/context-menu/option.svelte +++ /dev/null @@ -1,56 +0,0 @@ - - -- {text} -
- {:else} -- {$t('{views} views', { views: $parseViews(data.views) })} + {$t('{views} views', { views: $parseViews((data.views ?? 0) + 1) })}
+ {#if data._type === 'project' && data.githubStars !== undefined && data.githubStars > 0} ++ {$t('{stars} stars', { stars: $parseViews(data.githubStars) })} +
+ {/if}{$t('Hm, it seems empty around here...')}
- {formatDate(document.date || document._createdAt, 'dayMonth', $currentLang)} + {formatDate( + document.date || document._createdAt, + small ? 'med' : 'short', + $currentLang + )}
{#if document.tags?.length} {document.tags[0].title.toLowerCase()} - {:else} -{$t('{views} views', { views: $parseViews(document.views) })}
+{$t('{views} views', { views: $parseViews((document.views ?? 0) + 1) })}
{$t('No content')}
- {/if} -
{$t("Want to send a secure message my way? Here's my main PGP key:")}
D1FD DE24 BB72 BFEF E045 ECE0 8A2C 67E2 2184 F162
@@ -40,7 +40,7 @@
{$t('No content')}
- {yearObj.year}
-
- {#if yearObj.items.length}
-