Skip to content
Snippets Groups Projects
Commit 14caefb2 authored by Jonas Zohren's avatar Jonas Zohren :speech_balloon:
Browse files

Remove leave button and split text into paragraphs

parent da0c8483
No related branches found
No related tags found
No related merge requests found
...@@ -11,15 +11,17 @@ ...@@ -11,15 +11,17 @@
</script> </script>
{#if typeof title === "string"} {#if typeof title === "string"}
<h2> <h3>
{title} {title}
</h2> </h3>
{/if} {/if}
<img src={imageUrl} alt="Portrait" /> <img src={imageUrl} alt="Portrait" />
<div> <div>
{@html text} {#each text.split("\n\n") as para}
<p>{para}</p>
{/each}
</div> </div>
<hr /> <hr />
<div> <div>
...@@ -30,8 +32,3 @@ ...@@ -30,8 +32,3 @@
<br /> <br />
{/each} {/each}
</div> </div>
<button
on:click={() => {
window.close();
}}>Auf Wiedersehen!</button
>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment