feat!: release v2 (#6545)
Co-authored-by: Artur <145776561+arturict@users.noreply.github.com> Co-authored-by: arturict <arturict@users.noreply.github.com> Co-authored-by: Thomas <thomas@ajnart.fr> Co-authored-by: Afonso Jorge Ramos <afonsojorgeramos@gmail.com> Co-authored-by: Danura30082 <danura30082+github@gmail.com> Co-authored-by: Kushie <122986913+kushiemoon-dev@users.noreply.github.com> Co-authored-by: ajnart <thomas@ajnart.fr> Co-authored-by: ajnart <thomas@ajnart.dev> Co-authored-by: chenjun <chenjun@foxmail.com> Co-authored-by: Wikibear <wikibear@users.noreply.github.com> Co-authored-by: Bergasha <bergasha@gmail.com> Co-authored-by: leafyelin <43306196+leafyelin@users.noreply.github.com> Co-authored-by: Lucas Araujo <lucas.lra@gmail.com> Co-authored-by: GreenMonito <86085570+GreenMonito@users.noreply.github.com> Co-authored-by: Nerdy-Technician <roffo@nerdy-technician.social> Co-authored-by: Jun <34545896+jcstrong@users.noreply.github.com> Co-authored-by: Edmond Abraham <54119952+gitedmond@users.noreply.github.com> Co-authored-by: thrawnx <tight.bulb9384@fastmail.com> Co-authored-by: Chris <58918656+nordada@users.noreply.github.com> Co-authored-by: yi111 <153097222+Yi-111-a@users.noreply.github.com> Co-authored-by: Yanis <naamaneyanis@gmail.com> Co-authored-by: Wikibear <me@sej.de> Co-authored-by: alessiottavo <93441886+alessiottavo@users.noreply.github.com>
This commit is contained in:
3286 files changed
+284386
-139176
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import { didCredentialsSignInFail } from "./account-recovery";
|
||||
|
||||
describe("didCredentialsSignInFail", () => {
|
||||
it.each([
|
||||
[undefined, true],
|
||||
[{ ok: false }, true],
|
||||
[{ ok: true, error: "CredentialsSignin" }, true],
|
||||
[{ ok: true, error: undefined }, false],
|
||||
] as const)("resolves %o to %s", (result, expected) => {
|
||||
expect(didCredentialsSignInFail(result)).toBe(expected);
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
interface CredentialsSignInResult {
|
||||
ok: boolean;
|
||||
error?: string | null;
|
||||
}
|
||||
|
||||
export const didCredentialsSignInFail = (result: CredentialsSignInResult | undefined) =>
|
||||
result === undefined || !result.ok || Boolean(result.error);
|
||||
@@ -0,0 +1,178 @@
|
||||
"use client";
|
||||
|
||||
import { useEffect, useRef, useState } from "react";
|
||||
import { Alert, Button, Stack, Text, TextInput } from "@mantine/core";
|
||||
import { IconArrowRight, IconShieldCheck, IconUserPlus } from "@tabler/icons-react";
|
||||
import type { z } from "zod/v4";
|
||||
|
||||
import { clientApi } from "@homarr/api/client";
|
||||
import { signIn } from "@homarr/auth/client";
|
||||
import { revalidatePathActionAsync } from "@homarr/common/client";
|
||||
import { useZodForm } from "@homarr/form";
|
||||
import { UserCreatePasswordFields } from "@homarr/forms-collection";
|
||||
import { showErrorNotification } from "@homarr/notifications";
|
||||
import { useI18n } from "@homarr/translation/client";
|
||||
import { Link } from "@homarr/ui";
|
||||
import { groupCreateSchema } from "@homarr/validation/group";
|
||||
import { userInitSchema } from "@homarr/validation/user";
|
||||
|
||||
import { didCredentialsSignInFail } from "./account-recovery";
|
||||
import { OnboardingAuthShell } from "./onboarding-auth-shell";
|
||||
import type { OnboardingStudioProps } from "./types";
|
||||
import { useOnboardingSounds } from "./use-onboarding-sounds";
|
||||
|
||||
const AccountShell = ({
|
||||
title,
|
||||
description,
|
||||
children,
|
||||
}: {
|
||||
title: string;
|
||||
description: string;
|
||||
children: React.ReactNode;
|
||||
}) => (
|
||||
<OnboardingAuthShell title={title} description={description} icon={<IconShieldCheck size={24} />}>
|
||||
{children}
|
||||
</OnboardingAuthShell>
|
||||
);
|
||||
|
||||
export const AccountSetup = ({ environment }: OnboardingStudioProps) => {
|
||||
if (environment.currentStep === "user") return <CredentialsSetup />;
|
||||
return <ExternalGroupSetup />;
|
||||
};
|
||||
|
||||
const CredentialsSetup = () => {
|
||||
const t = useI18n("init.studio.account");
|
||||
const [requiresSignIn, setRequiresSignIn] = useState(false);
|
||||
const [submitError, setSubmitError] = useState<string | null>(null);
|
||||
const recoveryActionRef = useRef<HTMLAnchorElement>(null);
|
||||
const sounds = useOnboardingSounds();
|
||||
const mutation = clientApi.user.initUser.useMutation({
|
||||
onError() {
|
||||
sounds.error();
|
||||
const message = t("unknownError");
|
||||
setSubmitError(message);
|
||||
showErrorNotification({ title: t("errorTitle"), message });
|
||||
},
|
||||
});
|
||||
const form = useZodForm(userInitSchema, {
|
||||
initialValues: { username: "", password: "", confirmPassword: "" },
|
||||
});
|
||||
|
||||
const submitAsync = async (values: z.infer<typeof userInitSchema>) => {
|
||||
setSubmitError(null);
|
||||
try {
|
||||
await mutation.mutateAsync(values);
|
||||
} catch {
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
const result = await signIn("credentials", {
|
||||
name: values.username,
|
||||
password: values.password,
|
||||
redirect: false,
|
||||
});
|
||||
if (didCredentialsSignInFail(result)) throw new Error();
|
||||
} catch {
|
||||
sounds.warning();
|
||||
setRequiresSignIn(true);
|
||||
return;
|
||||
}
|
||||
|
||||
await revalidatePathActionAsync("/init");
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (requiresSignIn) recoveryActionRef.current?.focus();
|
||||
}, [requiresSignIn]);
|
||||
|
||||
if (requiresSignIn) {
|
||||
return (
|
||||
<AccountShell title={t("recoveryTitle")} description={t("recoveryDescription")}>
|
||||
<Button
|
||||
component={Link}
|
||||
href="/auth/login?callbackUrl=/init"
|
||||
ref={recoveryActionRef}
|
||||
size="md"
|
||||
rightSection={<IconArrowRight size={18} />}
|
||||
>
|
||||
{t("recoveryAction")}
|
||||
</Button>
|
||||
</AccountShell>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<AccountShell title={t("title")} description={t("description")}>
|
||||
<form onSubmit={form.onSubmit((values) => submitAsync(values))}>
|
||||
<Stack gap="md">
|
||||
<TextInput label={t("username")} autoComplete="username" withAsterisk {...form.getInputProps("username")} />
|
||||
<UserCreatePasswordFields
|
||||
passwordInputProps={{ ...form.getInputProps("password"), autoComplete: "new-password" }}
|
||||
confirmPasswordInputProps={{ ...form.getInputProps("confirmPassword"), autoComplete: "new-password" }}
|
||||
/>
|
||||
<Text size="sm" c="dimmed" my="xs">
|
||||
{t("passwordHint")}
|
||||
</Text>
|
||||
{submitError ? (
|
||||
<Alert color="red" title={t("errorTitle")}>
|
||||
{submitError}
|
||||
</Alert>
|
||||
) : null}
|
||||
<Button type="submit" size="md" loading={form.submitting} rightSection={<IconArrowRight size={18} />}>
|
||||
{t("create")}
|
||||
</Button>
|
||||
</Stack>
|
||||
</form>
|
||||
</AccountShell>
|
||||
);
|
||||
};
|
||||
|
||||
const ExternalGroupSetup = () => {
|
||||
const t = useI18n("init.studio.externalGroup");
|
||||
const [submitError, setSubmitError] = useState<string | null>(null);
|
||||
const sounds = useOnboardingSounds();
|
||||
const mutation = clientApi.group.createInitialExternalGroup.useMutation({
|
||||
async onSuccess() {
|
||||
sounds.success();
|
||||
await revalidatePathActionAsync("/init");
|
||||
},
|
||||
onError() {
|
||||
sounds.error();
|
||||
const message = t("unknownError");
|
||||
setSubmitError(message);
|
||||
showErrorNotification({ title: t("errorTitle"), message });
|
||||
},
|
||||
});
|
||||
const form = useZodForm(groupCreateSchema, { initialValues: { name: "" } });
|
||||
|
||||
return (
|
||||
<AccountShell title={t("title")} description={t("description")}>
|
||||
<form
|
||||
onSubmit={form.onSubmit((values) => {
|
||||
sounds.click();
|
||||
setSubmitError(null);
|
||||
mutation.mutate(values);
|
||||
})}
|
||||
>
|
||||
<Stack gap="md">
|
||||
<TextInput
|
||||
label={t("name")}
|
||||
description={t("nameDescription")}
|
||||
leftSection={<IconUserPlus size={16} />}
|
||||
withAsterisk
|
||||
{...form.getInputProps("name")}
|
||||
/>
|
||||
{submitError ? (
|
||||
<Alert color="red" title={t("errorTitle")}>
|
||||
{submitError}
|
||||
</Alert>
|
||||
) : null}
|
||||
<Button type="submit" size="md" loading={mutation.isPending} rightSection={<IconArrowRight size={18} />}>
|
||||
{t("continue")}
|
||||
</Button>
|
||||
</Stack>
|
||||
</form>
|
||||
</AccountShell>
|
||||
);
|
||||
};
|
||||
@@ -0,0 +1,36 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import { getBoardValidationErrors } from "./board-validation";
|
||||
|
||||
describe("getBoardValidationErrors", () => {
|
||||
it("keeps attempted board errors visible until each value is corrected", () => {
|
||||
expect(
|
||||
getBoardValidationErrors({
|
||||
attempted: true,
|
||||
hasExistingBoards: true,
|
||||
selectedBoardId: null,
|
||||
boardName: "",
|
||||
}),
|
||||
).toEqual({ target: true, name: true });
|
||||
|
||||
expect(
|
||||
getBoardValidationErrors({
|
||||
attempted: true,
|
||||
hasExistingBoards: true,
|
||||
selectedBoardId: "board-id",
|
||||
boardName: "dashboard",
|
||||
}),
|
||||
).toEqual({ target: false, name: false });
|
||||
});
|
||||
|
||||
it("does not require a target when setup has no existing board", () => {
|
||||
expect(
|
||||
getBoardValidationErrors({
|
||||
attempted: true,
|
||||
hasExistingBoards: false,
|
||||
selectedBoardId: null,
|
||||
boardName: "dashboard",
|
||||
}).target,
|
||||
).toBe(false);
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,16 @@
|
||||
interface BoardValidationInput {
|
||||
attempted: boolean;
|
||||
hasExistingBoards: boolean;
|
||||
selectedBoardId: string | null;
|
||||
boardName: string;
|
||||
}
|
||||
|
||||
export const getBoardValidationErrors = ({
|
||||
attempted,
|
||||
hasExistingBoards,
|
||||
selectedBoardId,
|
||||
boardName,
|
||||
}: BoardValidationInput) => ({
|
||||
target: attempted && hasExistingBoards && !selectedBoardId,
|
||||
name: attempted && !boardName.trim(),
|
||||
});
|
||||
@@ -0,0 +1,26 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import { getOnboardingAccessState } from "./claim-state";
|
||||
|
||||
describe("getOnboardingAccessState", () => {
|
||||
it("requires existing installations to sign in even when a legacy step normalizes to start", () => {
|
||||
expect(
|
||||
getOnboardingAccessState({
|
||||
currentStep: "start",
|
||||
canConfigurePrivileged: false,
|
||||
hasUsers: true,
|
||||
externalAuthEnabled: false,
|
||||
}),
|
||||
).toBe("signIn");
|
||||
});
|
||||
|
||||
it.each([
|
||||
[{ currentStep: "start", canConfigurePrivileged: false, hasUsers: false, externalAuthEnabled: false }, "ready"],
|
||||
[{ currentStep: "user", canConfigurePrivileged: false, hasUsers: false, externalAuthEnabled: false }, "claim"],
|
||||
[{ currentStep: "setup", canConfigurePrivileged: false, hasUsers: false, externalAuthEnabled: true }, "signIn"],
|
||||
[{ currentStep: "setup", canConfigurePrivileged: true, hasUsers: true, externalAuthEnabled: false }, "ready"],
|
||||
[{ currentStep: "finish", canConfigurePrivileged: false, hasUsers: true, externalAuthEnabled: false }, "ready"],
|
||||
] as const)("resolves %o to %s", (environment, expected) => {
|
||||
expect(getOnboardingAccessState(environment)).toBe(expected);
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,14 @@
|
||||
import type { OnboardingEnvironment } from "./types";
|
||||
|
||||
export type OnboardingClaimState = "checking" | "ready" | "locked" | "signIn" | "error";
|
||||
|
||||
export const getOnboardingAccessState = (
|
||||
environment: Pick<
|
||||
OnboardingEnvironment,
|
||||
"currentStep" | "canConfigurePrivileged" | "hasUsers" | "externalAuthEnabled"
|
||||
>,
|
||||
): "ready" | "signIn" | "claim" => {
|
||||
if (environment.currentStep === "finish" || environment.canConfigurePrivileged) return "ready";
|
||||
if (environment.hasUsers || (environment.externalAuthEnabled && environment.currentStep === "setup")) return "signIn";
|
||||
return environment.currentStep === "start" ? "ready" : "claim";
|
||||
};
|
||||
@@ -0,0 +1,58 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import {
|
||||
isHttpUrl,
|
||||
normalizeServiceUrl,
|
||||
resolveDiscoveredAppUrl,
|
||||
resolveIntegrationDraftUrl,
|
||||
takeNewSourceIds,
|
||||
} from "./discovery-selection";
|
||||
|
||||
describe("takeNewSourceIds", () => {
|
||||
it("keeps same-kind service instances independent and does not reselect them after refresh", () => {
|
||||
const seen = new Set<string>();
|
||||
const sonarrInstances = ["docker:host:sonarr-hd", "docker:host:sonarr-4k"];
|
||||
|
||||
expect(takeNewSourceIds(sonarrInstances, seen)).toEqual(sonarrInstances);
|
||||
expect(takeNewSourceIds(sonarrInstances, seen)).toEqual([]);
|
||||
});
|
||||
|
||||
it("keeps an explicit app URL and falls back through discovery and server-derived addresses", () => {
|
||||
expect(resolveDiscoveredAppUrl("https://manual.example", "https://label.example", "http://host:3000")).toBe(
|
||||
"https://manual.example",
|
||||
);
|
||||
expect(resolveDiscoveredAppUrl(undefined, "https://label.example", "http://host:3000")).toBe(
|
||||
"https://label.example",
|
||||
);
|
||||
expect(resolveDiscoveredAppUrl(undefined, null, "http://host:3000")).toBe("http://host:3000");
|
||||
expect(resolveDiscoveredAppUrl(undefined, null, null)).toBe("");
|
||||
});
|
||||
|
||||
it("regenerates integration URLs from the usual server address without replacing manual edits", () => {
|
||||
expect(
|
||||
resolveIntegrationDraftUrl({
|
||||
currentUrl: "http://docker-host:8989",
|
||||
overridden: false,
|
||||
serverUrl: "http://home.lan:8989",
|
||||
fallbackUrl: "http://docker-host:8989",
|
||||
}),
|
||||
).toBe("http://home.lan:8989");
|
||||
expect(
|
||||
resolveIntegrationDraftUrl({
|
||||
currentUrl: "https://sonarr.custom.example",
|
||||
overridden: true,
|
||||
serverUrl: "http://home.lan:8989",
|
||||
fallbackUrl: "http://docker-host:8989",
|
||||
}),
|
||||
).toBe("https://sonarr.custom.example");
|
||||
});
|
||||
|
||||
it("normalizes HTTP, HTTPS, and bare self-hosted service addresses", () => {
|
||||
expect(isHttpUrl("http://home.lan:8989")).toBe(true);
|
||||
expect(isHttpUrl("https://home.example/sonarr")).toBe(true);
|
||||
expect(normalizeServiceUrl("home.lan:8989")).toBe("http://home.lan:8989");
|
||||
expect(normalizeServiceUrl("0.0.0.0:8989")).toBe("http://0.0.0.0:8989");
|
||||
expect(isHttpUrl("javascript:alert(1)")).toBe(false);
|
||||
expect(isHttpUrl("file:///etc/passwd")).toBe(false);
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,37 @@
|
||||
export const takeNewSourceIds = (sourceIds: string[], seenSourceIds: Set<string>) =>
|
||||
sourceIds.filter((sourceId) => {
|
||||
if (seenSourceIds.has(sourceId)) return false;
|
||||
seenSourceIds.add(sourceId);
|
||||
return true;
|
||||
});
|
||||
|
||||
export const resolveDiscoveredAppUrl = (
|
||||
override: string | undefined,
|
||||
suggestedUrl: string | null,
|
||||
generatedUrl: string | null,
|
||||
) => override ?? suggestedUrl ?? generatedUrl ?? "";
|
||||
|
||||
export const resolveIntegrationDraftUrl = ({
|
||||
currentUrl,
|
||||
overridden,
|
||||
serverUrl,
|
||||
fallbackUrl,
|
||||
}: {
|
||||
currentUrl: string;
|
||||
overridden: boolean;
|
||||
serverUrl: string | null;
|
||||
fallbackUrl: string | null;
|
||||
}) => (overridden ? currentUrl : serverUrl || fallbackUrl || "");
|
||||
|
||||
export const normalizeServiceUrl = (value: string) => {
|
||||
try {
|
||||
const trimmed = value.trim();
|
||||
if (!trimmed) return null;
|
||||
const url = new URL(/^[a-z][a-z0-9+.-]*:\/\//iu.test(trimmed) ? trimmed : `http://${trimmed}`);
|
||||
return url.protocol === "http:" || url.protocol === "https:" ? url.toString().replace(/\/$/u, "") : null;
|
||||
} catch {
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
||||
export const isHttpUrl = (value: string) => normalizeServiceUrl(value) !== null;
|
||||
@@ -0,0 +1,179 @@
|
||||
"use client";
|
||||
|
||||
import type { CSSProperties, MouseEvent as ReactMouseEvent } from "react";
|
||||
import { Button, Group, Paper, SimpleGrid, Stack, Text, ThemeIcon, Title } from "@mantine/core";
|
||||
import { IconArrowRight, IconBook2, IconSparkles, IconTool } from "@tabler/icons-react";
|
||||
import confetti from "canvas-confetti";
|
||||
|
||||
import { createDocumentationLink } from "@homarr/definitions";
|
||||
import { useI18n } from "@homarr/translation/client";
|
||||
import { Link } from "@homarr/ui";
|
||||
|
||||
import { OnboardingBackdrop } from "./onboarding-backdrop";
|
||||
import { OnboardingWordmark } from "./onboarding-wordmark";
|
||||
import type { OnboardingStudioProps } from "./types";
|
||||
import { useOnboardingSounds } from "./use-onboarding-sounds";
|
||||
import classes from "./onboarding-studio.module.css";
|
||||
|
||||
export const Finish = ({ environment }: OnboardingStudioProps) => {
|
||||
const t = useI18n("init.studio.finish");
|
||||
const sounds = useOnboardingSounds();
|
||||
const primaryColor = environment.initialBoard?.primaryColor ?? "#fa5252";
|
||||
const secondaryColor = environment.initialBoard?.secondaryColor ?? "#fd7e14";
|
||||
const board = environment.initialBoard ?? environment.availableBoards[0];
|
||||
let boardHref = "/manage/boards";
|
||||
if (board) {
|
||||
boardHref = `/boards/${encodeURIComponent(board.name)}`;
|
||||
}
|
||||
const destination = environment.canConfigurePrivileged
|
||||
? boardHref
|
||||
: `/auth/login?callbackUrl=${encodeURIComponent(boardHref)}`;
|
||||
const openBoard = (event: ReactMouseEvent<HTMLAnchorElement>) => {
|
||||
sounds.success();
|
||||
if (
|
||||
event.button !== 0 ||
|
||||
event.metaKey ||
|
||||
event.ctrlKey ||
|
||||
event.shiftKey ||
|
||||
event.altKey ||
|
||||
window.matchMedia("(prefers-reduced-motion: reduce)").matches
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
event.preventDefault();
|
||||
const button = event.currentTarget.getBoundingClientRect();
|
||||
void confetti({
|
||||
particleCount: 120,
|
||||
spread: 75,
|
||||
startVelocity: 45,
|
||||
origin: {
|
||||
x: (button.left + button.width / 2) / window.innerWidth,
|
||||
y: (button.top + button.height / 2) / window.innerHeight,
|
||||
},
|
||||
disableForReducedMotion: true,
|
||||
});
|
||||
window.setTimeout(() => window.location.assign(destination), 450);
|
||||
};
|
||||
|
||||
return (
|
||||
<main
|
||||
className={classes.page}
|
||||
style={
|
||||
{
|
||||
"--studio-glow-color": primaryColor,
|
||||
"--studio-secondary-glow-color": secondaryColor,
|
||||
} as CSSProperties
|
||||
}
|
||||
>
|
||||
<OnboardingBackdrop />
|
||||
<div className={classes.shell}>
|
||||
<Stack mih="calc(100dvh - 6rem)" justify="center" align="center">
|
||||
<div style={{ width: "100%", maxWidth: "52rem" }}>
|
||||
<Paper className={classes.studio} radius="lg" p={{ base: "lg", sm: "xl" }}>
|
||||
<Stack gap="xl" align="center">
|
||||
<OnboardingWordmark primaryColor={primaryColor} secondaryColor={secondaryColor} />
|
||||
<Stack gap="xs" align="center">
|
||||
<Title ta="center">{t("title")}</Title>
|
||||
<Text c="dimmed" ta="center" maw="42rem">
|
||||
{t("description")}
|
||||
</Text>
|
||||
</Stack>
|
||||
<Button
|
||||
component={Link}
|
||||
href={destination}
|
||||
size="lg"
|
||||
className={classes.finishPrimaryAction}
|
||||
rightSection={<IconArrowRight size={18} />}
|
||||
onClick={openBoard}
|
||||
>
|
||||
{t("openBoard")}
|
||||
</Button>
|
||||
<SimpleGrid cols={{ base: 1, sm: 3 }} w="100%">
|
||||
<NextCard
|
||||
icon={IconTool}
|
||||
title={t("manageTitle")}
|
||||
description={t("manageDescription")}
|
||||
href="/manage"
|
||||
/>
|
||||
<NextCard
|
||||
icon={IconSparkles}
|
||||
title={t("workshopTitle")}
|
||||
description={t("workshopDescription")}
|
||||
href="/manage/workshop"
|
||||
/>
|
||||
<NextCard
|
||||
icon={IconBook2}
|
||||
title={t("docsTitle")}
|
||||
description={t("docsDescription")}
|
||||
href={createDocumentationLink("/docs/getting-started/after-the-installation")}
|
||||
external
|
||||
/>
|
||||
</SimpleGrid>
|
||||
</Stack>
|
||||
</Paper>
|
||||
</div>
|
||||
</Stack>
|
||||
</div>
|
||||
</main>
|
||||
);
|
||||
};
|
||||
|
||||
const NextCard = (props: {
|
||||
icon: typeof IconTool;
|
||||
title: string;
|
||||
description: string;
|
||||
href: string;
|
||||
external?: boolean;
|
||||
}) => (props.external ? <ExternalNextCard {...props} /> : <InternalNextCard {...props} />);
|
||||
|
||||
const InternalNextCard = ({
|
||||
icon: Icon,
|
||||
title,
|
||||
description,
|
||||
href,
|
||||
}: {
|
||||
icon: typeof IconTool;
|
||||
title: string;
|
||||
description: string;
|
||||
href: string;
|
||||
}) => (
|
||||
<Paper className={classes.nextCard} component={Link} href={href} withBorder radius="md" p="md">
|
||||
<Stack gap="sm">
|
||||
<Group gap="xs">
|
||||
<ThemeIcon variant="light" size="md">
|
||||
<Icon size={17} />
|
||||
</ThemeIcon>
|
||||
<Text fw={650}>{title}</Text>
|
||||
</Group>
|
||||
<Text size="sm" c="dimmed">
|
||||
{description}
|
||||
</Text>
|
||||
</Stack>
|
||||
</Paper>
|
||||
);
|
||||
|
||||
const ExternalNextCard = ({ icon: Icon, title, description, href }: Parameters<typeof NextCard>[0]) => (
|
||||
<Paper
|
||||
className={classes.nextCard}
|
||||
component="a"
|
||||
href={href}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
withBorder
|
||||
radius="md"
|
||||
p="md"
|
||||
>
|
||||
<Stack gap="sm">
|
||||
<Group gap="xs">
|
||||
<ThemeIcon variant="light" size="md">
|
||||
<Icon size={17} />
|
||||
</ThemeIcon>
|
||||
<Text fw={650}>{title}</Text>
|
||||
</Group>
|
||||
<Text size="sm" c="dimmed">
|
||||
{description}
|
||||
</Text>
|
||||
</Stack>
|
||||
</Paper>
|
||||
);
|
||||
@@ -0,0 +1,227 @@
|
||||
import * as React from "react";
|
||||
import type { SVGProps } from "react";
|
||||
const SvgHomarrWordmarkLight = (props: SVGProps<SVGSVGElement>) => (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width={1477.255}
|
||||
height={1054.08}
|
||||
style={{
|
||||
maxHeight: 500,
|
||||
}}
|
||||
viewBox="177.098 0 1477.255 1054.08"
|
||||
{...props}
|
||||
>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-foreground)"
|
||||
d="m1034.905 72.855 5.73-.01q7.747-.013 15.496-.012l9.7-.006q16.947-.014 33.895-.012 15.754-.001 31.508-.026 13.563-.019 27.125-.018 8.085.002 16.168-.013 7.609-.014 15.218-.003 2.778.003 5.555-.007c30.415-.093 57.822 5.753 81.926 24.846a282 282 0 0 0 4.813 3.71c3.98 3.358 6.918 7.566 9.961 11.758l1.873 2.578C1302.162 127.233 1309 140.379 1309 155l3.184-.84 4.253-1.098 2.084-.552c8.394-2.147 16.652-2.66 25.29-2.655l2.838-.01q4.605-.013 9.21-.013l6.46-.01q6.757-.009 13.516-.007c5.744 0 11.487-.014 17.23-.031q6.67-.015 13.338-.013 3.174 0 6.348-.013c10.941-.036 21.496.005 32.249 2.242l3.308.671c18.981 3.948 32.759 9.916 47.918 21.923a282 282 0 0 0 4.813 3.71c3.983 3.36 6.909 7.57 9.961 11.758.59.784 1.18 1.567 1.79 2.374 7.855 10.684 12.124 21.354 15.022 34.251l.905 3.8c2.253 9.668 3.437 18.855 3.412 28.774l.006 2.66q.004 4.312-.002 8.626 0 3.028.003 6.056.002 6.335-.006 12.668-.006 8.07.004 16.142.005 6.251 0 12.503l.002 5.947c.016 17.384.016 17.384-.755 25.441-.45 5.045-.08 9.082 1.392 13.907l.603 2.177q.64 2.305 1.308 4.6c1.209 4.174 2.338 8.37 3.48 12.563l.72 2.62c7.557 27.605 13.053 55.511 17.116 83.829l.49 3.236c.386 2.585.74 5.172 1.072 7.764l.504 3.875c.182 3.644-.69 6.751-1.629 10.262-1.802 7.231-1.13 13.382 0 20.675 1.155 7.74 1.918 13.678-.437 21.188-.017 3.506.736 6.871 1.535 10.285 1.36 7.94.746 16.572-.308 24.527-.64 6.183-.448 12.112.773 18.188 3.616 41.738-13.082 92.776-28 131l-1.003 2.595c-6.45 16.395-14.907 31.02-30.997 39.405-2.321.798-4.613 1.41-7 2l.602 3.879c1.647 15.225-5.064 28.67-14.313 40.219A486 486 0 0 1 1474 812l-1.364 1.613a163 163 0 0 1-5.44 6.051c-1.821 1.937-3.552 3.909-5.282 5.926-4.215 4.835-8.702 9.384-13.237 13.919a1036 1036 0 0 0-4.232 4.27c-6.169 6.182-12.6 11.803-19.445 17.221a1339 1339 0 0 0-3.723 3.047c-12.516 10.168-25.564 19.55-38.965 28.515-.73.49-1.46.978-2.212 1.481A428 428 0 0 1 1374 898l-1.71 1.125c-4.903 3.048-10.02 4.42-15.603 5.75l-2.685.719c-6.513 1.577-11.568 1.225-18.002-.594l-1.563 2.875A634 634 0 0 1 1332 912l-1.332 2.34c-10.307 16.517-29.3 22.303-46.668 28.66l-2.242.823c-24.945 9.133-50.136 16.65-75.928 22.983-3.869.95-7.726 1.939-11.58 2.944-3.37.875-6.748 1.717-10.125 2.562l-3.542.936c-7.774 1.877-13.837 1.64-21.583-.248l-2.439-.55a231 231 0 0 1-6.311-1.575l-2.148-.55q-2.553-.657-5.102-1.325v2c-8.462 7.391-17.024 10.73-28 13l-3.497.74c-10.336 2.067-20.653 3.222-31.148 4.14-2.786.244-5.572.5-8.357.757-17.946 1.636-35.838 2.564-53.854 2.976q-3.144.075-6.288.166c-12.817.37-25.18.26-37.856-1.779l-2.664-.428c-8.849-1.607-15.827-4.135-22.336-10.572l-1.59.953c-5.4 2.984-10.76 4.898-16.723 6.36l-2.005.518c-12.879 2.958-26.37.657-39.307-.894l-2.811-.331C853.776 982.713 821.22 977.218 789 970l-2.995-.646C772.965 966.494 763.26 961.91 755 951l-3.84.91q-2.548.578-5.098 1.152l-2.517.604c-5.825 1.292-10.685 1.417-16.545.334l-1.998-.365C688.833 946.29 652.397 931.262 619 916l-3.206-1.458c-37.723-17.268-37.723-17.268-46.064-36.464L569 876l-3.855.621c-5.451.596-10.167-.256-15.458-1.559l-2.811-.69c-7.84-2.087-13.51-5.348-19.876-10.372a539 539 0 0 0-4.266-3.055C511.167 852.74 499.636 844.4 489 835l-1.617 2.125c-13.297 16.932-29.353 25.684-50.616 28.636-15.4.976-30.352-3.944-42.767-12.761-1.3-.88-1.3-.88-2.628-1.776-11.983-8.296-19.45-20.82-22.997-34.724l-.677-2.63c-1.516-6.873-2.096-13.783-2.642-20.787l-.26-3.291c-1.049-13.655-1.85-27.325-2.647-40.995l-.395-6.736q-.693-11.79-1.378-23.577-.636-10.94-1.288-21.88-.562-9.465-1.111-18.93-.326-5.624-.662-11.247a4439 4439 0 0 1-.726-12.475l-.228-3.726-.191-3.434-.174-2.968c.004-3.045.451-5.834 1.004-8.824q.113-2.588.098-5.18l-.01-2.812-.026-2.883-.013-2.953q-.018-3.585-.049-7.172l-3.898.127c-43.423 1.287-43.423 1.287-62.29-3.502l-3.724-.9c-9.412-2.68-15.747-7.458-23.088-13.725l-3.19-2.615c-14.904-12.652-20.33-31.806-22.016-50.696-.838-12.699-.52-25.46-.335-38.175.07-5.382.1-10.765.133-16.147q.085-12.538.216-25.075c.18-17.19.27-34.381.34-51.573.055-13.377.122-26.754.19-40.132l.06-12.431c.039-8.774.083-17.548.144-26.321q.04-5.512.061-11.025c.235-59.79.235-59.79 18.397-78.81a736 736 0 0 0 2.902-3.496c13.038-15.192 32.66-19.846 51.891-21.911 7.48-.526 14.94-.594 22.436-.506 3.772.038 7.538 0 11.31-.044 13.167-.027 25.523 1.134 38.3 4.168l3.624.86c8.344 2.18 14.692 5.35 21.103 11.085 2.195 2.038 2.195 2.038 4.461 1.883 2.637-1.389 4.688-3.249 6.973-5.164 6.54-4.892 13.727-6.928 21.562-8.938l3.381-.904c10.378-2.47 20.45-2.393 31.057-2.033l2.583.086c65.02 2.373 65.02 2.373 82.417 19.914a1027 1027 0 0 0 4.125 3.125c14.678 13.654 20.966 32.41 22.06 52.226.026 5.796-.391 11.523-.97 17.287-.294 3.228-.344 6.434-.34 9.674l-.008 2.676c.081 2.845.081 2.845.395 4.983 1 7.686.522 15.225.014 22.925-.151 2.297-.29 4.594-.428 6.891l-.278 4.443-.126 2.05c-.286 4.285-.79 8.48-1.444 12.72l2.136-.535c3.245-.808 6.492-1.605 9.739-2.403l3.36-.841c22.262-5.435 51.89-4.659 72.765 5.779l.723-2.238c1.466-3.171 3.064-4.7 5.714-6.95l2.372-2.042C684 366 684 366 687 364c.456-2.06.456-2.06.385-4.48l.03-2.859-.014-3.147.02-3.307c.02-3.627.02-7.255.02-10Line truncated
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="m1034.905 72.855 5.73-.01q7.747-.013 15.496-.012l9.7-.006q16.947-.014 33.895-.012 15.754-.001 31.508-.026 13.563-.019 27.125-.018 8.085.002 16.168-.013 7.609-.014 15.218-.003 2.778.003 5.555-.007c30.415-.093 57.822 5.753 81.926 24.846a282 282 0 0 0 4.813 3.71c3.98 3.358 6.918 7.566 9.961 11.758l1.873 2.578C1302.162 127.233 1309 140.379 1309 155l3.184-.84 4.253-1.098 2.084-.552c8.394-2.147 16.652-2.66 25.29-2.655l2.838-.01q4.605-.013 9.21-.013l6.46-.01q6.757-.009 13.516-.007c5.744 0 11.487-.014 17.23-.031q6.67-.015 13.338-.013 3.174 0 6.348-.013c10.941-.036 21.496.005 32.249 2.242l3.308.671c18.981 3.948 32.759 9.916 47.918 21.923a282 282 0 0 0 4.813 3.71c3.983 3.36 6.909 7.57 9.961 11.758.59.784 1.18 1.567 1.79 2.374 7.855 10.684 12.124 21.354 15.022 34.251l.905 3.8c2.253 9.668 3.437 18.855 3.412 28.774l.006 2.66q.004 4.312-.002 8.626 0 3.028.003 6.056.002 6.335-.006 12.668-.006 8.07.004 16.142.005 6.251 0 12.503l.002 5.947c.016 17.384.016 17.384-.755 25.441-.45 5.045-.08 9.082 1.392 13.907l.603 2.177q.64 2.305 1.308 4.6c1.209 4.174 2.338 8.37 3.48 12.563l.72 2.62c7.557 27.605 13.053 55.511 17.116 83.829l.49 3.236c.386 2.585.74 5.172 1.072 7.764l.504 3.875c.182 3.644-.69 6.751-1.629 10.262-1.802 7.231-1.13 13.382 0 20.675 1.155 7.74 1.918 13.678-.437 21.188-.017 3.506.736 6.871 1.535 10.285 1.36 7.94.746 16.572-.308 24.527-.64 6.183-.448 12.112.773 18.188 3.616 41.738-13.082 92.776-28 131l-1.003 2.595c-6.45 16.395-14.907 31.02-30.997 39.405-2.321.798-4.613 1.41-7 2l.602 3.879c1.647 15.225-5.064 28.67-14.313 40.219A486 486 0 0 1 1474 812l-1.364 1.613a163 163 0 0 1-5.44 6.051c-1.821 1.937-3.552 3.909-5.282 5.926-4.215 4.835-8.702 9.384-13.237 13.919a1036 1036 0 0 0-4.232 4.27c-6.169 6.182-12.6 11.803-19.445 17.221a1339 1339 0 0 0-3.723 3.047c-12.516 10.168-25.564 19.55-38.965 28.515-.73.49-1.46.978-2.212 1.481A428 428 0 0 1 1374 898l-1.71 1.125c-4.903 3.048-10.02 4.42-15.603 5.75l-2.685.719c-6.513 1.577-11.568 1.225-18.002-.594l-1.563 2.875A634 634 0 0 1 1332 912l-1.332 2.34c-10.307 16.517-29.3 22.303-46.668 28.66l-2.242.823c-24.945 9.133-50.136 16.65-75.928 22.983-3.869.95-7.726 1.939-11.58 2.944-3.37.875-6.748 1.717-10.125 2.562l-3.542.936c-7.774 1.877-13.837 1.64-21.583-.248l-2.439-.55a231 231 0 0 1-6.311-1.575l-2.148-.55q-2.553-.657-5.102-1.325v2c-8.462 7.391-17.024 10.73-28 13l-3.497.74c-10.336 2.067-20.653 3.222-31.148 4.14-2.786.244-5.572.5-8.357.757-17.946 1.636-35.838 2.564-53.854 2.976q-3.144.075-6.288.166c-12.817.37-25.18.26-37.856-1.779l-2.664-.428c-8.849-1.607-15.827-4.135-22.336-10.572l-1.59.953c-5.4 2.984-10.76 4.898-16.723 6.36l-2.005.518c-12.879 2.958-26.37.657-39.307-.894l-2.811-.331C853.776 982.713 821.22 977.218 789 970l-2.995-.646C772.965 966.494 763.26 961.91 755 951l-3.84.91q-2.548.578-5.098 1.152l-2.517.604c-5.825 1.292-10.685 1.417-16.545.334l-1.998-.365C688.833 946.29 652.397 931.262 619 916l-3.206-1.458c-37.723-17.268-37.723-17.268-46.064-36.464L569 876l-3.855.621c-5.451.596-10.167-.256-15.458-1.559l-2.811-.69c-7.84-2.087-13.51-5.348-19.876-10.372a539 539 0 0 0-4.266-3.055C511.167 852.74 499.636 844.4 489 835l-1.617 2.125c-13.297 16.932-29.353 25.684-50.616 28.636-15.4.976-30.352-3.944-42.767-12.761-1.3-.88-1.3-.88-2.628-1.776-11.983-8.296-19.45-20.82-22.997-34.724l-.677-2.63c-1.516-6.873-2.096-13.783-2.642-20.787l-.26-3.291c-1.049-13.655-1.85-27.325-2.647-40.995l-.395-6.736q-.693-11.79-1.378-23.577-.636-10.94-1.288-21.88-.562-9.465-1.111-18.93-.326-5.624-.662-11.247a4439 4439 0 0 1-.726-12.475l-.228-3.726-.191-3.434-.174-2.968c.004-3.045.451-5.834 1.004-8.824q.113-2.588.098-5.18l-.01-2.812-.026-2.883-.013-2.953q-.018-3.585-.049-7.172l-3.898.127c-43.423 1.287-43.423 1.287-62.29-3.502l-3.724-.9c-9.412-2.68-15.747-7.458-23.088-13.725l-3.19-2.615c-14.904-12.652-20.33-31.806-22.016-50.696-.838-12.699-.52-25.46-.335-38.175.07-5.382.1-10.765.133-16.147q.085-12.538.216-25.075c.18-17.19.27-34.381.34-51.573.055-13.377.122-26.754.19-40.132l.06-12.431c.039-8.774.083-17.548.144-26.321q.04-5.512.061-11.025c.235-59.79.235-59.79 18.397-78.81a736 736 0 0 0 2.902-3.496c13.038-15.192 32.66-19.846 51.891-21.911 7.48-.526 14.94-.594 22.436-.506 3.772.038 7.538 0 11.31-.044 13.167-.027 25.523 1.134 38.3 4.168l3.624.86c8.344 2.18 14.692 5.35 21.103 11.085 2.195 2.038 2.195 2.038 4.461 1.883 2.637-1.389 4.688-3.249 6.973-5.164 6.54-4.892 13.727-6.928 21.562-8.938l3.381-.904c10.378-2.47 20.45-2.393 31.057-2.033l2.583.086c65.02 2.373 65.02 2.373 82.417 19.914a1027 1027 0 0 0 4.125 3.125c14.678 13.654 20.966 32.41 22.06 52.226.026 5.796-.391 11.523-.97 17.287-.294 3.228-.344 6.434-.34 9.674l-.008 2.676c.081 2.845.081 2.845.395 4.983 1 7.686.522 15.225.014 22.925-.151 2.297-.29 4.594-.428 6.891l-.278 4.443-.126 2.05c-.286 4.285-.79 8.48-1.444 12.72l2.136-.535c3.245-.808 6.492-1.605 9.739-2.403l3.36-.841c22.262-5.435 51.89-4.659 72.765 5.779l.723-2.238c1.466-3.171 3.064-4.7 5.714-6.95l2.372-2.042C684 366 684 366 687 364c.456-2.06.456-2.06.385-4.48l.03-2.859-.014-3.147.02-3.307c.02-3.627.02-7.255.02-10Line truncated
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="M1015.727 124.74c.854-.005 1.708-.008 2.589-.012 2.85-.01 5.7-.007 8.55-.003l6.146-.015c5.559-.014 11.117-.014 16.675-.012q6.97 0 13.94-.008 16.455-.016 32.909-.006c11.296.006 22.593-.006 33.889-.027a13543 13543 0 0 1 29.14-.02c5.794.001 11.589-.001 17.383-.015q8.183-.018 16.365.002 2.991.004 5.983-.009c18.04-.07 33.959 1.502 47.856 14.4 8.945 9.607 14.208 20.792 14.075 34.032v2.338c0 2.527-.016 5.053-.032 7.58l-.008 5.283q-.014 6.927-.05 13.854c-.02 4.72-.03 9.439-.04 14.158-.02 9.247-.055 18.493-.097 27.74l1.64-1.288 2.165-1.669 2.14-1.663c2.055-1.38 2.055-1.38 5.18-2.068 4.065.973 5.888 2.77 8.875 5.688 1.434 2.869 1.32 4.813 1 8-1.793 2.887-1.793 2.887-4.188 5.687l-2.355 2.825c-2.455 2.486-4.236 4.138-7.457 5.488l-7-1 1 33c6.49 1.892 6.49 1.892 12.984 3.769l2.446.723 2.507.73C1282 303 1282 303 1284 305c.125 3.125.125 3.125 0 6-7.507 3.495-15.184 6.287-23 9 4.354 5.214 8.939 10.06 13.77 14.832l2.186 2.175q3.426 3.406 6.856 6.805 4.545 4.506 9.083 9.02l2.114 2.09 1.943 1.933 1.715 1.699c2.432 2.638 3.094 5.423 3.067 9.005-1.74 5.786-7.036 9.944-11.734 13.441-3.468 1.47-4.164 1.132-8 0-5.813-4.303-10.858-9.734-15.93-14.867-.716-.72-1.433-1.44-2.17-2.183a5330 5330 0 0 1-6.775-6.825 7276 7276 0 0 0-8.992-9.055l-2.08-2.105-1.924-1.933-1.69-1.706c-1.421-1.433-1.421-1.433-3.439-2.326l-.516 1.984c-1.887 7.107-4.094 14.064-6.484 21.016-3.375.625-3.375.625-7 1-2.186-2.186-2.683-3.539-3.625-6.438-.26-.782-.52-1.564-.79-2.37C1220 353 1220 353 1220 350c-6.424-.01-12.846.028-19.269.098q-3.274.027-6.55.022c-3.146-.003-6.29.033-9.435.075l-2.94-.027c-4.976.106-7.959.473-11.751 3.843l-1.548 1.644C1167 357 1167 357 1163.375 357.625c-3.897-.722-5.669-1.755-8.375-4.625v-3l-2.218.006q-26.769.066-53.538.098-12.945.014-25.89.047-11.29.03-22.578.037-5.972.003-11.945.023-5.632.02-11.265.015c-2.02.001-4.04.012-6.059.023-16.315-.037-29.251-3.27-41.32-14.835-8.75-9.657-13.29-22.388-13.327-35.338l-.018-3.521-.003-3.821-.015-4.058q-.019-5.495-.024-10.99l-.012-6.88q-.02-10.783-.027-21.565-.007-12.41-.05-24.82-.034-9.618-.034-19.234a2590 2590 0 0 0-.025-11.465 1535 1535 0 0 1-.01-10.798c.002-1.934-.012-3.867-.026-5.8.069-14.55 4.07-27.281 14.142-38.019 9.949-9.342 21.29-14.431 34.969-14.366"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="M1330 422h91c10.034 34.281 19.074 66.86 22.317 102.22.323 3.347.842 6.437 1.8 9.647 1.269 4.877.557 9.197-.117 14.133q-.31 2.824-.612 5.649c-3.335 31.246-9.171 59.525-22.469 88.327-5.442 12.023-5.599 22.47-1.919 35.024a120 120 0 0 0 2 4l-3.812-.187c-10.13.063-17.977 3.083-25.188 10.187-3.067 3.339-5.973 6.81-8.875 10.293A267.4 267.4 0 0 1 1354 732l-1.903 1.652c-9.88 8.512-20.186 16-31.124 23.094L1316 760l-2.676 1.72c-7.97 5.292-12.214 9.826-14.185 19.294-.15.8-.298 1.6-.451 2.423l-.51 2.506A497 497 0 0 0 1297 792c-4.657-1.852-4.657-1.852-6.887-2.816-12.076-5.004-23.198-2.736-35.058 2.093q-3.095 1.321-6.18 2.66c-23.781 9.973-48.21 18.093-73.216 24.389-3.753.951-7.487 1.969-11.222 2.986-3.748 1.018-7.42 1.867-11.25 2.5-6.35 1.393-11.922 5.234-15.859 10.368-2.785 4.735-4.255 9.454-5.328 14.82h-2c-1.191-1.54-1.191-1.54-2.562-3.625-4.448-6.103-10.559-10.678-18.114-12.133-9.876-1.029-19.56.008-29.36 1.184-5.437.645-10.884 1.155-16.339 1.636l-2.603.24c-13.953 1.217-27.927 1.737-41.928 1.909l-3.361.043c-4.57.058-9.14.113-13.71.147-3.393.028-6.786.074-10.18.122l-3.068.01c-11.513.196-21.42 2.129-29.775 10.467-2.66 3.113-4.692 6.077-6 10h-2c-.22-.568-.438-1.137-.664-1.723-3.258-7.933-7.556-14.243-15.336-18.277-8.873-2.89-17.91-3.795-27.142-4.65-32.407-3.024-65.264-7.21-97.018-14.502-9.28-2.049-17.187-.827-25.84 3.152-3.823 2.547-6.455 5.183-9 9h-2l-.41-2.309c-2.118-10.159-6.074-16.468-14.596-22.47-3.24-1.983-6.643-3.023-10.267-4.096l-4.887-1.525-2.575-.788c-27.995-8.608-54.764-19.378-81.31-31.706-20.112-9.398-20.112-9.398-41.717-7.04-3.097 1.292-5.574 2.9-8.238 4.934l.188-3.687c-.043-8.965-1.745-17.524-7.395-24.63-2.387-2.24-5.037-3.927-7.793-5.683l.875-3.402c2.875-11.451 4.137-19.562.805-31.051-1.504-5.634-.57-10.138.82-15.672 1.659-6.706 1.804-13.001 1.5-19.875l1.82.212c6.223.68 12.36.97 18.617.976l2.62.037c6.516.014 12.575-.899 18.943-2.225l2.623-.504c19.275-3.74 38.028-9.615 53.104-22.707l2.044-1.702a88 88 0 0 0 3.87-3.44c2.15-1.787 3.673-2.818 6.359-3.647 4.843.45 9.355 1.585 14 3l.06 3.219c.077 4.027.166 8.055.257 12.083q.057 2.59.105 5.18c-.348 29.98-.348 29.98 12.578 55.518 7.423 7.023 15.072 8.981 25.125 9.25 6.156.32 8.753 1.563 12.984 5.91 7.991 7.776 22.462 10.86 33.328 11.34 18.016-.79 32.165-7.659 44.563-20.5a64 64 0 0 0 2.75-3.812c2.052-2.908 3.426-4.195 6.25-6.188 5.893-4.18 9.12-8.992 11-16q2.094-.04 4.188-.062l2.355-.036c2.457.098 2.457.098 4.478.543 4.342.809 8.71 1.144 13.108 1.528l2.986.264q3.127.276 6.256.547c3.156.275 6.312.559 9.467.843 13.46 1.244 13.46 1.244 26.964 1.179 2.755.243 4.095 1.206 6.26 2.881 9.456 7.225 25.224 9.942 36.817 8.656 12.38-2 27.067-5.519 35.933-14.968 3.25-3.017 5.793-3.987 10.125-4.875 7.872-1.63 13.206-5.741 18-12.125 1.7-2.78 3.036-5.295 4.063-8.375l1.8.057c6.575.115 12.76-.575 19.235-1.666l3.14-.51c3.298-.536 6.592-1.083 9.888-1.631l6.455-1.055q4.843-.788 9.685-1.59c5.554-.92 11.11-1.812 16.675-2.658l3.395-.522q3.182-.488 6.366-.955c11.984-1.849 21.822-5.084 29.361-15.158 1.646-2.726 2.374-4.319 3-7.312h8l.408 2.089c3.387 16.831 6.381 29.836 20.405 40.911 16.743 11.026 36.397 9.36 55.487 8.208 3.226-.181 6.443-.302 9.673-.376 10.255-.263 19.253-1.63 29.027-4.832l2.313-.648c10.015-3.11 17.611-10.304 23.03-19.055 5.112-10.175 6.834-21.098 6.72-32.352l-.012-2.607c-.016-3.658-.044-7.316-.072-10.974q-.026-4.022-.042-8.044l-.025-2.469c-.057-13.66-.057-13.66 3.522-17.382l3.004-1.969 2.996-2.031C1329 579 1329 579 1331 579l.793-1.727C1333 575 1333 575 1334.551 572.977c6.4-8.543 7.858-17.982 9.895-28.26.793-3.89 1.736-7.737 2.679-11.592.638-2.705 1.26-5.414 1.875-8.125l.478-2.102c2.154-9.68 3.613-18.626.397-28.273-1.682-6.967-.557-14.37 1.25-21.25 2.393-10.009-.152-23.325-5.163-32.216-4.488-6.89-9.902-12.84-16.962-17.159zm37 20 4 19c1.118 6.71 1.118 6.71.082 10.512l-.611 2.552a190 190 0 0 1-1.352 5.094c-1.512 6.568-.645 11.385 1.01 17.76 2.715 10.963.721 19.939-2.004 30.707q-.663 2.78-1.317 5.563-1.292 5.451-2.633 10.891c-1.016 4.173-1.878 8.348-2.667 12.57-2.643 13.717-7.215 25.455-17.508 35.351a663 663 0 0 1-4.441 2.453c-2.14 1.375-2.14 1.375-3.559 3.547-.608 4.797-.22 9.381.227 14.182 2.004 22.68.08 46.275-15.098 64.474-4.269 4.715-8.905 8.703-14.129 12.344l-3.023 2.504c-5.05 3.573-10.848 4.77-16.79 6.183l-3.81.913c-14.086 3.201-28.29 3.897-42.688 4.286-3.097.096-6.176.258-9.267.466-18.67 1.016-40.308-2.825-54.971-14.93-6.885-6.24-12.32-13.721-17.451-21.422l-2.045.572c-15.474 4.28-31.04 7.425-46.932 9.71l-3.874.557c-5.274.752-10.549 1.496-15.828 2.213-3.915.534-7.825 1.1-11.735 1.667l-3.614.47c-6.648.809-6.648.809-12.122 4.305L1061 689c-5.882 6.386-12.336 11.43-20.75 13.813-5.282 1.552-8.989 3.91-13.312 7.187-5.78 4.325-10.892 7.132-17.938 9l-2.247.636c-22.67 6.362-41.295 5.062-63.753-2.636l-2.284-1.541c-3.944-2.119-7.772-2.264-12.189-2.627l-2.784-.256a970 970 0 0 0-5.833-.511c-2.94-.25-5.877-.518-8.814-.79-14.1-1.882-14.1-1.882-28.096-1.275-1.986 1.825-3.203 3.547-4.586 5.86-1.543 2.336-2.978 3.463-5.289 5.015-3.283 2.287-5.434 4.66-7.812 7.875-9.56 12.482-22.4Line truncated
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="m792.17 201.71 3.67-.02q4.958-.024 9.918-.025 3.106-.001 6.214-.01 10.865-.028 21.73-.026c6.724.002 13.447-.02 20.171-.051q8.693-.038 17.384-.036c3.452 0 6.902-.005 10.354-.026 3.857-.02 7.714-.014 11.571-.002l3.407-.034c13.751.108 26.351 5.209 36.493 14.5 10.094 10.628 14.236 22.34 14.177 36.754l.01 3.205c.01 3.485.003 6.97-.003 10.456l.005 7.296q.005 7.642-.01 15.285c-.012 6.513-.005 13.026.007 19.539q.009 7.534 0 15.069-.003 3.6.005 7.201c.005 3.365-.003 6.729-.014 10.093l.012 2.975c-.09 14.844-4.67 28.392-15.107 39.252-8.624 7.55-19.922 12.978-31.455 13.049l-3.172.026-3.449.013-3.658.025q-5.994.035-11.989.055l-4.145.017q-8.633.033-17.266.051-12.32.023-24.639.107-8.69.056-17.379.063c-3.45.004-6.9.015-10.35.048-20.85.172-35.483-.967-51.65-15.325-3.97-4.05-6.453-8.67-8.887-13.734l-.905-1.87c-3.534-7.809-3.376-15.989-3.413-24.414l-.025-3.186q-.035-5.19-.055-10.382l-.017-3.602q-.039-9.438-.06-18.878-.02-7.778-.082-15.554c-.05-6.286-.074-12.571-.081-18.857a979 979 0 0 0-.046-7.15c-.186-19.464 1.668-33.748 15.43-48.63 10.618-10.11 23.134-13.279 37.3-13.268"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="M415 511h1l.625 2.938c2.548 8.58 7.607 13.782 15.008 18.554 10.94 4.9 22.404 5.208 34.18 5.696l5.229.239c9.42.417 18.841.763 28.27.823l2.611.028c6.906-.035 13.518-1.092 20.077-3.278l.375 1.844c5.241 22.275 19.83 40.829 38.563 53.468l2.202 1.49c22.8 14.881 51.482 18.712 77.86 13.198l2.125-.441c25.333-5.51 46.019-17.754 63.875-36.559l1.723 1.242c4.69 3.273 8.623 5.502 14.277 6.758l3.438 1.063c2.68.705 5.058 1.177 7.785 1.496L738 580l.076 3.086q.144 5.715.296 11.428.065 2.465.125 4.929.089 3.56.187 7.12l.05 2.194c.137 4.809.642 9.473 1.266 14.243.097 1.588.172 3.179.21 4.77-.008 15.511-.008 15.511 6.165 29.23l2.625 2 2.047 1.645c4.321 1.983 8.161 1.336 12.828 1.043 9.135-.301 9.135-.301 12.64 1.87 1.61 2.067 1.61 2.067 3.008 4.274 4.241 6.227 12.651 9.055 19.711 10.691 11.31 1.95 22.669-.424 32.614-6.168 5.196-3.843 9.488-8.427 12.039-14.449 1.386-2.373 2.456-2.749 4.988-3.718 3.517-1.67 5.594-3.298 7.383-6.907 1.612-4.954 2.119-10.128 2.742-15.281 16.68.728 33.269 2.345 49.887 3.919q5.466.515 10.933 1.022l3.35.322c10.429 1.176 10.429 1.176 20.705-.263 2.96-.43 3.87-.18 6.36 1.574l2.39 2.114c8.112 7.093 18.347 9.092 28.953 8.69 11.26-1.246 21.543-3.971 30.422-11.378 1.32-1.665 1.32-1.665 2.375-3.312 3.75-3.84 7.399-3.552 12.586-4.149 3.244-.355 3.244-.355 6.164-2.726 3.951-5.928 5.745-12.438 7.563-19.25l.681-2.506q.82-3.027 1.631-6.057l2.363 2.39c5.511 5.454 10.075 6.376 17.637 6.61 3.722-.279 7.36-.872 11.035-1.512l3.14-.513c3.298-.542 6.593-1.102 9.888-1.663q3.227-.535 6.455-1.068a2183 2183 0 0 0 9.678-1.615 695 695 0 0 1 16.788-2.651l3.436-.508q3.238-.478 6.483-.915c6.791-1.013 11.002-2.413 15.898-7.383 1.619-2.932 1.956-5.611 2.387-8.922l.48-3.547L1149 576l1.83-.044c11.135-.3 21.466-.708 32.17-3.956h2c.945 3.849 1.157 7.546 1.29 11.485.55 18.602.55 18.602 9.48 34.46 12.816 11.807 29.242 10.3 45.409 9.653q2.7-.114 5.399-.233 2.726-.114 5.453-.209c22.357-.737 22.357-.737 40.969-12.156 3.883-4.313 5.734-8.362 7-14h1c2.68 41.338 2.68 41.338-5.625 52.438-9.056 10.143-19.194 13.281-32.527 14.151a858 858 0 0 1-13.41.598q-2.742.123-5.483.249c-35.585 1.587-35.585 1.587-47.057-8.541L1195 658l-1.773-1.738c-9.913-11.29-7.914-30.23-8.227-44.262l-2.29.875c-11.243 3.792-21.965 3.54-33.71 3.125l-.078 2.668-.172 3.52-.14 3.48c-.92 5.024-3.331 7.207-7.075 10.5-5.176 2.682-10.366 3.3-16.098 4.144l-5.9.919c-2.2.34-4.4.673-6.602 1.007-4.523.691-9.038 1.429-13.552 2.174-4.04.666-8.08 1.32-12.12 1.974q-2.994.486-5.986.984c-2.835.47-5.673.923-8.511 1.372l-2.539.432c-7.138 1.103-14.194 1.48-20.665-2.049A72 72 0 0 1 1044 642c-2.456 6.14-4.17 12.306-5.742 18.73-1.452 3.773-3.252 5.617-6.258 8.27l-2 2c-2.096.309-4.203.55-6.312.75-5.35.684-5.35.684-9.5 4L1012 679c-5.097 4.732-10.303 7.309-17 9l-2.336.621c-11.717 2.75-23.559 2.233-34.664-2.621-2.543-2.082-2.543-2.082-4.875-4.312-3.022-2.693-4.468-3.669-8.572-3.788l-3.889.443c-8.256.771-16.168.3-24.418-.523q-2.16-.202-4.32-.4c-3.738-.347-7.475-.71-11.212-1.074-3.05-.296-6.1-.58-9.152-.865-6.322-.59-12.643-1.187-18.963-1.8l-3.36-.326c-3.426-.375-6.83-.85-10.239-1.355l.105 1.688c.255 7.166-.802 12.511-5.418 18.125C851 694 851 694 848 695.25c-3.255 1.899-3.7 2.696-5.312 5.938-3.828 7.46-9.469 12.267-17.313 15.187A272 272 0 0 1 820 718l-3.5 1.25c-11.37 2.436-22.587.113-32.437-6.062-2.152-1.459-3.797-2.81-5.3-4.94-2.763-3.903-2.763-3.903-7.004-5.749-2.596-.044-5.11.086-7.697.313-7.083.532-11.197.444-17.062-3.812-8.023-7.546-7.5-19.881-8.125-30.062l-.128-2c-.99-15.643-.95-31.271-.747-46.938l-3.598.066C723.842 620.05 715.7 617.263 708 610l-3.062 2.563-1.723 1.44c-1.906 1.718-3.657 3.49-5.434 5.337-3.746 3.765-7.793 6.743-12.218 9.66l-2.362 1.564C675.818 635.33 668.195 638.878 660 642l-2.54.98c-26.464 9.48-57.556 8.918-83.25-2.755-3.177-1.58-6.21-3.333-9.21-5.225l-1.84-1.157c-17.906-11.52-33.1-28.475-40.16-48.843-.636-3.086-.893-5.839-1-9l-3 2c-6.483 1.89-12.974 2.324-19.687 2.25l-2.866-.025c-3.483-.05-6.964-.135-10.447-.225l-2.245-.052q-7.589-.18-15.173-.477a481 481 0 0 0-5.094-.163c-11.777-.329-20.792-2.275-31.488-7.308l-2.762-1.057c-3.22-1.357-4.916-3.338-7.238-5.943l-1.543-1.684c-8.565-10.172-8.026-22.854-7.02-35.421q.274-3.043.563-6.082A2230 2230 0 0 1 415 511"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="m1336.686 201.725 3.191-.015c3.47-.014 6.941-.013 10.412-.01l7.275-.014a6089 6089 0 0 1 15.247-.002c6.486.006 12.971-.01 19.457-.034 5.01-.015 10.02-.016 15.031-.013q3.585 0 7.169-.015c19.422-.072 36.626.418 51.684 14.394 5.2 5.585 9.274 11.805 11.848 18.984l1.055 2.802c1.693 6.052 1.253 12.447 1.246 18.678l.013 4.256q.01 4.452.002 8.904c-.006 3.77.01 7.541.034 11.312.015 2.93.016 5.86.013 8.79q0 2.083.015 4.165c.104 16.183-3.2 30.205-14.468 42.316-11.62 10.812-25.47 14.073-40.92 14.083l-3.188.026c-3.45.024-6.9.032-10.349.04l-7.255.026q-7.59.024-15.18.028c-6.454.005-12.906.043-19.36.088-4.993.03-9.986.037-14.98.038q-3.565.006-7.132.038c-17.99.146-32.533-.951-46.546-13.59-12.49-12.875-15.313-27.248-15.371-44.605l-.027-4.233q-.024-4.421-.028-8.843a1047 1047 0 0 0-.088-11.21c-.03-2.914-.037-5.826-.038-8.74a334 334 0 0 0-.038-4.126c-.208-14.674 3.646-27.237 13.59-38.243 10.96-10.477 22.7-15.312 37.686-15.275m-548.873 209.15 2.928.238c5.238.469 10.142 1.2 15.195 2.684 2.148.38 2.148.38 4.281-.763 3.271-1.215 5.884-1.322 9.37-1.372l3.988-.068q2.148-.02 4.296-.035l2.207-.021q5.79-.054 11.583-.073c3.95-.017 7.9-.075 11.85-.144 3.069-.045 6.138-.058 9.207-.063q2.181-.011 4.361-.06c13.439-.276 23.042 3.358 33.296 12.177A215 215 0 0 1 905 428l2.145 2.152c14.173 14.987 18.025 32.597 19.692 52.499 1.232 13.435 5.34 23.278 15.554 32.224 2.203 2.91 2.018 4.533 1.609 8.125-1.74 2.454-1.74 2.454-4.164 4.82l-2.652 2.621-2.809 2.684-2.738 2.707C920.55 546.66 920.55 546.66 914.25 547.5c-11.587-.704-21.727-8.566-29.5-16.625-11.263-13.46-13.59-28.947-14.99-45.836-1.114-13.812-1.114-13.812-7.772-25.637-2.024-1.427-3.794-2.145-6.112-2.99l-2.196-.805L852 455l.114 2.045q.541 9.765 1.06 19.53.265 5.016.544 10.03c.81 14.551 1.442 29.091 1.563 43.665l.06 3.748.005 3.446.018 3.03C855 543 855 543 853.645 544.814c-2.445 1.763-4.555 1.726-7.543 1.916l-3.614.246-3.863.212-3.927.237c-7.958.45-15.915.795-23.885.888l-2.64.053c-2.403-.003-2.403-.003-6.173-.366-2.244-3.367-2.285-4.644-2.395-8.598l-.11-3.48-.093-3.77-.18-5.876c-.082-2.75-.155-5.5-.228-8.25q-.197-7.172-.413-14.345a2248 2248 0 0 1-.214-7.63c-.03-17.44-.03-17.44-6.906-33.008-4.084-3.833-8.003-5.085-13.461-6.043l.184 2.078c.787 9.835 1.125 19.67 1.423 29.53.179 5.58.422 11.133.877 16.697.584 7.18.927 14.357 1.183 21.555q.084 2.228.187 4.453c.1 2.178.18 4.356.255 6.535l.156 3.875C782 545 782 545 780.959 547.395c-2.896 2.372-5.82 2.315-9.416 2.433l-2.24.117c-2.372.12-4.743.212-7.115.305q-2.332.115-4.663.234c-3.786.187-7.572.333-11.361.45q-2.14.065-4.277.144c-1.945.069-3.89.113-5.836.156l-3.335.085c-3.17-.372-3.766-.89-5.716-3.319a78 78 0 0 1-1.121-8.555l-.238-2.756c-1.086-13.817-1.306-27.694-1.647-41.546-.149-5.991-.31-11.983-.47-17.974q-.06-2.17-.116-4.34c-.24-8.985-.565-17.957-1.084-26.93a316 316 0 0 1-.511-17.961l-.038-2.87-.005-2.728-.013-2.395C722 418 722 418 724 416c2.825-.398 5.598-.7 8.438-.937 6.303-.603 12.121-1.575 18.203-3.399 11.881-3.344 25.046-1.8 37.172-.789M464.426 281.758l3.31.144 3.577.223 3.699.19q3.93.208 7.858.445c3.516.21 7.033.377 10.553.53 2.82.127 5.64.27 8.46.418q2.044.105 4.087.191c1.916.085 3.83.196 5.745.308l3.316.171c3.935.824 5.463 1.41 7.969 4.622.564 4.022.258 7.958 0 12l-.154 3.582a985 985 0 0 1-.616 11.977l-.244 4.485q-.326 5.963-.66 11.924-.209 3.735-.415 7.47c-1.078 19.525-2.217 39.041-3.585 58.548-1.529 21.873-2.668 43.768-3.841 65.661l-.378 7.029-.46 8.643q-.21 3.918-.442 7.835c-.142 2.67-.246 5.319-.306 7.99l-.071 2.05a454 454 0 0 0-.151 5.594c-.862 4.089-2.475 5.612-5.677 8.212-2.272.53-2.272.53-4.816.387l-3.188-.14-1.866-.118c-2.475-.15-4.95-.25-7.426-.35a963 963 0 0 1-15.415-.786 735 735 0 0 0-6.49-.334 805 805 0 0 1-9.451-.514l-2.923-.121c-4.157-.275-6.9-.73-10.572-2.783-2.997-5.242-2.22-10.343-1.853-16.241l.168-3.6c.191-3.845.426-7.687.672-11.529l.262-4.22q.272-4.378.552-8.756.357-5.602.7-11.206.268-4.338.542-8.676.13-2.068.257-4.135.18-2.878.366-5.755l.209-3.3c.23-2.388.604-4.525 1.272-6.823l-2.385-.06c-14.945-.391-29.88-.896-44.803-1.815-1.84-.1-1.84-.1-3.719-.2l-3.448-.23-3.02-.187c-2.992-.58-4.466-1.372-6.625-3.508-.38-2.653-.468-4.848-.375-7.5l.046-2.399c.077-3.035.2-6.067.329-9.101l.166-4.257c.156-3.931.336-7.86.53-11.79q.115-2.385.222-4.774c.103-2.268.224-4.534.352-6.8l.085-2.075c.245-3.939.633-6.617 3.645-9.304 2.223-.486 2.223-.486 4.848-.46l2.985.007 3.23.078 3.34.041c11.224.209 22.395 1.061 33.572 2.064 5.006.447 10.016.856 15.025 1.27l-.05-3.544c-.13-13.417.552-26.701 1.488-40.081l.408-6.121.4-5.918.183-2.703q.18-2.554.38-5.106.197-2.624.32-5.252c.415-6.584.415-6.584 2.594-9.885 2.834-1.73 4.398-1.806 7.703-1.632"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="M1040.758 388.293c2.373.99 2.373.99 5.242-.293 10.227-.465 20.376.17 30.55 1.172 2.108.206 4.218.397 6.329.586l4.098.39 3.658.35c3.34.498 6.24 1.225 9.365 2.502 4.72 9.441-.222 28.683-2.535 38.664-1.576 7.92-1.648 15.721-1.652 23.774l-.038 3.564c-.015 9.15.086 17.728 6.225 24.998 2.573 2.144 5.237 4.109 8 6-.921 6.402-4.266 11.829-7.21 17.493a749 749 0 0 0-3.067 6.003q-.993 1.925-1.989 3.848l-1.805 3.506c-2.002 3.269-4.034 5.646-6.929 8.15-8.959 1.866-18.768-4.02-26.062-8.687l-2.598-1.762L1058 517l-1.941-1.344c-3.159-1.007-4.957.206-7.934 1.532-21.078 8.571-41.553 7.558-62.5-.5-16.802-7.47-31.631-21.871-38.629-38.942L946 475l-.965-2.652c-5.645-18.547-1.992-38.125 6.922-54.926 9.786-16.39 23.255-27.83 41.73-33.36 15.261-3.305 32.76-1.778 47.07 4.231"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="M427 586c2.538.955 4.653 1.898 7 3.188l2.033 1.065c2.333 1.23 4.65 2.488 6.967 3.747l5.531 2.969c5.122 2.756 10.23 5.539 15.336 8.325a2182 2182 0 0 0 9.2 4.976c9.704 5.225 19.361 10.514 28.933 15.98 8.667 4.948 17.44 9.67 26.266 14.325 19.715 10.399 19.715 10.399 27.984 15.175l1.982 1.12c4.412 2.602 7.468 5.53 9.768 10.13.873 6.014-.107 10.17-3.32 15.273-4.895 5.032-11.194 5.478-17.805 6.227l-2.973.363c-12.618 1.513-25.26 2.831-37.902 4.137 0 3.459 2.944 5.74 5.125 8.25l1.616 1.871c4.019 4.592 8.198 9 12.509 13.317l1.676 1.678c13.296 13.12 28.096 24.788 43.465 35.36A125 125 0 0 1 579 760c-1.356 3.717-3.047 6.805-5.258 10.082l-1.894 2.822-1.973 2.909-1.996 2.966Q565.446 782.394 563 786c-5.397-2.96-10.394-6.262-15.375-9.875l-2.36-1.71c-16.468-12.065-31.5-25.601-45.984-39.96q-2.135-2.114-4.278-4.225c-6.116-6.108-11.66-12.438-17.003-19.23-4.363 7.157-8.499 14.42-12.562 21.75-4.766 8.527-9.546 17.045-14.438 25.5l-1.56 2.757c-3.297 5.644-6.45 9.998-12.44 12.993-4.65.567-8.097.46-12.312-1.687-4.406-3.792-7.362-7.03-7.952-12.964l-.198-3.259-.234-3.741-.244-4.113-.266-4.328q-.362-5.886-.713-11.773-.296-4.926-.596-9.852-.707-11.645-1.406-23.29-.717-11.964-1.45-23.927-.63-10.297-1.248-20.597-.369-6.138-.745-12.275-.354-5.792-.697-11.585-.125-2.107-.256-4.213A639 639 0 0 1 408 613l-.098-2.123a355 355 0 0 1-.203-6.467l-.118-3.867c.633-5.354 3.073-8.357 7.044-11.856 4.088-2.904 7.44-3.213 12.375-2.687"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="m313.969 282.596 3.721-.038 4.025.008 4.128-.015q4.327-.014 8.653.003c3.693.011 7.386-.009 11.08-.038 2.842-.018 5.684-.018 8.526-.012q2.043 0 4.085-.019c1.905-.015 3.81-.001 5.715.013h3.283c2.815.502 2.815.502 5.171 1.883 2.611 4.16 2.138 8.21 2.043 13.02l-.015 3.266c-.02 3.645-.07 7.29-.118 10.935q-.03 3.932-.055 7.865-.047 7.488-.117 14.976a3895 3895 0 0 0-.139 31.142q-.031 23.399-.139 46.798c-.04 8.992-.072 17.984-.087 26.976q-.019 12.032-.084 24.063a2298 2298 0 0 0-.037 12.592q0 5.844-.05 11.688a431 431 0 0 0-.004 4.27 401 401 0 0 1-.035 5.825l-.011 3.285c-.63 3.62-1.986 5.297-4.508 7.918-2.634 1.317-4.63 1.149-7.58 1.177l-3.54.039-3.84.022-3.932.025q-4.123.022-8.247.032c-3.52.011-7.039.046-10.558.085-3.359.033-6.718.037-10.076.046l-3.83.053-3.559-.009-3.13.018c-3.495-.63-4.501-1.743-6.708-4.488-.495-2.566-.495-2.566-.488-5.526l-.02-3.415.038-3.741-.007-3.96c-.005-3.605.015-7.21.039-10.814.02-3.827.02-7.653.02-11.48.007-7.36.035-14.72.07-22.081q.043-8.847.064-17.694l.006-2.52.013-5.035c.045-17.803.13-35.606.23-53.409q.047-8.583.087-17.167c.052-10.941.128-21.881.239-32.822q.03-3.407.054-6.815c.03-4.058.084-8.116.143-12.173l.02-3.454.06-3.077.033-2.63C305 286 305 286 306.154 284.225c2.644-1.753 4.655-1.612 7.815-1.628"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="M577 454c3.108 1.132 3.108 1.132 6.254 2.555l3.56 1.599 3.749 1.721 3.86 1.75C605.76 466.792 616.925 472.295 628 478v1l-2.125.297c-7.876 1.241-13.959 2.787-19.687 8.515-5.438 7.924-7.401 16.185-5.762 25.645 1.973 7.882 6.164 13.764 13.136 18.043 6.604 2.902 15.772 2.88 22.5.313 6.624-4.087 10.67-9.665 12.528-17.208 1.44-9.152.34-16.289-3.59-24.605l-1-3a151 151 0 0 1 7.766 4.102C666.88 499.617 681.249 507.28 698 512l3 1c.628 14.87-7.494 29.36-17.125 40.188-15.641 16.769-38.504 26.52-61.21 28.035-13.328.344-25.713-2.344-37.665-8.223l-2.953-1.422c-17.396-9.199-28.311-24.704-34.137-43.168-4.87-18.25-2.126-38.551 6.09-55.41 12.194-21.064 12.194-21.064 23-19"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="m1317 363 1.984.423c11.755 2.169 23.56 1.931 35.473 1.991q3.537.028 7.074.059c6.166.05 12.333.09 18.5.128 6.308.04 12.616.091 18.924.141q18.523.144 37.045.258l-.017 2.09-.013 2.736-.017 2.715c.051 2.685.438 4.957 1.235 7.522l.843 2.835L1439 387c6.867 22.318 12.568 44.835 16.375 67.875l.367 2.21c1.472 8.942 2.67 17.886 3.543 26.908.549 5.412 1.686 9.978 3.715 15.007l1 3c9.374 5.41 21.454 3.056 31.688 2.188l2.663-.212c5.175-.489 9.77-1.467 14.652-3.264 1.98-.706 3.95-1.234 5.997-1.712.51 3.31 1.007 6.624 1.5 9.938l.434 2.806c1.338 9.085 2.198 16.844-1.934 25.256-1.687 1.688-1.687 1.688-4 2l-3.574-1.437c-4.543-1.767-8.712-2.113-13.551-2.25l-2.499-.097A657 657 0 0 0 1488 535l-2.142-.066c-8.842-.26-15.267.154-22.858 5.066-5.464-5.464-4.95-16.993-5.812-24.25-2.56-20.62-6.01-40.93-11.188-61.062l-.97-3.772c-2.031-7.67-4.375-15.178-6.943-22.681-2.05-6.097-3.36-11.052-2.626-17.497l.298-2.698.241-2.04-3.937.02q-18.425.092-36.851.135c-6.315.016-12.629.037-18.943.071-6.102.033-12.203.05-18.304.059q-3.48.008-6.96.032c-23.334.157-23.334.157-34.005-3.317l.188 2.938c-.136 11.211-6.624 17.498-14.188 25.062-2.136-.01-2.136-.01-4.797-.352-17.878-1.96-35.065-1.256-52.473 3.258-4.051 1.035-7.561 1.321-11.73 1.094.465-2.922.945-5.839 1.45-8.754.328-1.94.632-3.884.882-5.836.81-5.204 2.286-7.725 6.492-10.894L1245 408l5.25-3.812 2.832-2.016c4.015-2.989 7.761-6.266 11.508-9.582 2.41-1.59 2.41-1.59 4.578-1.43 1.832.84 1.832.84 4.207 2.34 6.221 3.555 14.189 3.352 21 1.563 6.01-2.194 10.25-6.534 14.625-11.063l1.637-1.652c4.575-5.4 5.207-12.572 6.363-19.348"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="m1277.5 457.75 3.648-.062c18.99-.082 18.99-.082 25.722 4.617 3.292 4.936-.123 14.306-1.175 19.718q-.774 3.678-1.57 7.352l-.777 3.77-.778 3.628-.695 3.264c-.918 3.11-1.891 5.393-3.875 7.963-3.6.343-6.404.436-9.87-.511-2.163-.497-4.025-.603-6.24-.587l-2.285.01-2.355.026-2.402.013q-2.925.02-5.848.049l.152 1.784c2.129 25.389 3.918 50.917 4.16 76.404l.054 2.947-.003 2.658.01 2.266C1273 595 1273 595 1272 596.717c-3.2 2.053-6.67 1.882-10.367 2.013l-2.517.122c-2.663.125-5.327.23-7.991.336q-2.632.121-5.266.248-6.291.29-12.585.49-2.187.071-4.372.156c-1.823.068-3.648.113-5.472.156l-3 .084c-2.952-.391-3.596-1.036-5.43-3.322-.492-1.884-.492-1.884-.652-4.016l-.195-2.424L1214 588l-.16-2.51a647 647 0 0 1-.413-8.235l-.148-3.138q-.239-5.1-.47-10.199l-.332-7.14q-.347-7.47-.689-14.94-.437-9.538-.884-19.074-.344-7.37-.682-14.74l-.327-7.03q-.229-4.93-.452-9.86l-.137-2.887A646 646 0 0 1 1209 480l-.132-3.254-.083-3.254-.094-2.965c.309-2.527.309-2.527 1.64-4.341 2.612-1.856 5.014-1.662 8.18-1.776l3.966-.182 2.087-.08c11.92-.477 22.992-1.585 34.436-5.148 6.115-1.448 12.248-1.224 18.5-1.25m-99-51 3.648-.062c18.99-.082 18.99-.082 25.722 4.617 3.292 4.936-.123 14.306-1.175 19.718q-.774 3.678-1.57 7.352l-.777 3.77-.778 3.628-.695 3.264c-.907 3.07-2.026 5.356-3.875 7.963-3.834 1.643-6.542.59-10.412-.523-3.463-.638-6.87-.59-10.377-.543l-2.105.014q-2.553.02-5.106.052l.114 2.268q.538 10.761 1.06 21.522.267 5.528.544 11.056c.722 14.346 1.416 28.694 1.563 43.06l.06 3.002.005 2.727.018 2.353c-.465 2.57-1.31 3.443-3.364 5.012-4.607.866-9.32.873-14 1l-2.368.066c-2.44.059-4.88.095-7.32.121l-2.357.04c-3.855.006-5.672-.038-8.955-2.227-4.233-1.195-8.45-1.117-12.812-1.062l-2.1.013q-2.544.02-5.088.049c-.871-6.247-1.293-12.44-1.573-18.74l-.148-3.171q-.239-5.163-.47-10.327l-.332-7.218q-.348-7.556-.689-15.113-.437-9.653-.884-19.307-.344-7.452-.682-14.904-.162-3.558-.327-7.115a8060 8060 0 0 1-.452-9.977l-.137-2.931c-.12-2.732-.217-5.464-.306-8.197l-.132-3.03-.083-2.978-.094-2.684c.309-2.308.309-2.308 1.64-4.091 2.605-1.9 4.996-1.692 8.18-1.807l3.966-.182 2.087-.08c11.92-.477 22.992-1.585 34.436-5.148 6.115-1.448 12.248-1.224 18.5-1.25"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="M393 634h1q.884 12.592 1.75 25.188l.27 3.907c1.067 15.47 2.064 30.94 2.902 46.425l.387 7.09c.378 6.89.75 13.778 1.095 20.668q.221 4.3.46 8.6c.105 1.954.197 3.908.288 5.863.661 11.743 2.27 21.732 10.848 30.259 6.578 5.38 14.063 7.546 22.508 7.313 8.317-1.043 16.016-3.85 21.492-10.313 5.841-8.792 10.917-18.07 16-27.312l2.059-3.725q2.475-4.48 4.941-8.963c3 0 3 0 5.05 1.725l2.337 2.404 2.595 2.639 2.705 2.794c5.915 6.064 11.819 11.994 18.313 17.438l1.83 1.546c9.733 8.158 19.834 15.73 30.2 23.06a844 844 0 0 1 5.224 3.73c5.161 3.681 8.58 5.806 15.058 5.976l2.801.114c5.188-.765 8.125-3.526 11.442-7.442l2.32-3.234 1.219-1.68c.978-1.35 1.943-2.71 2.906-4.07 4.798 1.77 8.24 3.59 11 8 1.978 7.74.95 13.864-3.102 20.7a406 406 0 0 1-2.523 3.987l-1.344 2.119C575.089 837.456 575.089 837.456 568 841c-2.285.273-2.285.273-5.062.375l-2.723.148c-8.046-1.31-14.895-7.244-21.278-12.023l-2.487-1.85c-7.36-5.51-14.54-11.222-21.602-17.11a891 891 0 0 0-5.32-4.388C499.391 797.743 490.202 788.407 481 779c-2.763 3.3-4.983 6.547-6.988 10.352l-1.643 3.082-1.682 3.191c-14.763 27.985-14.763 27.985-25.39 32.531-9.38 2.83-18.262 2.858-27.297-1.156-8.865-5.455-13.721-11.602-16.329-21.595-1.37-6.949-1.565-14.019-1.917-21.077l-.291-5.225q-.309-5.547-.598-11.096c-.303-5.797-.62-11.593-.942-17.388l-.162-2.929-.325-5.866q-.244-4.413-.484-8.825a3501 3501 0 0 0-2.307-38.381q-.6-9.235-1.221-18.469c-2.4-35.606-2.4-35.606-.424-42.149"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="M677.688 452.813c11.594 10.572 22.4 28.529 23.466 44.499.168 5.238.058 10.453-.154 15.688-20.013-2.118-39.587-14.058-56-25l.84 1.61 1.097 2.14 1.09 2.11c3.62 7.964 2.79 17.704.02 25.816-2.588 5.746-6.182 10.7-12.047 13.324-7.135 2.239-16.227 2.448-22.937-1-7.07-4.7-11.594-10.271-13.63-18.562-1.522-8.559.207-16.126 4.38-23.75 6.246-7.675 12.752-10.162 22.187-11.688-13.138-6.726-26.306-13.29-39.812-19.25l-3.176-1.41-2.969-1.293-2.593-1.13c-2.474-.926-4.85-1.474-7.45-1.917 31.161-24.637 76.675-24.928 107.688-.187"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="m363.885 411.976 2.662.005q3.227.008 6.453.019.141 17.863.207 35.727c.021 5.53.05 11.06.095 16.59q.063 8.002.078 16.008.01 3.054.043 6.108c.029 2.852.033 5.702.031 8.554l.044 2.552c-.029 4.024-.193 5.98-2.401 9.462-3.29 3.137-5.222 3.133-9.677 3.176l-3.54.039-3.84.022-3.932.025q-4.123.022-8.247.032c-3.52.011-7.039.046-10.558.085-3.359.033-6.718.037-10.076.046l-3.83.053-3.559-.009-3.13.018C308 510 308 510 305.662 508.498c-2.362-3.547-2.191-6.822-2.117-10.938l-.002-2.574c.003-2.803.034-5.605.065-8.408q.012-2.918.018-5.834c.015-5.117.054-10.232.098-15.349.041-5.221.06-10.443.08-15.665q.066-15.365.195-30.73c4.427-1.532 8.507-2.466 13.164-3.035l2.04-.253q2.13-.264 4.261-.517c2.134-.254 4.266-.518 6.398-.783 4.043-.498 8.089-.961 12.137-1.412l3.03-.343c6.295-.624 12.536-.704 18.855-.68M383 412c42.306-1.607 91.134 5.549 131 20l1 1c-.027 6.76-.424 13.512-.766 20.264a1874 1874 0 0 0-.5 10.644 2157 2157 0 0 1-.812 16.485 932 932 0 0 0-.32 6.71c-.141 3.191-.314 6.38-.493 9.569l-.11 2.93c-.283 4.494-.565 6.801-3.267 10.52-2.961 2.036-4.027 2.463-7.548 2.265l-3.188-.14-1.866-.118c-2.475-.15-4.95-.25-7.426-.35a963 963 0 0 1-15.415-.786 735 735 0 0 0-6.49-.334 805 805 0 0 1-9.451-.514l-2.923-.121c-4.157-.275-6.9-.73-10.572-2.783-2.997-5.242-2.22-10.343-1.853-16.241l.168-3.6c.191-3.845.426-7.687.672-11.529l.262-4.22q.272-4.378.552-8.756.357-5.602.7-11.206.268-4.338.542-8.676.13-2.068.257-4.135.18-2.878.366-5.755l.209-3.3c.23-2.388.604-4.525 1.272-6.823l-2.385-.06c-14.945-.391-29.88-.896-44.803-1.815-1.84-.1-1.84-.1-3.719-.2l-3.448-.23-3.02-.187c-2.979-.577-4.464-1.397-6.625-3.508-.25-2.687-.25-2.687 0-5"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="M1118 904h1c.511 3.624 1.007 7.249 1.5 10.875l.434 3.07c2.663 19.786 2.663 19.786-3.996 28.867-23.214 17.287-85.725 10.587-113.25 10.688l-3.44.03c-3.225.024-6.449.018-9.674.001l-2.853.024c-7.43-.104-13.853-1.687-19.221-7.055-2.846-4.744-2.634-9.354-2.598-14.766l.005-2.404c.005-2.527.018-5.053.03-7.58l.014-5.148q.017-6.301.049-12.602c3 1 3 1 5.313 3.438 5.481 5.226 11.712 4.858 18.867 4.828l3.008.008c3.229.004 6.458-.009 9.687-.024l3.34-.007c17.164-.045 34.185-.577 51.295-1.965 3.49-.278 6.98-.52 10.474-.75 10.28-.7 20.497-1.592 30.704-3.028l2.555-.36c9.334-1.082 9.334-1.082 16.757-6.14m-333-12 2.691.7c4.43 1.13 8.866 2.225 13.309 3.3l2.403.583c26.243 6.274 53.106 9.83 79.847 13.23l2.468.318c8.632 1.106 17.274 2.057 25.954 2.693l2.18.196c5.696.358 11.263-.541 15.717-4.368 2.695-3.007 4.076-5.634 4.431-9.652l2 1c2.727 8.18.854 18.225.188 26.688l-.213 2.95c-.628 7.374-1.64 14.314-6.225 20.3-6.502 4.876-12.912 4.18-20.625 3.437l-3.26-.29c-22.088-2.046-44.102-4.862-65.968-8.594a1110 1110 0 0 0-8.635-1.42A577 577 0 0 1 799.875 937l-3.361-.718c-6.765-1.547-11.244-2.994-15.327-8.907-2.74-7.791-.953-16.002.75-23.875l.553-2.703c1.35-6.476 1.35-6.476 2.51-8.797m511-32 1.023 2.738 1.352 3.574 1.336 3.551c1.204 3.223 1.204 3.223 3.289 6.137 1.927 6.937 1.363 12.635-2 19-3.577 4.638-8.678 6.281-13.937 8.438l-2.864 1.198c-10.456 4.352-21.013 8.354-31.695 12.118q-3.375 1.2-6.727 2.46c-9.796 3.655-19.785 6.337-29.885 9.011-2.849.763-5.69 1.551-8.529 2.35-37.1 10.403-37.1 10.403-46.363 7.425-7.88-5.91-9.308-14.499-11.272-23.61a579 579 0 0 0-1.474-6.556 2085 2085 0 0 1-.926-4.229l-.847-3.839c-.611-4.783-.583-9.394 1.492-13.86L1151 882c2 1 2 1 2.816 2.96l.746 2.415c.25.791.498 1.583.754 2.398L1156 892c.649 3.032.649 3.032 2.645 3.984 11.086 3.916 22.315.598 33.355-2.172l3.843-.946c10.496-2.622 20.845-5.601 31.157-8.866l4.32-1.344q3.996-1.24 7.985-2.5c3.578-1.12 7.167-2.201 10.757-3.281 4.464-1.371 8.67-2.97 12.938-4.875a839 839 0 0 1 5.875-2.25 374 374 0 0 0 11.64-4.629l2.318-.97a796 796 0 0 0 4.518-1.916c3.035-1.275 5.322-2.235 8.649-2.235m-685-26c4.108.628 7.338 1.988 11.063 3.813 16.42 7.857 33.239 15.255 50.519 21.003 2.828.98 5.517 2.1 8.254 3.298 5.24 2.145 10.624 3.92 15.976 5.761l1.95.67c7.784 2.67 15.577 5.307 23.488 7.58l2.03.605c6.142 1.686 12.787 2.614 18.595-.418 5.302-3.923 6.525-8.034 8.125-14.312 2.487.343 3.796.818 5.688 2.5 4.187 7.977 1.688 16.297-.688 24.5-1.205 3.855-2.494 7.676-3.816 11.492a137 137 0 0 0-2.227 7.281c-1.42 4.788-3.532 7.266-7.644 10.04-7.53 2.699-14.64.902-22.063-1.375l-2.72-.806c-15.708-4.714-31.129-10.118-46.405-16.07l-2.4-.935c-14.162-5.522-28.23-11.242-42.063-17.546a369 369 0 0 0-3.976-1.77c-15.18-6.664-15.18-6.664-19.686-14.311-2.645-8.201-.037-15.18 3.664-22.504l.961-1.871.984-1.941A1362 1362 0 0 1 611 834m832-81c5.277 2.464 9.838 5.626 12.438 10.938 1.234 6.721.91 12.545-2.961 18.343l-1.852 2.219-2.195 2.633L1446 790l-2.492 3.055c-6.199 7.515-12.874 14.492-19.758 21.383l-2.544 2.546c-4.912 4.868-9.926 9.55-15.206 14.016l-1.832 1.55c-14.038 11.752-28.823 22.395-44.129 32.427-2.946 1.89-2.946 1.89-5.152 3.746-4.453 3.014-10.447 2.448-15.574 1.84-7.965-3.757-12.322-12.445-16.563-19.813q-1.536-2.635-3.078-5.266l-1.34-2.32c-1.31-2.209-1.31-2.209-2.96-4.3-2.576-3.5-2.467-7.639-2.372-11.864.823-4.612 2.46-7.848 6-10.937 3-2.063 3-2.063 6-3.063l1.645 2.52 2.168 3.293 2.144 3.269c2.927 4.181 4.86 6.384 9.965 7.617 6.368.922 11.394.147 16.703-3.574l2.504-1.922c2.743-2.104 5.545-4.04 8.412-5.967 27.162-18.287 53.394-40.06 74.459-65.236"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="M1040.758 388.293c2.373.99 2.373.99 5.242-.293 10.227-.465 20.376.17 30.55 1.172 2.108.206 4.218.397 6.329.586l4.098.39 3.658.35c3.34.498 6.24 1.225 9.365 2.502 4.077 8.155.084 22.204-1 31h-1v-5c-32.26.499-64.226 2-96 8l-3.462.652c-14.667 2.81-29.128 6.116-43.505 10.164l-3.072.864-2.694.773C947 440 947 440 944 440c3.373-17.54 12.716-34.453 27.242-45.223 20.928-13.487 46.3-16.232 69.516-6.484"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="M275 508c2.303 2.303 2.238 2.9 2.625 6 1.51 7.368 6.868 13.166 12.5 17.938 9.385 5.798 21.99 5.511 32.637 5.46q2.049.003 4.098.01 4.254.005 8.508-.017c3.604-.017 7.208-.007 10.811.01 2.812.012 5.623.008 8.435 0a1052 1052 0 0 1 5.893.016c12.927-.1 22.095-2.29 31.493-11.417 4.982-5.173 6.466-11.102 8-18h1q.112 7.76.165 15.521.022 2.632.061 5.263c.4 27.462.4 27.462-9.062 38.06-9.3 9.266-18.636 11.472-31.657 11.573l-3.87-.019q-2.045.003-4.09.01-4.262.005-8.524-.017c-3.6-.017-7.2-.007-10.8.01-2.812.012-5.624.008-8.436 0q-2.938-.001-5.878.016c-12.076-.093-23.525-.865-32.788-9.26L284 567l-1.84-1.844c-9.08-10.479-7.541-26.027-7.348-38.968q.024-2.658.042-5.315c.032-4.291.084-8.582.146-12.873"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="M1229.438 287.25q2.035.622 4.071 1.241 3.98 1.213 7.958 2.431a1032 1032 0 0 0 12.658 3.765l3.824 1.125q3.325.978 6.655 1.942c2.78.805 5.557 1.619 8.333 2.433l2.644.759 2.446.722 2.18.634C1282 303 1282 303 1284 305c.125 3.125.125 3.125 0 6-7.507 3.495-15.184 6.287-23 9 4.354 5.214 8.939 10.06 13.77 14.832l2.186 2.175q3.425 3.406 6.857 6.805 4.545 4.506 9.082 9.02l2.114 2.09 1.943 1.933 1.715 1.699c2.432 2.638 3.094 5.423 3.067 9.005-1.74 5.786-7.036 9.944-11.734 13.441-3.468 1.47-4.164 1.132-8 0-5.813-4.303-10.858-9.734-15.93-14.867l-2.17-2.183q-3.391-3.409-6.775-6.825a7276 7276 0 0 0-8.992-9.055l-2.08-2.105-1.924-1.933-1.69-1.706c-1.421-1.433-1.421-1.433-3.439-2.326l-.516 1.984c-1.887 7.107-4.094 14.064-6.484 21.016-3.375.625-3.375.625-7 1-2.938-2.938-3.627-6.612-4.812-10.5l-.803-2.587c-1.922-6.25-3.699-12.532-5.415-18.84-2.268-8.285-4.8-16.488-7.322-24.698l-.825-2.699a639 639 0 0 0-1.703-5.448l-.835-2.67-.754-2.373c-.816-3.358-.534-5.908.469-9.185 5.456-6.983 19.602.135 26.438 2.25"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="M920 449c3.918 11.12 5.856 21.892 6.835 33.648 1.238 13.436 5.34 23.279 15.556 32.227 2.203 2.91 2.018 4.533 1.609 8.125-1.74 2.454-1.74 2.454-4.164 4.82l-2.652 2.621-2.809 2.684-2.738 2.707C920.55 546.66 920.55 546.66 914.25 547.5c-11.587-.704-21.727-8.566-29.5-16.625-12.489-14.925-14.061-32.67-15.528-51.28-.331-3.874-.773-7.732-1.222-11.595 8.944-4.3 18.143-7.854 27.418-11.359 2.541-.962 5.078-1.935 7.615-2.909l4.87-1.845 2.285-.88c3.515-1.318 6.01-2.007 9.812-2.007"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="M1004 538c1 1 1 1 1.098 3.285l-.035 2.778-.028 2.785L1005 549l3.625-.125c3.805-.131 6.81.828 10.375 2.125q.039 3.468.063 6.938l.035 3.902C1019 565 1019 565 1018 566c-1.853.072-3.708.084-5.562.063l-3.067-.028L1007 566v5l2.59-.035 3.347-.028 3.34-.035C1019 571 1019 571 1020 572c.1 2.332.13 4.666.125 7l.008 3.875C1020 586 1020 586 1019 587a92 92 0 0 1-5.062.063l-2.786-.028L1009 587v8l2.16-.07c5.724-.108 10.438.15 15.84 2.07-.41 6.762-1.57 12.672-4 19-5.527.194-9.756-.252-15-2l-.25 2.625c-1.355 6.098-4.676 9.934-9.793 13.273-8.82 4.965-18.552 5.284-28.453 3.704-5.696-1.71-9.077-5.923-12.504-10.602-2.006-4.013-1.617-8.649-1-13 2.577-5.394 6.7-9.3 12-12 5.608-1.936 11.015-3.485 17-3v-8l-3.465.035-4.472.028-2.288.025A183 183 0 0 1 969 587c-1.756-1.756-1.132-4.036-1.137-6.371l.012-2.129-.012-2.129c.01-5.244.01-5.244 1.137-6.371 2.353-.073 4.708-.084 7.063-.062l3.91.027L983 570v-6l-3.332-.148C956.73 562.73 956.73 562.73 954 560c.064-2.336.201-4.67.375-7l.273-3.875C955 546 955 546 956 545c8.34-.489 16.698.25 25 1l-.062-2.937C981 540 981 540 982 539c2.568-.24 5.114-.423 7.688-.562l2.146-.131c4.056-.236 8.103-.45 12.166-.307"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="m1277.5 457.75 3.648-.062c18.99-.082 18.99-.082 25.722 4.617 3.292 4.936-.123 14.306-1.175 19.718q-.774 3.678-1.57 7.352l-.777 3.77-.778 3.628-.695 3.264c-.918 3.11-1.891 5.393-3.875 7.963-3.6.343-6.404.436-9.87-.511-2.163-.497-4.025-.603-6.24-.587l-2.285.01-2.355.026-2.402.013q-2.925.02-5.848.049l.496 3.406c.589 4.711.617 9.353.566 14.094l-.013 2.492q-.02 3.004-.049 6.008c-12.266-5.4-22.369-13.797-32-23l-1.804-1.702c-5.248-5.075-9.635-10.543-13.946-16.423l-1.957-2.629c-3.219-4.342-6.35-8.713-9.293-13.246l-2 4a332 332 0 0 1-.187-5.812l-.106-3.27c.293-2.918.293-2.918 1.404-4.564 2.76-1.979 5.029-1.822 8.4-1.944l3.966-.182 2.087-.08c11.92-.477 22.992-1.585 34.436-5.148 6.115-1.448 12.248-1.224 18.5-1.25"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="M1277 817c1.873 4.075 3.72 8.161 5.563 12.25l1.615 3.512 1.513 3.379 1.413 3.11c.933 2.863 1.201 4.054-.104 6.749-2.572 1.41-4.97 2.501-7.687 3.563-.823.332-1.645.665-2.492 1.009-17.972 7.178-36.224 14.055-54.821 19.428-.764.225-1.529.45-2.316.68-10.253 3.013-20.548 5.872-30.871 8.633l-2.823.77c-5.987 1.579-11.813 2.492-17.99 2.917a7201 7201 0 0 1-3-13.312l-.867-3.827-.82-3.662-.762-3.38C1162 856 1162 856 1162 853l3.095-.731a2970 2970 0 0 0 24.542-5.914l2.393-.583c7.822-1.931 15.522-4.166 23.136-6.8a924 924 0 0 1 8.793-2.955c14.915-4.96 29.765-9.909 44.09-16.426C1273.745 817 1273.745 817 1277 817m-646-26c3.719.482 6.675 1.658 10.008 3.336l2.946 1.46 3.171 1.579c18.459 9.01 37.49 16.468 56.75 23.563l3.688 1.36a388 388 0 0 0 20.607 6.847c3.236.978 6.44 2.024 9.643 3.105l3.019 1.016L743 834c-2.317 9.775-5.117 19.381-8 29-5.413-.552-10.197-1.516-15.39-3.23l-2.09-.687c-2.26-.747-4.515-1.507-6.77-2.27l-2.375-.799C677.57 845.635 646.25 834.278 618 818c.596-3.769 1.684-6.682 3.469-10.047l1.48-2.808 1.551-2.895 1.55-2.941c3.79-7.15 3.79-7.15 4.95-8.309m850-426c.964 2.148.964 2.148 1.797 5.02l.955 3.243.998 3.55 1.056 3.676c8.016 28.234 14.665 56.78 18.569 85.886l.509 3.78c.763 5.998 1.311 11.8 1.116 17.845-3.666.34-7.333.67-11 1-1.03.095-2.06.19-3.121.29-5.654.503-11.203.82-16.879.71l-.288-2.401c-4.217-34.807-10.51-68.768-20.747-102.341-1.201-4.056-2.136-8.112-2.965-12.258 7.014-2.642 14.074-5.003 21.25-7.168 5.895-1.784 5.895-1.784 8.75-.832m-382.562 498.938 2.62.027L1103 864c.508 3.687 1.005 7.374 1.5 11.063l.434 3.146c.708 5.313 1.248 10.43 1.066 15.791-2.886 1.443-5.901 1.572-9.07 1.93l-2.262.258c-10.828 1.201-21.682 2.098-32.543 2.937l-3.497.272c-25.557 1.94-51.014 1.992-76.628 1.603v-31l10.055-.078c24.029-.248 47.93-.911 71.883-2.922l3.243-.272c11.319-.91 11.319-.91 22.587-2.283 2.945-.405 5.702-.548 8.67-.508M801 850c4.67-.114 8.834.211 13.395 1.207l3.65.78 3.768.826c17.76 3.86 35.55 6.602 53.582 8.867q4.554.574 9.107 1.158A1390 1390 0 0 0 921 867c.333 10.422-.857 20.658-2 31-113.937-9.937-113.937-9.937-123-19 .476-9.845 2.882-19.404 5-29m675-300c10.397-.113 20.635.08 31 1 .242 26.563-5.573 54.88-14 80l-1.008 3.085c-4.588 14-9.678 27.6-15.992 40.915-4.267-.55-7.574-1.547-11.398-3.504l-2.95-1.494-3.027-1.564-3.098-1.577q-3.769-1.92-7.527-3.861c.628-3.673 1.65-6.885 3.074-10.324l1.265-3.09 1.349-3.274c6.961-17.207 12.368-34.17 16.312-52.312l.871-3.902c2.722-13.215 3.81-26.686 5.129-40.098"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="M1416 712c4.886 2.269 8.889 5.589 13.125 8.875l2.496 1.895 2.387 1.847 2.176 1.675c1.897 1.784 2.815 3.324 3.816 5.708-9.5 11.917-19.776 22.87-30.5 33.688l-2.624 2.663c-5.978 5.986-12.256 11.39-18.876 16.649q-1.899 1.555-3.793 3.117c-8.745 7.133-17.797 13.658-27.207 19.883l-1.74 1.155C1346.424 815 1346.424 815 1344 815c-1.281-1.74-1.281-1.74-2.715-4.164l-1.58-2.652-1.642-2.809-1.631-2.738c-2.648-4.473-5.195-8.944-7.432-13.637 5.538-4.099 11.106-8.106 16.875-11.875 26.674-17.668 50.05-40.362 70.125-65.125"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="M853 475c2.188 37.178 2.188 37.178 2.313 55.75l.052 3.651-.002 3.333.01 2.882C855 543 855 543 853.845 544.783c-2.588 1.706-4.66 1.75-7.744 1.947l-3.614.246-3.863.212-3.927.237c-7.958.45-15.915.795-23.885.888l-2.64.053c-2.403-.003-2.403-.003-6.173-.366-2.327-3.49-2.298-5.052-2.414-9.187l-.117-3.783-.094-4.03-.115-4.08A802 802 0 0 1 799 496l2.098-.851 9.902-4.024 3.662-1.488a1514 1514 0 0 0 18.37-7.594l3.304-1.393q3.12-1.32 6.234-2.651l2.836-1.198 2.479-1.058C850 475 850 475 853 475"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="M1519 583c3 2 3 2 3.691 4.086 2.063 19.478-2.998 39.876-6.691 58.914l-.61 3.143c-4.6 22.888-12.982 64.446-31.39 79.857-5.137 2.345-9.97 2.948-15.422 1.242-7.28-2.802-13.186-5.504-18.166-11.655-2.356-2.648-5.132-4.677-7.975-6.774l-1.708-1.288c-2.337-1.757-4.66-3.481-7.12-5.064C1432 704 1432 704 1431.582 702.082c.886-8.725 4.697-16.251 8.418-24.082 5.276-.717 8.836 1.793 13.25 4.313 7.818 4.431 15.514 8.558 24.75 7.687 3.196-.87 3.196-.87 6-2l3-1c1.123-1.774 1.123-1.774 2-4l1.11-2.476c13.745-31.722 23.63-63.282 28.89-97.524"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="M808 595h22l1 3 3.375-.125C838 598 838 598 840 600c.172 2.727.232 5.34.188 8.063l-.002 2.26c-.046 5.537-.046 5.537-1.186 6.677q-3.5.062-7 0v5l2.152-.035 2.785-.028 2.778-.035C842 622 842 622 843 623c.1 2.843.139 5.657.125 8.5l.012 2.418c-.01 5.955-.01 5.955-1.137 7.082a92 92 0 0 1-5.062.063l-2.786-.028L832 641l-.043 1.688c-.387 6.19-1.935 10.544-5.957 15.312-7.321 5.92-14.82 6.956-24 6-7.07-1.964-11.646-5.59-15.812-11.625-1.706-4.848-1.863-9.291-1.188-14.375 2.656-5.517 6.738-9.691 12.434-11.977 4.317-1.372 8.014-2.177 12.566-2.023v-5l-3.684.035-4.754.028-2.431.025c-2.044.009-4.088-.036-6.131-.088-1-1-1-1-1.098-4.816q.01-2.374.035-4.746l.014-2.444q.02-2.997.049-5.994c3.674-.853 7.045-1.108 10.813-1.062l2.957.027L808 600z"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="m1178.5 406.75 3.648-.062c18.99-.082 18.99-.082 25.722 4.617 3.292 4.936-.123 14.306-1.175 19.718q-.774 3.678-1.57 7.352l-.777 3.77-.778 3.628-.695 3.264c-.91 3.08-1.99 5.366-3.875 7.963-2.687.813-2.687.813-5 1v-3c-13.935-19.56-45.662-29.214-68-33-4.989-.757-9.99-1.403-15-2v8h-1a286 286 0 0 1-.187-5.312l-.106-2.989c.293-2.699.293-2.699 1.404-4.33 2.758-1.999 5.02-1.837 8.4-1.959l3.966-.182 2.087-.08c11.92-.477 22.992-1.585 34.436-5.148 6.115-1.448 12.248-1.224 18.5-1.25"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-foreground)"
|
||||
d="M636.75 480.945c1.995 1.202 3.59 2.427 5.25 4.055l2.25 2.188c5.54 8.903 7.09 17.15 5.277 27.515-1.815 7.087-5.226 12.86-11.152 17.235-6.95 3.109-15.806 3.492-23.047 1.226-7.24-3.72-12.7-9.398-15.265-17.164-2.33-9.49-.958-17.708 3.75-26.312 8.056-9.899 20.809-12.912 32.937-8.743"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="M780 503c1.029 7.833 1.393 15.67 1.667 23.558q.084 2.268.187 4.536c.1 2.204.18 4.408.255 6.613l.156 3.952C782 545 782 545 780.959 547.404c-2.898 2.361-5.824 2.307-9.416 2.424l-2.24.117c-2.372.12-4.743.212-7.115.305q-2.332.115-4.663.234c-3.786.187-7.572.333-11.361.45q-2.14.065-4.277.144c-1.945.069-3.89.113-5.836.156l-3.335.085C730 551 730 551 728.165 549.793c-1.503-2.313-1.668-3.97-1.849-6.719l-.194-2.963c-.2-5.102-.227-10.193-.184-15.298l.013-3.174q.018-3.82.049-7.639l2.684-.332A872 872 0 0 0 741 512l2.057-.292c11.4-1.678 22.191-4.666 33.15-8.205C778 503 778 503 780 503"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="m864.828 589.976 2.31.315c4.4.537 8.79.977 13.208 1.342l4.103.344 2.14.179c4.576.384 9.152.778 13.727 1.17q6.015.514 12.03 1.015 5.853.486 11.705.995 2.224.19 4.45.372c2.064.168 4.126.348 6.188.53l3.556.3C941 597 941 597 943 599c.035 2.965-.05 5.8-.25 8.75l-.121 2.422c-.281 4.623-1.063 8.433-2.629 12.828-15.333-.568-30.584-1.707-45.863-3.102a3026 3026 0 0 0-11.26-.994q-3.597-.323-7.193-.65l-3.384-.29-3.13-.294-2.742-.246c-2.477-.433-4.255-1.183-6.428-2.424q-.04-3.78-.063-7.563l-.025-2.134c-.02-4.52.195-8.851 1.088-13.303 2-2 2-2 3.828-2.024M1130 560c2.26 7.38 3.135 14.286 3 22-3.199 1.818-6.053 2.486-9.68 3.037l-3.46.536-3.735.556-3.865.59q-4.054.616-8.11 1.222-5.148.771-10.294 1.56-4.958.756-9.918 1.503l-3.686.562A286 286 0 0 1 1058 594c-1.609-5.143-2.528-10.089-3.125-15.437l-.262-2.217q-.313-2.673-.613-5.346c4.188-1.515 8.13-2.428 12.543-3l3.756-.5 3.889-.5c7.852-1.025 15.663-2.092 23.446-3.562 3.11-.576 6.232-1.016 9.366-1.438a212 212 0 0 0 15.598-2.73c2.689-.302 4.79.074 7.402.73"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-foreground)"
|
||||
d="M1032.625 429.875C1036 432 1036 432 1038 434c.24 1.835.24 1.835.227 4.083v2.547l-.032 2.753-.008 2.816c-.011 2.976-.037 5.95-.062 8.926q-.016 3.021-.027 6.043-.035 7.416-.098 14.832c-7.02 2.898-14.967 4.58-22.402 2.246-7.576-3.214-11.923-6.896-15.598-14.246-2.467-7.815-1.902-16.053 1.5-23.437 6.311-11.333 18.867-16.738 31.125-10.688"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="m759.875 577.867 2.984-.004 3.141.012 3.14-.012 2.985.004 2.758.004C777 578 777 578 778 579c1.084 7.356 1.16 14.634 1.168 22.059l.01 3.713q.007 3.861.007 7.723c.003 3.954.02 7.908.04 11.862q.005 3.758.005 7.514l.022 3.595-.01 3.31.005 2.918C779 644 779 644 777 646c-1.971.41-1.971.41-4.352.633l-2.578.254-2.695.238-2.719.262q-3.327.318-6.656.613c-2.353-5.753-2.686-11.493-3.125-17.625l-.255-3.482c-.683-10.505-.808-20.993-.808-31.518l-.002-2.453q.001-3.45.022-6.899l.004-2.11c.056-5.715.414-6.039 6.039-6.046"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="M1332 490c2 1 2 1 2.887 3.59l.8 3.348.825 3.277c1.31 10.15-1.736 20.443-3.84 30.335-.547 2.574-1.08 5.15-1.613 7.727l-1.051 4.98-.474 2.3c-2.38 11.057-6.803 21.055-16.557 27.513-3.79 1.783-7.853 2.374-11.977 2.93-.854-13.35-1.12-26.624-1-40l2.09-.41c9.194-2.106 15.855-5.87 20.96-13.985 3.54-6.09 4.928-12.382 6.325-19.23l.785-3.621A810 810 0 0 0 1332 490"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="M576 692c5.094 4.391 7.428 10.353 8.238 16.938.319 8.851-2.13 17.098-7.988 23.812A116 116 0 0 1 573 736c-8.43-5.085-15.644-11.514-23-18l-1.557-1.36c-8.463-7.402-8.463-7.402-11.443-11.64l1.753-.212c20.356-2.15 20.356-2.15 37.247-12.788"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="M789 572c9.268-.208 18.333.32 27.543 1.227 2.18.214 4.36.417 6.541.619C833.72 574.86 833.72 574.86 836 576q.079 3.375.125 6.75l.07 3.797c-.186 3.287-.655 4.671-2.195 7.453-8.623.243-17.04-.543-25.598-1.49-2.423-.262-4.848-.5-7.273-.737q-2.314-.25-4.629-.507l-2.194-.203c-4.928-.588-4.928-.588-6.79-2.926-.792-3.278-.192-6.082.359-9.387l.617-3.828z"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="M1114 562c-11.697 9.411-24.152 17.264-37 25l-1.897 1.153c-5.766 3.481-10.323 5.591-17.103 5.847-1.609-5.143-2.528-10.089-3.125-15.437l-.262-2.217q-.313-2.673-.613-5.346c4.188-1.515 8.13-2.428 12.543-3l3.756-.5 3.889-.5c7.853-1.025 15.672-2.07 23.45-3.572 5.41-.98 10.858-1.606 16.362-1.428"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="M877 592c15.502.952 30.996 2.006 46.472 3.31q2.278.19 4.555.37 3.199.258 6.395.539l3.706.31C941 597 941 597 943 599c.151 1.832.151 1.832.012 4.027l-.143 2.4-.182 2.51-.146 2.499c-.22 3.431-.447 6.28-1.541 9.564-11.723-1.675-22.004-8.195-32.062-14.125-10.03-5.822-20.741-9.872-31.938-12.875z"
|
||||
/>
|
||||
<path fill="var(--homarr-wordmark-secondary)" d="M402 450h14c.325 13.442-.68 26.627-2 40l-12-1z" />
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="M1217.188 219.625c4.995.491 6.318 1.88 9.812 5.375 1.516 3.032 1.25 5.88 1.313 9.25l.113 3.953c-.488 4.346-1.684 6.44-4.426 9.797-3.204 1.602-6.523 1.493-10 1-3.443-2.124-4.716-3.149-6-7-.2-2.643-.323-5.23-.375-7.875l-.113-2.145c-.069-4.093.29-5.743 2.949-8.925L1213 221c1-1 1-1 4.188-1.375"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="M1275 238c2.93 1.813 5.436 3.873 7 7 .448 3.83.266 5.572-1.793 8.887l-2.395 2.8-2.355 2.825c-2.385 2.415-4.409 4.015-7.457 5.488-4.248 0-6.42-.606-9.937-3-2.335-3.396-3.14-5.356-2.961-9.445 2.718-7.73 11.637-15.508 19.898-14.555"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="M1165.656 238.379c4.474 1.186 7.27 4.312 10.344 7.621l2.5 2.5c2.082 3.47 2.129 5.517 1.5 9.5-1.799 2.967-3.847 5.424-7 7-3.25.619-5.224.525-7.996-1.352-2.1-1.801-4.06-3.68-6.004-5.648l-1.621-1.52c-2.59-2.663-3.745-4.903-4.004-8.543C1154 244 1154 244 1155.938 241c3.516-2.296 5.576-2.849 9.718-2.621M1173 331c5.538 3.077 5.538 3.077 7 6 .57 3.562.668 5.981-1.352 9.063-1.796 2.088-3.669 4.022-5.648 5.937l-1.555 1.617c-2.637 2.523-4.386 3.374-8.007 3.945-3.98-.65-5.649-1.69-8.438-4.562-1.227-3.68-1.428-6.127-1-10 1.514-2.519 3.44-4.422 5.563-6.437l1.556-1.64c3.822-3.754 6.36-4.699 11.881-3.923"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="M1007 617c-.418 4.877-2.407 6.815-6 10l-2.25 2.125c-8.623 5.88-19.19 6.275-29.281 4.406-5.06-1.635-8.11-4.584-11.469-8.531v-2l2.84-.078C976.272 622.33 991.886 617 1007 617"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="M1152 288c2.868 1.42 4.744 2.744 7 5 .371 1.988.371 1.988.438 4.313l.12 2.3c-.876 3.744-2.492 5.118-5.558 7.387-3.024.712-5.905.7-9 .625l-2.406.059c-4.256-.036-6.112-.324-9.614-2.942-2.533-3.508-2.805-5.377-2.496-9.582.673-2.82 1.802-4.683 4.204-6.351 5.427-1.898 11.689-1.55 17.312-.809"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="M1495 307h1q.074 8.298.11 16.595.015 2.82.04 5.636c.025 2.714.037 5.427.045 8.14l.032 2.51c0 5.612-.795 10.696-2.227 16.119l-2-1v-2c-2.997-1.662-5.696-2.458-9.062-3.062-2.77-.504-5.26-1.045-7.938-1.938l1.723-1.695c9.486-9.851 14.688-20.942 17.277-34.305l.57-2.84z"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-primary)"
|
||||
d="m804.434 584.805 2.66.008c2.781.011 5.562.036 8.343.062q2.843.016 5.686.027 6.939.035 13.877.098c.098 6.152.098 6.152 0 8-1 1-1 1-4.93 1.188-8.112-.081-16.152-1.22-24.195-2.188l-4.922-.578Q794.975 590.719 789 590l-1-3c5.617-1.906 10.527-2.268 16.434-2.195"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="m759.875 577.867 2.984-.004 3.141.012 3.14-.012 2.985.004 2.758.004C777 578 777 578 778 579c.072 1.52.084 3.042.063 4.563l-.028 2.503L778 588q-4.342.757-8.687 1.5l-2.475.434-2.412.41-2.206.38C760 591 760 591 755 591v24h-1q-.037-7.663-.055-15.326-.008-2.609-.02-5.218c-.013-2.494-.018-4.989-.023-7.483l-.015-2.37c0-1.869.051-3.736.113-5.603 1.654-1.654 3.603-1.13 5.875-1.133"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="M393 634h1c2.024 29.16 4.013 58.321 5.75 87.5l.196 3.237q.273 4.554.538 9.107l.16 2.64c.352 6.177.41 12.33.356 18.516h-2c-1.124-4.713-1.372-9.415-1.664-14.234l-.178-2.796q-.288-4.575-.568-9.15l-.4-6.395q-.417-6.71-.829-13.421-.526-8.545-1.066-17.09-.415-6.611-.82-13.224-.195-3.147-.394-6.293c-2.022-32.06-2.022-32.06-.081-38.397"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="M550 325c2.582 2.582 2.259 4.334 2.278 7.854l-.028 2.521-.018 2.724c-.113 8.019-.673 15.982-1.31 23.974-.692 8.97-1.2 17.944-1.652 26.93l-.193 3.785c-.258 5.116-.516 10.231-.758 15.348a3308 3308 0 0 1-.538 10.915l-.148 3.333c-.286 5.516-.826 10.386-2.633 15.616h-1c-.354-15.977.693-31.832 1.796-47.763.419-6.064.825-12.13 1.231-18.194l.265-3.925a895 895 0 0 0 1.37-26.005c.223-5.733.71-11.41 1.338-17.113"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="M724 352h1l.48 2.86c2.057 11.315 5.467 21.276 11.52 31.14l-13 1z"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-foreground)"
|
||||
d="M986 609c-.75 5.75-.75 5.75-3 8-3.625.125-3.625.125-7 0-.25-2.312-.25-2.312 0-5 2.998-3.344 5.678-3.295 10-3"
|
||||
/>
|
||||
<path
|
||||
fill="var(--homarr-wordmark-secondary)"
|
||||
d="M811 639c-.75 5.75-.75 5.75-3 8-2.625-.375-2.625-.375-5-1v-5c3.088-1.765 4.233-2 8-2"
|
||||
/>
|
||||
<path fill="var(--homarr-wordmark-primary)" d="m1023 611 1 4c-1 1-1 1-2.848 1.098L1015 616l-1-2z" />
|
||||
<path fill="var(--homarr-wordmark-secondary)" d="m1011 430 2 1-9 9c0-3.956 1.405-5.109 4-8z" />
|
||||
</svg>
|
||||
);
|
||||
export default SvgHomarrWordmarkLight;
|
||||
@@ -0,0 +1,5 @@
|
||||
export { OnboardingAuthShell } from "./onboarding-auth-shell";
|
||||
export { OnboardingStudio } from "./onboarding-studio";
|
||||
export { normalizeServiceUrl } from "./discovery-selection";
|
||||
export { ServiceUrlTemplate } from "./service-url-template";
|
||||
export type { OnboardingEnvironment, OnboardingStudioProps } from "./types";
|
||||
@@ -0,0 +1,103 @@
|
||||
import type { CSSProperties, ReactNode } from "react";
|
||||
import { Group, Paper, Stack, Text, ThemeIcon, Title } from "@mantine/core";
|
||||
|
||||
import { OnboardingBackdrop } from "./onboarding-backdrop";
|
||||
import { OnboardingWordmark } from "./onboarding-wordmark";
|
||||
import classes from "./onboarding-studio.module.css";
|
||||
|
||||
interface OnboardingAuthShellProps {
|
||||
title: ReactNode;
|
||||
description: ReactNode;
|
||||
icon: ReactNode;
|
||||
children: ReactNode;
|
||||
footer?: ReactNode;
|
||||
appName?: string;
|
||||
showAppName?: boolean;
|
||||
showAppLogo?: boolean;
|
||||
primaryColor?: string;
|
||||
secondaryColor?: string;
|
||||
wordmarkPrimaryColor?: string;
|
||||
wordmarkSecondaryColor?: string;
|
||||
logoImageUrl?: string;
|
||||
backgroundImageUrl?: string;
|
||||
backgroundOverlay?: number;
|
||||
radius?: "xs" | "sm" | "md" | "lg" | "xl";
|
||||
}
|
||||
|
||||
export const OnboardingAuthShell = ({
|
||||
title,
|
||||
description,
|
||||
icon,
|
||||
children,
|
||||
footer,
|
||||
appName,
|
||||
showAppName = false,
|
||||
showAppLogo = false,
|
||||
primaryColor,
|
||||
secondaryColor,
|
||||
wordmarkPrimaryColor,
|
||||
wordmarkSecondaryColor,
|
||||
logoImageUrl,
|
||||
backgroundImageUrl,
|
||||
backgroundOverlay = 0.55,
|
||||
radius = "lg",
|
||||
}: OnboardingAuthShellProps) => (
|
||||
<main
|
||||
className={classes.page}
|
||||
data-background-image={backgroundImageUrl ? true : undefined}
|
||||
style={
|
||||
{
|
||||
"--studio-glow-color": primaryColor,
|
||||
"--studio-secondary-glow-color": secondaryColor,
|
||||
"--auth-background-overlay": backgroundOverlay,
|
||||
} as CSSProperties
|
||||
}
|
||||
>
|
||||
{backgroundImageUrl ? (
|
||||
<div
|
||||
aria-hidden
|
||||
className={classes.authBackground}
|
||||
style={{ backgroundImage: `url(${JSON.stringify(backgroundImageUrl)})` }}
|
||||
/>
|
||||
) : null}
|
||||
<OnboardingBackdrop />
|
||||
<div className={`${classes.shell} ${classes.authShell}`}>
|
||||
<Stack className={classes.authLayout} gap="xl" align="center" justify="center">
|
||||
{showAppName || showAppLogo ? (
|
||||
<div className={classes.authBrand}>
|
||||
<OnboardingWordmark
|
||||
large
|
||||
appName={appName}
|
||||
showAppName={showAppName}
|
||||
showAppLogo={showAppLogo}
|
||||
primaryColor={wordmarkPrimaryColor}
|
||||
secondaryColor={wordmarkSecondaryColor}
|
||||
logoImageUrl={logoImageUrl}
|
||||
/>
|
||||
</div>
|
||||
) : null}
|
||||
<Paper className={`${classes.studio} ${classes.authCard}`} radius={radius} p={{ base: "lg", sm: "xl" }}>
|
||||
<Stack gap="xl">
|
||||
<Group wrap="nowrap" align="flex-start">
|
||||
<ThemeIcon size="xl" radius="lg" variant="light">
|
||||
{icon}
|
||||
</ThemeIcon>
|
||||
<Stack gap={4}>
|
||||
<Title order={1} size="h2">
|
||||
{title}
|
||||
</Title>
|
||||
<Text c="dimmed">{description}</Text>
|
||||
</Stack>
|
||||
</Group>
|
||||
{children}
|
||||
</Stack>
|
||||
</Paper>
|
||||
{footer ? (
|
||||
<Text className={classes.authFooter} size="sm" c="dimmed" ta="center">
|
||||
{footer}
|
||||
</Text>
|
||||
) : null}
|
||||
</Stack>
|
||||
</div>
|
||||
</main>
|
||||
);
|
||||
@@ -0,0 +1,14 @@
|
||||
import { IntegrationMarquee } from "@homarr/ui";
|
||||
|
||||
import classes from "./onboarding-studio.module.css";
|
||||
|
||||
export const OnboardingBackdrop = () => (
|
||||
<div className={classes.marqueeBackdrop} aria-hidden>
|
||||
<div className={`${classes.marqueeRail} ${classes.marqueeRailLeft}`}>
|
||||
<IntegrationMarquee />
|
||||
</div>
|
||||
<div className={`${classes.marqueeRail} ${classes.marqueeRailRight}`}>
|
||||
<IntegrationMarquee />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
@@ -0,0 +1,612 @@
|
||||
.page {
|
||||
--studio-surface: color-mix(in srgb, var(--mantine-color-body) 92%, transparent);
|
||||
--studio-glow-color: var(--mantine-primary-color-filled);
|
||||
--studio-secondary-glow-color: var(--mantine-color-orange-6);
|
||||
min-height: 100dvh;
|
||||
overflow-x: clip;
|
||||
position: relative;
|
||||
background:
|
||||
radial-gradient(
|
||||
circle at 10% 10%,
|
||||
color-mix(in srgb, var(--studio-glow-color) 14%, transparent),
|
||||
transparent 34rem
|
||||
),
|
||||
radial-gradient(
|
||||
circle at 90% 5%,
|
||||
color-mix(in srgb, var(--studio-secondary-glow-color) 10%, transparent),
|
||||
transparent 30rem
|
||||
),
|
||||
var(--mantine-color-body);
|
||||
}
|
||||
|
||||
.marqueeBackdrop {
|
||||
position: fixed;
|
||||
z-index: 0;
|
||||
inset: 0;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
opacity: 0.42;
|
||||
filter: blur(1.25px) saturate(0.92);
|
||||
mask-image: linear-gradient(to right, black 0%, black 18%, transparent 40%, transparent 60%, black 82%, black 100%);
|
||||
}
|
||||
|
||||
.marqueeRail {
|
||||
--marquee-horizontal-mask: linear-gradient(black, black);
|
||||
position: absolute;
|
||||
top: -14rem;
|
||||
bottom: -14rem;
|
||||
width: clamp(22rem, 26vw, 32rem);
|
||||
mask-image:
|
||||
linear-gradient(to bottom, transparent, black 10%, black 90%, transparent), var(--marquee-horizontal-mask);
|
||||
mask-composite: intersect;
|
||||
}
|
||||
|
||||
.marqueeRail > * {
|
||||
height: 100%;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.marqueeRailLeft {
|
||||
left: -7rem;
|
||||
--integration-marquee-accent: var(--studio-glow-color);
|
||||
--marquee-horizontal-mask: linear-gradient(to right, black 55%, transparent);
|
||||
}
|
||||
|
||||
.marqueeRailRight {
|
||||
right: -7rem;
|
||||
top: -22rem;
|
||||
--integration-marquee-accent: var(--studio-secondary-glow-color);
|
||||
--marquee-horizontal-mask: linear-gradient(to left, black 55%, transparent);
|
||||
}
|
||||
|
||||
.shell {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
width: min(100% - 2rem, 76rem);
|
||||
margin-inline: auto;
|
||||
padding-block: clamp(1rem, 3vw, 2.5rem) calc(6rem + env(safe-area-inset-bottom));
|
||||
}
|
||||
|
||||
.topbar {
|
||||
min-height: 3rem;
|
||||
gap: var(--mantine-spacing-sm);
|
||||
}
|
||||
|
||||
.wordmark {
|
||||
display: block;
|
||||
width: auto;
|
||||
height: 3.5rem;
|
||||
}
|
||||
|
||||
.onboardingWordmark {
|
||||
height: clamp(5rem, 12vw, 7rem);
|
||||
max-width: min(70vw, 28rem);
|
||||
}
|
||||
|
||||
.wordmark.welcomeWordmark {
|
||||
height: clamp(8rem, 20vw, 12rem);
|
||||
max-width: min(92vw, 42rem);
|
||||
}
|
||||
|
||||
.customBrand {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: var(--mantine-spacing-md);
|
||||
max-width: min(92vw, 42rem);
|
||||
color: var(--mantine-color-text);
|
||||
font-size: clamp(2rem, 6vw, 4rem);
|
||||
font-weight: 750;
|
||||
line-height: 1;
|
||||
letter-spacing: -0.04em;
|
||||
}
|
||||
|
||||
.customBrand[data-large="true"] {
|
||||
font-size: clamp(2.5rem, 8vw, 5.5rem);
|
||||
}
|
||||
|
||||
.customBrandImage {
|
||||
width: auto;
|
||||
height: clamp(4rem, 11vw, 7rem);
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.customBrand[data-large="true"] .customBrandImage {
|
||||
height: clamp(5rem, 16vw, 9rem);
|
||||
}
|
||||
|
||||
.celebratingWordmark {
|
||||
animation: wordmarkJump 360ms ease-out;
|
||||
}
|
||||
|
||||
@keyframes wordmarkJump {
|
||||
0%,
|
||||
100% {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
45% {
|
||||
transform: translateY(-0.4rem);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.celebratingWordmark {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
|
||||
.hero {
|
||||
margin-inline: auto;
|
||||
max-width: 58rem;
|
||||
padding-block: 5rem 3rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.heroTitle {
|
||||
font-size: 3.5rem;
|
||||
line-height: 1.05;
|
||||
letter-spacing: -0.03em;
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.studio {
|
||||
background: var(--studio-surface);
|
||||
backdrop-filter: blur(18px);
|
||||
border: 1px solid color-mix(in srgb, var(--mantine-color-default-border) 76%, transparent);
|
||||
box-shadow: var(--mantine-shadow-sm);
|
||||
}
|
||||
|
||||
.studio {
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.authShell {
|
||||
display: grid;
|
||||
min-height: 100dvh;
|
||||
padding-block: clamp(1rem, 4vw, 3rem) calc(clamp(1rem, 4vw, 3rem) + env(safe-area-inset-bottom));
|
||||
}
|
||||
|
||||
.authBackground {
|
||||
position: fixed;
|
||||
z-index: 0;
|
||||
inset: 0;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.authBackground::after {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
content: "";
|
||||
background: rgb(0 0 0 / var(--auth-background-overlay, 0.55));
|
||||
}
|
||||
|
||||
.page[data-background-image] .marqueeBackdrop {
|
||||
opacity: 0.14;
|
||||
}
|
||||
|
||||
.authLayout {
|
||||
width: min(100%, 36rem);
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.authBrand {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.authCard {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.authFooter {
|
||||
max-width: 32rem;
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.studioGrid {
|
||||
display: grid;
|
||||
grid-template-columns: 15rem minmax(0, 1fr);
|
||||
min-height: 40rem;
|
||||
}
|
||||
|
||||
.rail {
|
||||
padding: 1.25rem;
|
||||
border-right: 1px solid var(--mantine-color-default-border);
|
||||
background: color-mix(in srgb, var(--mantine-color-default) 40%, transparent);
|
||||
}
|
||||
|
||||
.timeline {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.timelineBullet {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.timelineButton {
|
||||
width: calc(100% + 2.75rem);
|
||||
min-height: 2.75rem;
|
||||
margin-inline-start: -2.75rem;
|
||||
padding: 0.15rem 0.25rem;
|
||||
padding-inline-start: 2.75rem;
|
||||
border-radius: var(--mantine-radius-md);
|
||||
color: var(--mantine-color-dimmed);
|
||||
}
|
||||
|
||||
.timelineButton[data-active="true"] {
|
||||
color: var(--mantine-color-text);
|
||||
}
|
||||
|
||||
.timelineButton:focus-visible {
|
||||
outline: 2px solid var(--mantine-primary-color-filled);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
min-height: 100%;
|
||||
padding: clamp(1rem, 3vw, 2rem);
|
||||
}
|
||||
|
||||
.sectionCard {
|
||||
background: var(--studio-surface);
|
||||
border: 1px solid color-mix(in srgb, var(--mantine-color-default-border) 76%, transparent);
|
||||
}
|
||||
|
||||
.discoveryChoice {
|
||||
width: 100%;
|
||||
height: 4.25rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.detectedAppGrid {
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.detectedAppItem {
|
||||
display: grid;
|
||||
grid-template-rows: 4.25rem auto;
|
||||
gap: var(--mantine-spacing-xs);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.discoveryChoice[data-checked] {
|
||||
border-color: var(--mantine-primary-color-filled);
|
||||
background: color-mix(in srgb, var(--mantine-primary-color-light) 62%, var(--mantine-color-body));
|
||||
}
|
||||
|
||||
.discoveryChoice:focus-visible {
|
||||
outline: 3px solid var(--mantine-primary-color-light-color);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.integrationStatus {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.choiceGrid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: var(--mantine-spacing-sm);
|
||||
}
|
||||
|
||||
.choice {
|
||||
min-height: 9rem;
|
||||
text-align: left;
|
||||
border-radius: var(--mantine-radius-lg);
|
||||
border: 1px solid var(--mantine-color-default-border);
|
||||
background: var(--mantine-color-body);
|
||||
padding: var(--mantine-spacing-md);
|
||||
}
|
||||
|
||||
.choice[data-selected="true"] {
|
||||
border-color: var(--mantine-primary-color-filled);
|
||||
background: color-mix(in srgb, var(--mantine-primary-color-light) 70%, var(--mantine-color-body));
|
||||
}
|
||||
|
||||
.choice:focus-visible {
|
||||
outline: 3px solid var(--mantine-primary-color-light-color);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.preview {
|
||||
margin: 0;
|
||||
aspect-ratio: 16 / 9;
|
||||
display: grid;
|
||||
gap: 0.4rem;
|
||||
padding: 0.6rem;
|
||||
overflow: hidden;
|
||||
border-radius: var(--mantine-radius-lg);
|
||||
background: var(--mantine-color-default);
|
||||
border: 1px solid var(--mantine-color-default-border);
|
||||
}
|
||||
|
||||
.previewLane {
|
||||
min-width: 0;
|
||||
border-radius: calc(var(--mantine-radius-lg) * 0.65);
|
||||
background: var(--mantine-color-body);
|
||||
border: 1px solid var(--mantine-color-default-border);
|
||||
padding: 0.35rem;
|
||||
}
|
||||
|
||||
.previewTiles {
|
||||
height: 100%;
|
||||
display: grid;
|
||||
grid-auto-rows: minmax(0.8rem, 1fr);
|
||||
grid-auto-flow: dense;
|
||||
gap: 0.3rem;
|
||||
}
|
||||
|
||||
.previewTile {
|
||||
border-radius: calc(var(--mantine-radius-lg) * 0.45);
|
||||
background: var(--mantine-color-default);
|
||||
border: 1px solid var(--mantine-color-default-border);
|
||||
}
|
||||
|
||||
.stickyActions {
|
||||
position: sticky;
|
||||
z-index: 2;
|
||||
bottom: 0;
|
||||
margin: auto -2rem -2rem;
|
||||
padding: 1rem 2rem;
|
||||
background: color-mix(in srgb, var(--mantine-color-body) 92%, transparent);
|
||||
border-top: 1px solid var(--mantine-color-default-border);
|
||||
backdrop-filter: blur(16px);
|
||||
}
|
||||
|
||||
.nextCard {
|
||||
--next-card-accent: var(--studio-glow-color);
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
border-color: color-mix(in srgb, var(--next-card-accent) 42%, var(--mantine-color-default-border));
|
||||
}
|
||||
|
||||
.nextCard:nth-child(2) {
|
||||
--next-card-accent: var(--studio-secondary-glow-color);
|
||||
}
|
||||
|
||||
.nextCard :global(.mantine-ThemeIcon-root) {
|
||||
color: var(--next-card-accent);
|
||||
background: color-mix(in srgb, var(--next-card-accent) 14%, transparent);
|
||||
}
|
||||
|
||||
.finishPrimaryAction {
|
||||
color: var(--mantine-color-white);
|
||||
background: linear-gradient(135deg, var(--studio-glow-color), var(--studio-secondary-glow-color));
|
||||
text-shadow: 0 1px 2px rgb(0 0 0 / 35%);
|
||||
}
|
||||
|
||||
.finishPrimaryAction:hover {
|
||||
filter: brightness(0.94);
|
||||
}
|
||||
|
||||
.nextCard:hover {
|
||||
background: color-mix(in srgb, var(--next-card-accent) 9%, var(--mantine-color-body));
|
||||
}
|
||||
|
||||
.nextCard:focus-visible {
|
||||
outline: 3px solid color-mix(in srgb, var(--next-card-accent) 55%, transparent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.content :global(.mantine-Button-root),
|
||||
.page :global(.mantine-Input-input),
|
||||
.page :global(.mantine-Tabs-tab) {
|
||||
min-height: 2.75rem;
|
||||
}
|
||||
|
||||
.floatingControlScroller {
|
||||
max-width: 100%;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.floatingControlRoot {
|
||||
position: relative;
|
||||
display: flex;
|
||||
width: max-content;
|
||||
min-width: 100%;
|
||||
margin: 0;
|
||||
padding: 0.2rem;
|
||||
border-radius: var(--mantine-radius-md);
|
||||
background: var(--mantine-color-default);
|
||||
}
|
||||
|
||||
.floatingControlIndicator {
|
||||
border: 1px solid var(--mantine-color-default-border);
|
||||
border-radius: calc(var(--mantine-radius-md) - 0.2rem);
|
||||
background: var(--mantine-color-body);
|
||||
box-shadow: var(--mantine-shadow-xs);
|
||||
}
|
||||
|
||||
.floatingControl {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
flex: 1 0 auto;
|
||||
min-height: 2.25rem;
|
||||
padding-inline: var(--mantine-spacing-sm);
|
||||
border-radius: calc(var(--mantine-radius-md) - 0.2rem);
|
||||
color: var(--mantine-color-dimmed);
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.floatingControl[data-active="true"] {
|
||||
color: var(--mantine-color-text);
|
||||
}
|
||||
|
||||
.floatingControl:focus-visible {
|
||||
outline: 2px solid var(--mantine-primary-color-filled);
|
||||
outline-offset: -2px;
|
||||
}
|
||||
|
||||
.page :global(.mantine-Switch-body) {
|
||||
min-height: 2.75rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@media (max-width: 62em) {
|
||||
.hero {
|
||||
padding-block: 3rem;
|
||||
}
|
||||
|
||||
.studioGrid {
|
||||
grid-template-columns: 12rem minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.rail {
|
||||
padding-inline: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 48em) {
|
||||
.marqueeBackdrop {
|
||||
opacity: 0.24;
|
||||
mask-image: linear-gradient(to right, black, transparent 42%, transparent 58%, black);
|
||||
}
|
||||
|
||||
.marqueeRail {
|
||||
width: 17rem;
|
||||
}
|
||||
|
||||
.marqueeRailLeft {
|
||||
left: -8rem;
|
||||
}
|
||||
|
||||
.marqueeRailRight {
|
||||
right: -8rem;
|
||||
}
|
||||
|
||||
.shell {
|
||||
width: min(100% - 1rem, 76rem);
|
||||
}
|
||||
|
||||
.heroTitle {
|
||||
font-size: 2.75rem;
|
||||
}
|
||||
|
||||
.choiceGrid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.studioGrid {
|
||||
grid-template-columns: 3.75rem minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.rail {
|
||||
padding: 1rem 0.5rem;
|
||||
}
|
||||
|
||||
.timelineLabel {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.timelineButton {
|
||||
min-height: 2rem;
|
||||
padding-inline-start: 2.75rem;
|
||||
}
|
||||
|
||||
.stickyActions {
|
||||
margin: auto -1rem -1rem;
|
||||
padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
|
||||
}
|
||||
|
||||
.primaryActions {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.primaryActions > * {
|
||||
flex: 1 1 12rem;
|
||||
}
|
||||
|
||||
.content :global(.mantine-Tabs-list) {
|
||||
flex-wrap: nowrap;
|
||||
overflow-x: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 30em) {
|
||||
.shell {
|
||||
width: calc(100% - 0.75rem);
|
||||
padding-top: 0.75rem;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.wordmark {
|
||||
height: 3rem;
|
||||
}
|
||||
|
||||
.wordmark.welcomeWordmark {
|
||||
height: clamp(7rem, 34vw, 10rem);
|
||||
}
|
||||
|
||||
.hero {
|
||||
padding-block: 2rem 3rem;
|
||||
}
|
||||
|
||||
.stickyActions {
|
||||
gap: var(--mantine-spacing-xs);
|
||||
}
|
||||
|
||||
.backAction {
|
||||
flex: 0 0 2.75rem;
|
||||
width: 2.75rem;
|
||||
padding-inline: 0;
|
||||
}
|
||||
|
||||
.backAction :global(.mantine-Button-section) {
|
||||
margin-inline: 0;
|
||||
}
|
||||
|
||||
.backAction :global(.mantine-Button-label) {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
overflow: hidden;
|
||||
clip-path: inset(50%);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.primaryActions {
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.primaryActions > :global(.mantine-Button-root):last-child {
|
||||
flex: 1 1 0;
|
||||
min-width: 0;
|
||||
padding-inline: 0.25rem;
|
||||
}
|
||||
|
||||
.primaryActions > :global(.mantine-Button-root) {
|
||||
font-size: var(--mantine-font-size-sm);
|
||||
}
|
||||
|
||||
.sectionCard :global(.mantine-Group-root) {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.page * {
|
||||
animation: none !important;
|
||||
}
|
||||
|
||||
.page *:not(.integrationAccordion *),
|
||||
.page *:not(.integrationAccordion *)::before,
|
||||
.page *:not(.integrationAccordion *)::after {
|
||||
transition: none !important;
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
"use client";
|
||||
|
||||
import type { ReactNode } from "react";
|
||||
import { useEffect, useState } from "react";
|
||||
import { Alert, Button, Center, Paper, Stack, Text, Title } from "@mantine/core";
|
||||
|
||||
import { useI18n } from "@homarr/translation/client";
|
||||
import { Link } from "@homarr/ui";
|
||||
|
||||
import type { OnboardingStudioProps } from "./types";
|
||||
import { AccountSetup } from "./account";
|
||||
import { getOnboardingAccessState } from "./claim-state";
|
||||
import { Finish } from "./finish";
|
||||
import { SetupStudio } from "./setup-studio";
|
||||
import { Welcome } from "./welcome";
|
||||
|
||||
type ClaimState = "checking" | "ready" | "locked" | "signIn" | "error";
|
||||
|
||||
const getInitialClaimState = (accessState: ReturnType<typeof getOnboardingAccessState>): ClaimState => {
|
||||
if (accessState === "claim") return "checking";
|
||||
return accessState;
|
||||
};
|
||||
|
||||
export const OnboardingStudio = (props: OnboardingStudioProps) => {
|
||||
const t = useI18n("init.studio.claim");
|
||||
const tCommon = useI18n("common.action");
|
||||
const accessState = getOnboardingAccessState(props.environment);
|
||||
const [claimState, setClaimState] = useState<ClaimState>(() => getInitialClaimState(accessState));
|
||||
const [claimError, setClaimError] = useState<string | null>(null);
|
||||
|
||||
useEffect(() => {
|
||||
if (accessState !== "claim") {
|
||||
setClaimState(accessState);
|
||||
return;
|
||||
}
|
||||
|
||||
const controller = new AbortController();
|
||||
void fetch("/api/onboarding/claim", { method: "POST", signal: controller.signal })
|
||||
.then(async (response) => {
|
||||
if (response.ok) {
|
||||
setClaimState("ready");
|
||||
return;
|
||||
}
|
||||
const body = (await response.json().catch(() => null)) as { code?: unknown } | null;
|
||||
if (body?.code === "locked") {
|
||||
setClaimState("locked");
|
||||
return;
|
||||
}
|
||||
if (body?.code === "administrator_required") {
|
||||
setClaimState("signIn");
|
||||
return;
|
||||
}
|
||||
setClaimError(t("errorDescription"));
|
||||
setClaimState("error");
|
||||
})
|
||||
.catch(() => {
|
||||
if (controller.signal.aborted) return;
|
||||
setClaimError(t("errorDescription"));
|
||||
setClaimState("error");
|
||||
});
|
||||
return () => controller.abort();
|
||||
}, [accessState, t]);
|
||||
|
||||
if (claimState !== "ready") {
|
||||
let title = t("errorTitle");
|
||||
let description = claimError ?? t("errorDescription");
|
||||
let action: ReactNode = (
|
||||
<Stack align="center">
|
||||
<Alert color="red" role="alert">
|
||||
{description}
|
||||
</Alert>
|
||||
<Button onClick={() => window.location.reload()}>{tCommon("tryAgain")}</Button>
|
||||
</Stack>
|
||||
);
|
||||
|
||||
switch (claimState) {
|
||||
case "checking":
|
||||
title = t("checkingTitle");
|
||||
description = t("checking");
|
||||
action = null;
|
||||
break;
|
||||
case "signIn":
|
||||
title = t("signInTitle");
|
||||
description = t("signInDescription");
|
||||
action = (
|
||||
<Button component={Link} href="/auth/login?callbackUrl=%2Finit">
|
||||
{t("signIn")}
|
||||
</Button>
|
||||
);
|
||||
break;
|
||||
case "locked":
|
||||
title = t("lockedTitle");
|
||||
description = t("lockedDescription");
|
||||
action = <Button onClick={() => window.location.reload()}>{tCommon("tryAgain")}</Button>;
|
||||
break;
|
||||
case "error":
|
||||
break;
|
||||
}
|
||||
|
||||
return (
|
||||
<Center mih="100dvh" p="md">
|
||||
<Paper withBorder radius="lg" p="xl" maw="32rem" w="100%">
|
||||
<Stack align="center">
|
||||
<Title order={1} size="h2" ta="center">
|
||||
{title}
|
||||
</Title>
|
||||
<Text c="dimmed" ta="center">
|
||||
{description}
|
||||
</Text>
|
||||
{action}
|
||||
</Stack>
|
||||
</Paper>
|
||||
</Center>
|
||||
);
|
||||
}
|
||||
|
||||
switch (props.environment.currentStep) {
|
||||
case "start":
|
||||
return <Welcome {...props} />;
|
||||
case "user":
|
||||
case "group":
|
||||
return <AccountSetup {...props} />;
|
||||
case "setup":
|
||||
return <SetupStudio {...props} />;
|
||||
case "finish":
|
||||
return <Finish {...props} />;
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,103 @@
|
||||
"use client";
|
||||
|
||||
import type { CSSProperties } from "react";
|
||||
import { useState } from "react";
|
||||
import confetti from "canvas-confetti";
|
||||
|
||||
import HomarrWordmarkLight from "./homarr-wordmark-light";
|
||||
import classes from "./onboarding-studio.module.css";
|
||||
import { useOnboardingSounds } from "./use-onboarding-sounds";
|
||||
|
||||
interface OnboardingWordmarkProps {
|
||||
appName?: string;
|
||||
logoImageUrl?: string;
|
||||
showAppName?: boolean;
|
||||
showAppLogo?: boolean;
|
||||
primaryColor?: string;
|
||||
secondaryColor?: string;
|
||||
large?: boolean;
|
||||
}
|
||||
|
||||
const defaultWordmarkUrl = "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/homarr-wordmark-light.svg";
|
||||
|
||||
export const OnboardingWordmark = ({
|
||||
appName,
|
||||
logoImageUrl,
|
||||
showAppName,
|
||||
showAppLogo,
|
||||
primaryColor,
|
||||
secondaryColor,
|
||||
large = false,
|
||||
}: OnboardingWordmarkProps) => {
|
||||
const [celebrating, setCelebrating] = useState(false);
|
||||
const sounds = useOnboardingSounds();
|
||||
const className = `${classes.wordmark} ${classes.onboardingWordmark} ${large ? classes.welcomeWordmark : ""} ${celebrating ? classes.celebratingWordmark : ""}`;
|
||||
const colors = {
|
||||
"--homarr-wordmark-primary": primaryColor ?? "#F92424",
|
||||
"--homarr-wordmark-secondary": secondaryColor ?? "#FA5252",
|
||||
"--homarr-wordmark-foreground": "#FEFDFD",
|
||||
} as CSSProperties;
|
||||
|
||||
const celebrate = (logoElement: Element) => {
|
||||
sounds.hover();
|
||||
const logo = logoElement.getBoundingClientRect();
|
||||
const originY = (logo.top + logo.height / 2) / window.innerHeight;
|
||||
const confettiColors = primaryColor && secondaryColor ? [primaryColor, secondaryColor] : undefined;
|
||||
|
||||
if (!window.matchMedia("(prefers-reduced-motion: reduce)").matches) setCelebrating(true);
|
||||
for (const { angle, originX } of [
|
||||
{ angle: 165, originX: logo.left + logo.width * 0.12 },
|
||||
{ angle: 15, originX: logo.right - logo.width * 0.12 },
|
||||
]) {
|
||||
void confetti({
|
||||
particleCount: 28,
|
||||
angle,
|
||||
spread: 35,
|
||||
startVelocity: 14,
|
||||
gravity: 0.7,
|
||||
ticks: 90,
|
||||
scalar: 0.8,
|
||||
origin: { x: originX / window.innerWidth, y: originY },
|
||||
colors: confettiColors,
|
||||
disableForReducedMotion: true,
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
const hasVisibilityControls = showAppName !== undefined || showAppLogo !== undefined;
|
||||
const resolvedAppName = appName?.trim() || "Homarr";
|
||||
const shouldRenderDefaultWordmark = showAppLogo && showAppName && !logoImageUrl && resolvedAppName === "Homarr";
|
||||
|
||||
if (hasVisibilityControls && !shouldRenderDefaultWordmark) {
|
||||
const visibleLogoImageUrl = showAppLogo ? (logoImageUrl ?? "/logo/logo.png") : undefined;
|
||||
if (!visibleLogoImageUrl && !showAppName) return null;
|
||||
|
||||
return (
|
||||
<div className={classes.customBrand} data-large={large || undefined} aria-label={resolvedAppName}>
|
||||
{visibleLogoImageUrl ? (
|
||||
<img
|
||||
className={classes.customBrandImage}
|
||||
src={visibleLogoImageUrl}
|
||||
alt={showAppName ? "" : resolvedAppName}
|
||||
/>
|
||||
) : null}
|
||||
{showAppName ? <span>{resolvedAppName}</span> : null}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
if (primaryColor === undefined && secondaryColor === undefined) {
|
||||
return <img src={defaultWordmarkUrl} alt={resolvedAppName} width={1477} height={1054} className={className} />;
|
||||
}
|
||||
|
||||
return (
|
||||
<HomarrWordmarkLight
|
||||
role="img"
|
||||
aria-label={resolvedAppName}
|
||||
style={colors}
|
||||
className={className}
|
||||
onMouseEnter={(event) => celebrate(event.currentTarget)}
|
||||
onAnimationEnd={() => setCelebrating(false)}
|
||||
/>
|
||||
);
|
||||
};
|
||||
@@ -0,0 +1,106 @@
|
||||
"use client";
|
||||
|
||||
import type { ReactNode } from "react";
|
||||
import { useRef, useState } from "react";
|
||||
import { FloatingIndicator, Stack, TextInput, UnstyledButton } from "@mantine/core";
|
||||
|
||||
import type { UrlTemplateMode } from "@homarr/definitions";
|
||||
import { useI18n } from "@homarr/translation/client";
|
||||
|
||||
import { useOnboardingSounds } from "./use-onboarding-sounds";
|
||||
import classes from "./onboarding-studio.module.css";
|
||||
|
||||
interface FloatingControlProps<T extends string> {
|
||||
value: T;
|
||||
onChange: (value: T) => void;
|
||||
options: readonly { value: T; label: ReactNode }[];
|
||||
ariaLabel: string;
|
||||
}
|
||||
|
||||
export const OnboardingFloatingControl = <T extends string>({
|
||||
value,
|
||||
onChange,
|
||||
options,
|
||||
ariaLabel,
|
||||
}: FloatingControlProps<T>) => {
|
||||
const [rootRef, setRootRef] = useState<HTMLFieldSetElement | null>(null);
|
||||
const controlRefs = useRef<Record<string, HTMLButtonElement | null>>({});
|
||||
const sounds = useOnboardingSounds();
|
||||
|
||||
return (
|
||||
<div className={classes.floatingControlScroller}>
|
||||
<fieldset ref={setRootRef} className={classes.floatingControlRoot} aria-label={ariaLabel}>
|
||||
<FloatingIndicator
|
||||
target={controlRefs.current[value] ?? null}
|
||||
parent={rootRef}
|
||||
className={classes.floatingControlIndicator}
|
||||
/>
|
||||
{options.map((option) => {
|
||||
const selected = value === option.value;
|
||||
return (
|
||||
<UnstyledButton
|
||||
key={option.value}
|
||||
ref={(node) => {
|
||||
controlRefs.current[option.value] = node;
|
||||
}}
|
||||
type="button"
|
||||
className={classes.floatingControl}
|
||||
data-active={selected}
|
||||
aria-pressed={selected}
|
||||
onClick={() => {
|
||||
sounds.click();
|
||||
onChange(option.value);
|
||||
}}
|
||||
>
|
||||
{option.label}
|
||||
</UnstyledButton>
|
||||
);
|
||||
})}
|
||||
</fieldset>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
interface ServiceUrlTemplateProps {
|
||||
serverOrigin: string;
|
||||
onServerOriginChange: (value: string) => void;
|
||||
mode: UrlTemplateMode;
|
||||
onModeChange: (value: UrlTemplateMode) => void;
|
||||
readOnly?: boolean;
|
||||
required?: boolean;
|
||||
}
|
||||
|
||||
export const ServiceUrlTemplate = ({
|
||||
serverOrigin,
|
||||
onServerOriginChange,
|
||||
mode,
|
||||
onModeChange,
|
||||
readOnly,
|
||||
required,
|
||||
}: ServiceUrlTemplateProps) => {
|
||||
const t = useI18n("common.serviceUrlTemplate");
|
||||
|
||||
return (
|
||||
<Stack gap="sm">
|
||||
<TextInput
|
||||
label={t("serverTitle")}
|
||||
placeholder="home.lan · 192.168.1.10 · https://homarr.example.com"
|
||||
value={serverOrigin}
|
||||
onChange={(event) => onServerOriginChange(event.currentTarget.value)}
|
||||
readOnly={readOnly}
|
||||
required={required}
|
||||
withAsterisk={required}
|
||||
/>
|
||||
<OnboardingFloatingControl
|
||||
ariaLabel={t("urlModeLabel")}
|
||||
value={mode}
|
||||
onChange={onModeChange}
|
||||
options={[
|
||||
{ value: "hostPort", label: t("hostPort") },
|
||||
{ value: "subdomain", label: t("subdomain") },
|
||||
{ value: "path", label: t("path") },
|
||||
]}
|
||||
/>
|
||||
</Stack>
|
||||
);
|
||||
};
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,26 @@
|
||||
import type { ReactNode } from "react";
|
||||
|
||||
import type { OnboardingStep } from "@homarr/definitions";
|
||||
|
||||
export interface OnboardingEnvironment {
|
||||
version: string;
|
||||
currentStep: OnboardingStep;
|
||||
databaseDriver: "sqlite" | "postgresql";
|
||||
externalAuthEnabled: boolean;
|
||||
dockerConfigured: boolean;
|
||||
kubernetesConfigured: boolean;
|
||||
workshopApiUrl: string;
|
||||
workshopUrl: string;
|
||||
serverOrigin: string;
|
||||
mcpEndpoint: string;
|
||||
canConfigurePrivileged: boolean;
|
||||
hasUsers: boolean;
|
||||
initialBoard: { id: string; name: string; primaryColor: string; secondaryColor: string } | null;
|
||||
availableBoards: { id: string; name: string }[];
|
||||
}
|
||||
|
||||
export interface OnboardingStudioProps {
|
||||
environment: OnboardingEnvironment;
|
||||
sqliteRestore?: ReactNode;
|
||||
assistantConfiguration?: ReactNode;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
"use client";
|
||||
|
||||
import { useTiks } from "@rexa-developer/tiks/react";
|
||||
import { defineTheme } from "@rexa-developer/tiks";
|
||||
|
||||
const welcomeTheme = defineTheme({
|
||||
name: "homarr-welcome",
|
||||
baseFreq: 360,
|
||||
attack: 0.01,
|
||||
decay: 2.2,
|
||||
});
|
||||
|
||||
export const useOnboardingSounds = () =>
|
||||
useTiks({
|
||||
theme: "soft",
|
||||
volume: 0.12,
|
||||
respectReducedMotion: true,
|
||||
});
|
||||
|
||||
export const useWelcomeSound = () =>
|
||||
useTiks({
|
||||
theme: welcomeTheme,
|
||||
volume: 0.08,
|
||||
respectReducedMotion: true,
|
||||
});
|
||||
@@ -0,0 +1,164 @@
|
||||
"use client";
|
||||
|
||||
import { useRef, useState } from "react";
|
||||
import { Alert, Button, Group, Paper, Stack, Text, ThemeIcon, Title } from "@mantine/core";
|
||||
import { IconArrowRight, IconDatabaseImport } from "@tabler/icons-react";
|
||||
|
||||
import { clientApi } from "@homarr/api/client";
|
||||
import { revalidatePathActionAsync } from "@homarr/common/client";
|
||||
import { showErrorNotification } from "@homarr/notifications";
|
||||
import { useI18n } from "@homarr/translation/client";
|
||||
|
||||
import { OnboardingBackdrop } from "./onboarding-backdrop";
|
||||
import { OnboardingWordmark } from "./onboarding-wordmark";
|
||||
import type { OnboardingStudioProps } from "./types";
|
||||
import { useOnboardingSounds, useWelcomeSound } from "./use-onboarding-sounds";
|
||||
import classes from "./onboarding-studio.module.css";
|
||||
|
||||
export const Welcome = ({ environment, sqliteRestore }: OnboardingStudioProps) => {
|
||||
const t = useI18n("init.studio.welcome");
|
||||
const claimT = useI18n("init.studio.claim");
|
||||
const [showRestore, setShowRestore] = useState(false);
|
||||
const [claimPending, setClaimPending] = useState(false);
|
||||
const [claimError, setClaimError] = useState<string | null>(null);
|
||||
const sounds = useOnboardingSounds();
|
||||
const welcomeSound = useWelcomeSound();
|
||||
const welcomeSoundPlayed = useRef(false);
|
||||
const start = clientApi.onboard.nextStep.useMutation({
|
||||
async onSuccess() {
|
||||
sounds.swoosh();
|
||||
await revalidatePathActionAsync("/init");
|
||||
},
|
||||
onError() {
|
||||
sounds.error();
|
||||
showErrorNotification({ title: t("errorTitle"), message: t("errorDescription") });
|
||||
},
|
||||
});
|
||||
|
||||
const getClaimError = (code: unknown) => {
|
||||
switch (code) {
|
||||
case "finished":
|
||||
case "unavailable":
|
||||
case "cross_site":
|
||||
return claimT("errorDescription");
|
||||
case "administrator_required":
|
||||
return claimT("signInDescription");
|
||||
case "locked":
|
||||
return claimT("lockedDescription");
|
||||
default:
|
||||
return t("errorDescription");
|
||||
}
|
||||
};
|
||||
|
||||
const claimOnboardingAsync = async () => {
|
||||
setClaimPending(true);
|
||||
setClaimError(null);
|
||||
try {
|
||||
const response = await fetch("/api/onboarding/claim", { method: "POST" });
|
||||
if (!response.ok) {
|
||||
const body = (await response.json().catch(() => null)) as { code?: unknown } | null;
|
||||
throw new Error(getClaimError(body?.code));
|
||||
}
|
||||
return true;
|
||||
} catch (error) {
|
||||
sounds.error();
|
||||
setClaimError(error instanceof Error ? error.message : t("errorTitle"));
|
||||
return false;
|
||||
} finally {
|
||||
setClaimPending(false);
|
||||
}
|
||||
};
|
||||
|
||||
const startOnboardingAsync = async () => {
|
||||
if (!welcomeSoundPlayed.current) {
|
||||
welcomeSoundPlayed.current = true;
|
||||
welcomeSound.notify();
|
||||
} else sounds.click();
|
||||
if (await claimOnboardingAsync()) await start.mutateAsync();
|
||||
};
|
||||
|
||||
const toggleRestoreAsync = async () => {
|
||||
const playedWelcomeSound = !welcomeSoundPlayed.current;
|
||||
if (playedWelcomeSound) {
|
||||
welcomeSoundPlayed.current = true;
|
||||
welcomeSound.notify();
|
||||
}
|
||||
if (showRestore) {
|
||||
if (!playedWelcomeSound) sounds.toggle(false);
|
||||
setShowRestore(false);
|
||||
return;
|
||||
}
|
||||
if (await claimOnboardingAsync()) {
|
||||
if (!playedWelcomeSound) sounds.toggle(true);
|
||||
setShowRestore(true);
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<main className={classes.page}>
|
||||
<OnboardingBackdrop />
|
||||
<div className={classes.shell}>
|
||||
<section className={classes.hero} aria-labelledby="onboarding-welcome-title">
|
||||
<Stack gap="xl" align="center">
|
||||
<OnboardingWordmark large />
|
||||
<Stack gap="sm" align="center">
|
||||
<Title id="onboarding-welcome-title" className={classes.heroTitle} ta="center">
|
||||
{t("title")}
|
||||
</Title>
|
||||
<Text size="lg" c="dimmed" maw="38rem" ta="center">
|
||||
{t("description", { version: environment.version })}
|
||||
</Text>
|
||||
</Stack>
|
||||
|
||||
<Group className={classes.primaryActions} gap="sm">
|
||||
<Button
|
||||
size="lg"
|
||||
rightSection={<IconArrowRight size={18} />}
|
||||
loading={start.isPending || claimPending}
|
||||
onClick={() => void startOnboardingAsync()}
|
||||
>
|
||||
{t("start")}
|
||||
</Button>
|
||||
{environment.databaseDriver === "sqlite" && sqliteRestore ? (
|
||||
<Button
|
||||
size="lg"
|
||||
variant="default"
|
||||
leftSection={<IconDatabaseImport size={18} />}
|
||||
onClick={() => void toggleRestoreAsync()}
|
||||
loading={claimPending}
|
||||
aria-expanded={showRestore}
|
||||
aria-controls="sqlite-restore-flow"
|
||||
>
|
||||
{t("restore")}
|
||||
</Button>
|
||||
) : null}
|
||||
</Group>
|
||||
|
||||
{showRestore && sqliteRestore ? (
|
||||
<Paper id="sqlite-restore-flow" withBorder p="lg" radius="lg" w="100%" maw="56rem">
|
||||
<Stack>
|
||||
<Group gap="xs">
|
||||
<ThemeIcon variant="light" color="orange">
|
||||
<IconDatabaseImport size={18} />
|
||||
</ThemeIcon>
|
||||
<Text fw={650}>{t("restoreTitle")}</Text>
|
||||
</Group>
|
||||
<Text size="sm" c="dimmed">
|
||||
{t("restoreDescription")}
|
||||
</Text>
|
||||
{sqliteRestore}
|
||||
</Stack>
|
||||
</Paper>
|
||||
) : null}
|
||||
|
||||
{claimError || start.error ? (
|
||||
<Alert color="red" title={t("errorTitle")} maw="38rem">
|
||||
{claimError ?? t("errorDescription")}
|
||||
</Alert>
|
||||
) : null}
|
||||
</Stack>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user