This commit is contained in:
Maxime Cannoodt 2022-06-26 09:45:55 +02:00
parent f6c95fa808
commit 2a980f9a7e
2 changed files with 5 additions and 1 deletions

Binary file not shown.

View File

@ -35,6 +35,7 @@
import decrypt from '$lib/crypto/decrypt'; import decrypt from '$lib/crypto/decrypt';
import MarkdownRenderer from '$lib/components/MarkdownRenderer.svelte'; import MarkdownRenderer from '$lib/components/MarkdownRenderer.svelte';
import LogoMarkdown from 'svelte-icons/io/IoLogoMarkdown.svelte'; import LogoMarkdown from 'svelte-icons/io/IoLogoMarkdown.svelte';
import IconEncrypted from 'svelte-icons/md/MdLockOutline.svelte';
export let note: EncryptedNote; export let note: EncryptedNote;
let plaintext: string; let plaintext: string;
@ -50,7 +51,10 @@
<div class="max-w-2xl mx-auto"> <div class="max-w-2xl mx-auto">
<p class="mb-4 text-sm flex justify-between text-neutral-500"> <p class="mb-4 text-sm flex justify-between text-neutral-500">
<span class="uppercase">Shared ?? days ago</span> <span class="flex gap-1.5 items-center uppercase">
<span class="h-5"><IconEncrypted /></span>
<span>e2e encrypted | Shared ?? days ago</span>
</span>
<button class="flex gap-1.5 uppercase items-center"> <button class="flex gap-1.5 uppercase items-center">
<span>Raw Markdown</span> <span>Raw Markdown</span>
<span class="h-6"><LogoMarkdown /></span> <span class="h-6"><LogoMarkdown /></span>