diff --git a/SharpbinV3.Client/src/routes/+page.svelte b/SharpbinV3.Client/src/routes/+page.svelte index 85fde63..7cc26d0 100644 --- a/SharpbinV3.Client/src/routes/+page.svelte +++ b/SharpbinV3.Client/src/routes/+page.svelte @@ -216,11 +216,17 @@ Create a Paste - Sharpbin + + + - + + + +
{#if data.paste} + {@const pasteDescription = `A ${syntaxes[data.paste.syntax].name} paste on Sharpbin created by ${ + data.paste.author ? data.paste.author.username : 'Anonymous' + }, created on ${ + extractDateFromUUIDv7(data.paste.uuid)?.toLocaleDateString() ?? 'Unknown Date' + } with ${data.paste.views} view${data.paste.views !== 1 ? 's' : ''}.`} + + + + {#if data.paste.author} + + {/if} - + @@ -526,7 +530,11 @@ + {:else} + {/if} + + Recent Pastes - Sharpbin + + + + + + + + + +