File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 40
40
import { beforeNavigate } from " $app/navigation" ;
41
41
import { isVirtualKeyboard } from " $lib/utils/isVirtualKeyboard" ;
42
42
import { usePublicConfig } from " $lib/utils/PublicConfig.svelte" ;
43
+ import Logo from " ../icons/Logo.svelte" ;
43
44
44
45
interface Props {
45
46
messages? : Message [];
250
251
}}
251
252
/>
252
253
254
+ {#if publicConfig .isClosed && shared }
255
+ <div
256
+ class =" fixed left-0 right-0 top-0 z-40 bg-gradient-to-b from-white via-white/80 to-transparent pb-12 pt-2 dark:from-gray-900 dark:via-gray-900/80"
257
+ >
258
+ <div class =" flex justify-center" >
259
+ <a
260
+ class =" flex items-center rounded-xl text-lg font-semibold text-gray-800 dark:text-gray-200"
261
+ href =" {publicConfig .PUBLIC_ORIGIN }{base }/"
262
+ >
263
+ <Logo classNames =" mr-1" />
264
+ {publicConfig .PUBLIC_APP_NAME }
265
+ </a >
266
+ </div >
267
+ </div >
268
+ <div class =" h-8" ></div >
269
+ {/if }
270
+
253
271
<div class =" relative z-[-1] min-h-0 min-w-0" >
254
272
<div
255
273
class =" scrollbar-custom h-full overflow-y-auto"
You can’t perform that action at this time.
0 commit comments