added UI fix for loading screen

This commit is contained in:
Anirban Kar 2024-12-17 00:14:42 +05:30
parent 7e650af569
commit bf76a0b2e7
2 changed files with 4 additions and 2 deletions

View File

@ -1 +1 @@
{ "commit": "b304749b21f340e03c94abc0cc91ccf82f559195" }
{ "commit": "7e650af56926d88f03e543c38d2f25280e10baa3" }

View File

@ -4,6 +4,7 @@ import { ClientOnly } from 'remix-utils/client-only';
import { BaseChat } from '~/components/chat/BaseChat';
import { GitUrlImport } from '~/components/git/GitUrlImport.client';
import { Header } from '~/components/header/Header';
import BackgroundRays from '~/components/ui/BackgroundRays';
export const meta: MetaFunction = () => {
return [{ title: 'Bolt' }, { name: 'description', content: 'Talk with Bolt, an AI assistant from StackBlitz' }];
@ -15,7 +16,8 @@ export async function loader(args: LoaderFunctionArgs) {
export default function Index() {
return (
<div className="flex flex-col h-full w-full">
<div className="flex flex-col h-full w-full bg-bolt-elements-background-depth-1">
<BackgroundRays />
<Header />
<ClientOnly fallback={<BaseChat />}>{() => <GitUrlImport />}</ClientOnly>
</div>