desktop: add loading window and restructure rust (#12176)

This commit is contained in:
Brendan Allan 2026-02-06 23:03:07 +08:00 committed by GitHub
commit b7ad8e459c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 849 additions and 430 deletions

View file

@ -1,3 +1,5 @@
import { ComponentProps } from "solid-js"
export const Mark = (props: { class?: string }) => {
return (
<svg
@ -13,9 +15,10 @@ export const Mark = (props: { class?: string }) => {
)
}
export const Splash = (props: { class?: string }) => {
export const Splash = (props: Pick<ComponentProps<"svg">, "ref" | "class">) => {
return (
<svg
ref={props.ref}
data-component="logo-splash"
classList={{ [props.class ?? ""]: !!props.class }}
viewBox="0 0 80 100"