File tree Expand file tree Collapse file tree 2 files changed +34
-3
lines changed
Expand file tree Collapse file tree 2 files changed +34
-3
lines changed Original file line number Diff line number Diff line change 1+ export default function Image ( ) {
2+ return (
3+ < svg
4+ className = "mb-4 h-12 w-12 animate-spin text-white"
5+ xmlns = "http://www.w3.org/2000/svg"
6+ fill = "none"
7+ viewBox = "0 0 24 24"
8+ >
9+ < circle
10+ className = "opacity-25"
11+ cx = "12"
12+ cy = "12"
13+ r = "10"
14+ stroke = "currentColor"
15+ strokeWidth = "4"
16+ > </ circle >
17+ < path
18+ className = "opacity-75"
19+ fill = "currentColor"
20+ d = "M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"
21+ > </ path >
22+ </ svg >
23+ )
24+ }
Original file line number Diff line number Diff line change @@ -2,17 +2,24 @@ import { initDb } from '~/core/db'
22import React , { Suspense } from 'react'
33import ReactDOM from 'react-dom/client'
44import { KBarProvider } from 'kbar'
5- import { HeroUIProvider } from " @heroui/react"
5+ import { HeroUIProvider } from ' @heroui/react'
66import { MemoryRouter } from 'react-router-dom'
77
88import App from '~/App'
99import DaisyUiThemeProvider from '~/containers/DaisyUiThemeProvider'
1010
1111import '~/index.css'
12+ import StartupSpinner from './icons/StartupSpinner'
1213
1314const errorPage = (
14- < div className = "flex h-screen w-screen place-content-center bg-slate-700 text-3xl text-black" >
15- Waiting for app to load, hard refresh may be needed
15+ < div className = "flex h-screen w-screen items-center justify-center bg-base-100" >
16+ < div className = "flex flex-col items-center" >
17+ < StartupSpinner />
18+ < span className = "text-3xl text-white" > Starting LLM X</ span >
19+ < span className = "mt-2 text-base text-gray-300" >
20+ Try a hard refresh if this takes too long
21+ </ span >
22+ </ div >
1623 </ div >
1724)
1825
You can’t perform that action at this time.
0 commit comments