diff --git a/README.md b/README.md index 6d96d3b..159f044 100644 --- a/README.md +++ b/README.md @@ -1,40 +1,2 @@ -[![Coverage Status](https://coveralls.io/repos/github/CodeHex16/Suppl-AI/badge.svg)](https://coveralls.io/github/CodeHex16/Suppl-AI) - -# sv - -Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli). - -## Creating a project - -If you're seeing this, you've probably already done this step. Congrats! - -```bash -# create a new project in the current directory -npx sv create - -# create a new project in my-app -npx sv create my-app -``` - -## Developing - -Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: - -```bash -npm run dev - -# or start the server and open the app in a new browser tab -npm run dev -- --open -``` - -## Building - -To create a production version of your app: - -```bash -npm run build -``` - -You can preview the production build with `npm run preview`. - -> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment. +# Suppl-AI +[![Coverage Status](https://coveralls.io/repos/github/CodeHex16/Suppl-AI/badge.svg)](https://coveralls.io/github/CodeHex16/Suppl-AI) \ No newline at end of file diff --git a/src/lib/components/BotMessage.svelte b/src/lib/components/BotMessage.svelte index cd43191..2161def 100644 --- a/src/lib/components/BotMessage.svelte +++ b/src/lib/components/BotMessage.svelte @@ -13,7 +13,6 @@ //lodash import debounce from 'lodash/debounce'; - marked.use({ gfm: true, // breaks: true, @@ -78,7 +77,6 @@
-
Suppl-AI
{#if data.content == ''} @@ -87,8 +85,8 @@
{:else} - -
+ +
{@html formatMessage(data.content)}
{/if} diff --git a/src/lib/components/SendMessage.svelte b/src/lib/components/SendMessage.svelte index b813480..4d22b16 100644 --- a/src/lib/components/SendMessage.svelte +++ b/src/lib/components/SendMessage.svelte @@ -3,11 +3,11 @@ import { SendHorizontal, MessageCircleQuestion } from 'lucide-svelte'; import FaqItem from './FaqItem.svelte'; import { fly } from 'svelte/transition'; - let { sending, onClickFaq, inputValue = $bindable()} = $props(); + let { sending, onClickFaq, inputValue = $bindable() } = $props();
- {#if inputValue === ''} + {#if inputValue == ''}