mirror of
https://github.com/ArthurDanjou/artchat.git
synced 2026-01-14 15:54:03 +01:00
feat: add VSCode settings for improved development experience; remove Typing component and adjust layout in MessageContainer and index pages
This commit is contained in:
@@ -14,8 +14,8 @@ const formatted = computed(() => useDateFormat(useNow(), 'D MMMM YYYY, HH:mm', {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div v-if="!isArthur" class="group flex flex-col gap-4">
|
||||
<div class="flex flex-col-reverse gap-4 md:flex-row-reverse items-end">
|
||||
<div v-if="!isArthur" class="group flex flex-col gap-2">
|
||||
<div class="flex flex-col-reverse md:flex-row-reverse items-end">
|
||||
<UCard
|
||||
variant="solid"
|
||||
class="rounded-xl mt-1 bg-sky-500 md:max-w-3/4 text-white font-medium"
|
||||
@@ -24,12 +24,12 @@ const formatted = computed(() => useDateFormat(useNow(), 'D MMMM YYYY, HH:mm', {
|
||||
{{ t(message.content || '') }}
|
||||
</UCard>
|
||||
</div>
|
||||
<div class="opacity-0 group-hover:opacity-80 duration-500 flex text-sm italic justify-end">
|
||||
<div class="opacity-0 group-hover:opacity-80 duration-500 flex text-xs italic justify-end">
|
||||
{{ formatted }}
|
||||
</div>
|
||||
</div>
|
||||
<div v-else class="group space-y-2">
|
||||
<div class="flex flex-col-reverse gap-4 items-start md:flex-row-reverse">
|
||||
<div class="flex flex-col-reverse gap-2 items-start md:flex-row-reverse">
|
||||
<UCard
|
||||
v-if="message.state === ChatState.LOADING && message.fetchStates && message.fetchStates.length > 0"
|
||||
variant="soft"
|
||||
@@ -83,7 +83,7 @@ const formatted = computed(() => useDateFormat(useNow(), 'D MMMM YYYY, HH:mm', {
|
||||
<span class="md:hidden">Arthur DANJOU</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="opacity-0 group-hover:opacity-80 duration-500 flex text-sm italic justify-start ml-12">
|
||||
<div class="opacity-0 group-hover:opacity-80 duration-500 flex text-xs italic justify-start ml-12">
|
||||
{{ formatted }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user