[feat] added features in spec v2
This commit is contained in:
19
src/lib/ChatScreens/CreatorQuote.svelte
Normal file
19
src/lib/ChatScreens/CreatorQuote.svelte
Normal file
@@ -0,0 +1,19 @@
|
||||
<div class="flex w-full justify-center">
|
||||
<div class="w-3xl max-w-80p bg-darkbg rounded-md p-3 text-white text-sm">
|
||||
<h1 class="text-xl font-bold mb-2">Creator's Quote
|
||||
<button class="float-right" on:click={onRemove}>
|
||||
<XIcon />
|
||||
</button>
|
||||
</h1>
|
||||
<div class="ml-2 max-w-full break-words text chat chattext prose prose-invert">
|
||||
{@html ParseMarkdown(quote)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script lang="ts">
|
||||
import { XIcon } from "lucide-svelte";
|
||||
import { ParseMarkdown } from "src/ts/parser";
|
||||
|
||||
export let onRemove: () => void
|
||||
export let quote:string
|
||||
</script>
|
||||
Reference in New Issue
Block a user