mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 15:58:38 +01:00
fix new chat button
This commit is contained in:
@@ -122,7 +122,8 @@ const defaultPrompts = [
|
|||||||
How can i help you today?
|
How can i help you today?
|
||||||
</div>
|
</div>
|
||||||
<div class="grid grid-cols-2 gap-4 mt-6">
|
<div class="grid grid-cols-2 gap-4 mt-6">
|
||||||
<div v-for="prompt of defaultPrompts" @click="currentText = prompt" class="bg-[#2f2f2f] hover:bg-[#424242] cursor-pointer p-4 rounded-lg poppins text-center">
|
<div v-for="prompt of defaultPrompts" @click="currentText = prompt"
|
||||||
|
class="bg-[#2f2f2f] hover:bg-[#424242] cursor-pointer p-4 rounded-lg poppins text-center">
|
||||||
{{ prompt }}
|
{{ prompt }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -167,7 +168,7 @@ const defaultPrompts = [
|
|||||||
<i class="far fa-arrow-up"></i>
|
<i class="far fa-arrow-up"></i>
|
||||||
</div>
|
</div>
|
||||||
<div @click="menuOpen = !menuOpen"
|
<div @click="menuOpen = !menuOpen"
|
||||||
class="bg-[#303030] hover:bg-[#464646] cursor-pointer px-4 py-2 rounded-full">
|
class="bg-[#303030] lg:hidden hover:bg-[#464646] cursor-pointer px-4 py-2 rounded-full">
|
||||||
<i class="far fa-message"></i>
|
<i class="far fa-message"></i>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -201,10 +202,12 @@ const defaultPrompts = [
|
|||||||
|
|
||||||
<div class="poppins font-semibold text-[1.1rem]"> History: </div>
|
<div class="poppins font-semibold text-[1.1rem]"> History: </div>
|
||||||
|
|
||||||
<div @click="openChat()"
|
<div class="px-2">
|
||||||
class="bg-menu px-4 ml-2 mr-6 py-3 cursor-pointer hover:bg-menu/80 poppins rounded-lg flex gap-2 items-center">
|
<div @click="openChat()"
|
||||||
<div> <i class="fas fa-plus"></i> </div>
|
class="bg-menu cursor-pointer hover:bg-menu/80 rounded-lg px-4 py-3 poppins flex gap-2 items-center">
|
||||||
<div> New chat </div>
|
<div> <i class="fas fa-plus"></i> </div>
|
||||||
|
<div> New chat </div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user