ui/imports: fix asset imports
This commit is contained in:
@@ -19,6 +19,7 @@ import { LoadingBar } from "@/src/components/LoadingBar/LoadingBar";
|
||||
import { useApiClient } from "@/src/hooks/ApiClient";
|
||||
import { useClanURI } from "@/src/hooks/clan";
|
||||
import { AlertProps } from "@/src/components/Alert/Alert";
|
||||
import usbLogo from "@/logos/usb-stick-min.png?url";
|
||||
|
||||
// TODO: Deduplicate
|
||||
interface UpdateStepperProps {
|
||||
@@ -135,11 +136,7 @@ const UpdateProgress = () => {
|
||||
|
||||
return (
|
||||
<div class="relative flex size-full flex-col items-center justify-end bg-inv-4">
|
||||
<img
|
||||
src="/logos/usb-stick-min.png"
|
||||
alt="usb logo"
|
||||
class="absolute top-2 z-0"
|
||||
/>
|
||||
<img src={usbLogo} alt="usb logo" class="absolute top-2 z-0" />
|
||||
<div class="z-10 mb-6 flex w-full max-w-md flex-col items-center gap-2 fg-inv-1">
|
||||
<Typography
|
||||
hierarchy="title"
|
||||
|
||||
@@ -20,6 +20,7 @@ import { useSystemStorageOptions } from "@/src/hooks/queries";
|
||||
import { useApiClient } from "@/src/hooks/ApiClient";
|
||||
import { onMount } from "solid-js";
|
||||
import cx from "classnames";
|
||||
import usbLogo from "@/logos/usb-stick-min.png?url";
|
||||
|
||||
const Prose = () => (
|
||||
<StepLayout
|
||||
@@ -335,11 +336,7 @@ const FlashProgress = () => {
|
||||
"relative flex size-full flex-col items-center justify-end bg-inv-4",
|
||||
)}
|
||||
>
|
||||
<img
|
||||
src="/logos/usb-stick-min.png"
|
||||
alt="usb logo"
|
||||
class="absolute top-4 z-0"
|
||||
/>
|
||||
<img src={usbLogo} alt="usb logo" class="absolute top-4 z-0" />
|
||||
<div class="z-10 mb-6 flex w-full max-w-md flex-col items-center gap-2 fg-inv-1">
|
||||
<Typography
|
||||
hierarchy="title"
|
||||
|
||||
@@ -36,6 +36,7 @@ import { useApiClient } from "@/src/hooks/ApiClient";
|
||||
import { ProcessMessage, useNotifyOrigin } from "@/src/hooks/notify";
|
||||
import { Loader } from "@/src/components/Loader/Loader";
|
||||
import { Button as KButton } from "@kobalte/core/button";
|
||||
import usbLogo from "@/logos/usb-stick-min.png?url";
|
||||
|
||||
export const InstallHeader = (props: { machineName: string }) => {
|
||||
return (
|
||||
@@ -829,11 +830,7 @@ const InstallProgress = () => {
|
||||
|
||||
return (
|
||||
<div class="relative flex size-full flex-col items-center justify-end bg-inv-4">
|
||||
<img
|
||||
src="/logos/usb-stick-min.png"
|
||||
alt="usb logo"
|
||||
class="absolute top-2 z-0"
|
||||
/>
|
||||
<img src={usbLogo} alt="usb logo" class="absolute top-2 z-0" />
|
||||
<div class="z-10 mb-6 flex w-full max-w-md flex-col items-center gap-2 fg-inv-1">
|
||||
<Typography
|
||||
hierarchy="title"
|
||||
|
||||
Reference in New Issue
Block a user