mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
b623a9ea69
commit
f3cd2ffb18
2 changed files with 25 additions and 1 deletions
|
|
@ -17,6 +17,7 @@
|
||||||
import ChatBubbleOval from '$lib/components/icons/ChatBubbleOval.svelte';
|
import ChatBubbleOval from '$lib/components/icons/ChatBubbleOval.svelte';
|
||||||
import Refresh from '$lib/components/icons/Refresh.svelte';
|
import Refresh from '$lib/components/icons/Refresh.svelte';
|
||||||
import Agile from '$lib/components/icons/Agile.svelte';
|
import Agile from '$lib/components/icons/Agile.svelte';
|
||||||
|
import ClockRotateRight from '$lib/components/icons/ClockRotateRight.svelte';
|
||||||
|
|
||||||
const i18n = getContext('i18n');
|
const i18n = getContext('i18n');
|
||||||
|
|
||||||
|
|
@ -167,7 +168,7 @@
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Agile />
|
<ClockRotateRight />
|
||||||
<div class=" line-clamp-1">{$i18n.t('Reference Chats')}</div>
|
<div class=" line-clamp-1">{$i18n.t('Reference Chats')}</div>
|
||||||
</DropdownMenu.Item>
|
</DropdownMenu.Item>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
|
||||||
23
src/lib/components/icons/ClockRotateRight.svelte
Normal file
23
src/lib/components/icons/ClockRotateRight.svelte
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
<script lang="ts">
|
||||||
|
export let className = 'w-4 h-4';
|
||||||
|
export let strokeWidth = '1.5';
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<svg
|
||||||
|
class={className}
|
||||||
|
aria-hidden="true"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
stroke-width={strokeWidth}
|
||||||
|
stroke="currentColor"
|
||||||
|
fill="none"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
><path d="M12 6L12 12L18 12" stroke-linecap="round" stroke-linejoin="round"></path><path
|
||||||
|
d="M21.8883 10.5C21.1645 5.68874 17.013 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C16.1006 22 19.6248 19.5318 21.1679 16"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
></path><path
|
||||||
|
d="M17 16H21.4C21.7314 16 22 16.2686 22 16.6V21"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
></path></svg
|
||||||
|
>
|
||||||
Loading…
Reference in a new issue