refac
Some checks are pending
Deploy to HuggingFace Spaces / check-secret (push) Waiting to run
Deploy to HuggingFace Spaces / deploy (push) Blocked by required conditions
Create and publish Docker images with specific build args / build-main-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-main-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / merge-main-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-cuda-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-ollama-images (push) Blocked by required conditions
Python CI / Format Backend (3.11) (push) Waiting to run
Frontend Build / Format & Build Frontend (push) Waiting to run
Frontend Build / Frontend Unit Tests (push) Waiting to run
Integration Test / Run Cypress Integration Tests (push) Waiting to run
Integration Test / Run Migration Tests (push) Waiting to run

This commit is contained in:
Timothy Jaeryang Baek 2025-01-18 17:50:03 -08:00
parent 71ab8b9c93
commit 3fefbb9e20
2 changed files with 8 additions and 7 deletions

View File

@ -9,7 +9,7 @@
<div class="flex justify-center relative"> <div class="flex justify-center relative">
{#if selected === 'home'} {#if selected === 'home'}
<div class="absolute top-0 left-0 flex h-full"> <div class="absolute top-0 left-0 flex h-full">
<div class="my-auto rounded-r-lg w-1 h-8 bg-white"></div> <div class="my-auto rounded-r-lg w-1 h-8 bg-black dark:bg-white"></div>
</div> </div>
{/if} {/if}
@ -30,12 +30,12 @@
</Tooltip> </Tooltip>
</div> </div>
<div class="border-t border-gray-50 dark:border-gray-900 mx-3"></div> <div class=" border-[1.5px] border-gray-100 dark:border-gray-900 mx-4"></div>
<div class="flex justify-center relative group"> <div class="flex justify-center relative group">
{#if selected === ''} {#if selected === ''}
<div class="absolute top-0 left-0 flex h-full"> <div class="absolute top-0 left-0 flex h-full">
<div class="my-auto rounded-r-lg w-1 h-8 bg-white"></div> <div class="my-auto rounded-r-lg w-1 h-8 bg-black dark:bg-white"></div>
</div> </div>
{/if} {/if}
<button <button
@ -53,9 +53,9 @@
</button> </button>
</div> </div>
<div class="flex justify-center relative group text-gray-400"> <!-- <div class="flex justify-center relative group text-gray-400">
<button class=" cursor-pointer p-2" on:click={() => {}}> <button class=" cursor-pointer p-2" on:click={() => {}}>
<Plus className="size-4" strokeWidth="2" /> <Plus className="size-4" strokeWidth="2" />
</button> </button>
</div> </div> -->
</div> </div>

View File

@ -43,7 +43,7 @@
import { bestMatchingLanguage } from '$lib/utils'; import { bestMatchingLanguage } from '$lib/utils';
import { getAllTags, getChatList } from '$lib/apis/chats'; import { getAllTags, getChatList } from '$lib/apis/chats';
import NotificationToast from '$lib/components/NotificationToast.svelte'; import NotificationToast from '$lib/components/NotificationToast.svelte';
import AppControls from '$lib/components/app/AppControls.svelte'; import AppSidebar from '$lib/components/app/AppSidebar.svelte';
setContext('i18n', i18n); setContext('i18n', i18n);
@ -209,6 +209,7 @@
if (res) { if (res) {
isApp.set(true); isApp.set(true);
appInfo.set(res); appInfo.set(res);
console.log(res);
} }
} }
@ -361,7 +362,7 @@
{#if loaded} {#if loaded}
{#if $isApp} {#if $isApp}
<div class="flex flex-row h-screen"> <div class="flex flex-row h-screen">
<AppControls /> <AppSidebar />
<div class="w-full flex-1 max-w-[calc(100%-4.5rem)]"> <div class="w-full flex-1 max-w-[calc(100%-4.5rem)]">
<slot /> <slot />