File tree Expand file tree Collapse file tree
src/lib/components/entrance Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 $announcedPageStatus = $_ (' welcome_message' , { values: { name: $appTitle } });
2020 }
2121 });
22+
23+ const inert = $derived (!! $user && $dataLoaded);
2224 </script >
2325
2426{#snippet parseMarkdown (/** @type {string} */ str )}
2830 })}
2931{/ snippet }
3032
31- <div role ="none" class ="container" inert ={ $user && $dataLoaded }>
33+ <div role ="none" class ="container" { inert }>
3234 <div role =" none" class =" inner" >
3335 {#if $cmsConfigLoaded }
3436 <img src ={$appLogoURL } alt =" " class =" logo" />
7476</div >
7577
7678{#if $cmsConfigLoaded && $appTitle !== DEFAULT_APP_TITLE }
77- <div role =" none" class =" powered-by" >
79+ <div role ="none" class ="powered-by" { inert } >
7880 {$_ (' powered_by' , { values: { name: DEFAULT_APP_TITLE } })}
7981 </div >
8082{/if }
164166 color : var (--sui-tertiary-foreground-color );
165167 font-size : var (--sui-font-size-small );
166168 text-align : center ;
169+ transition : filter 250ms ;
170+
171+ & [inert ] {
172+ filter : opacity (0 );
173+ }
167174 }
168175 </style >
You can’t perform that action at this time.
0 commit comments