coyotte508 HF staff commited on
Commit
ac94c73
1 Parent(s): ad02fa3

🩹 Next chat links to home page

Browse files
Files changed (1) hide show
  1. src/routes/+layout.svelte +4 -3
src/routes/+layout.svelte CHANGED
@@ -23,11 +23,12 @@
23
  class="max-md:hidden grid grid-rows-[auto,1fr,auto] grid-cols-1 max-h-screen bg-gradient-to-l from-gray-50 dark:from-gray-800/30 rounded-r-xl"
24
  >
25
  <div class="flex-none sticky top-0 p-3 flex flex-col">
26
- <button
27
- on:click={() => location.reload()}
28
  class="border px-12 py-2.5 rounded-lg shadow bg-white dark:bg-gray-700 dark:border-gray-600"
29
- >New Chat</button
30
  >
 
 
31
  </div>
32
  <div class="flex flex-col overflow-y-auto p-3 -mt-3 gap-2">
33
  {#each data.conversations as conv}
 
23
  class="max-md:hidden grid grid-rows-[auto,1fr,auto] grid-cols-1 max-h-screen bg-gradient-to-l from-gray-50 dark:from-gray-800/30 rounded-r-xl"
24
  >
25
  <div class="flex-none sticky top-0 p-3 flex flex-col">
26
+ <a
27
+ href="/"
28
  class="border px-12 py-2.5 rounded-lg shadow bg-white dark:bg-gray-700 dark:border-gray-600"
 
29
  >
30
+ New Chat
31
+ </a>
32
  </div>
33
  <div class="flex flex-col overflow-y-auto p-3 -mt-3 gap-2">
34
  {#each data.conversations as conv}