mirror of
https://github.com/makeplane/plane.git
synced 2026-06-14 03:30:00 +00:00
4e357c4ad0
* chore: update next images with html default images * chore: sync related changes * Update apps/admin/core/components/instance/failure.tsx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update apps/space/app/not-found.tsx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update apps/space/core/components/issues/issue-layouts/error.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update apps/space/core/components/ui/not-found.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * chore: replace classname styles in space * fix: copoilot suggestions * fix: copilot suggestions * chore: format files --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
17 lines
524 B
TypeScript
17 lines
524 B
TypeScript
import { useTheme } from "next-themes";
|
|
// assets
|
|
import LogoSpinnerDark from "@/app/assets/images/logo-spinner-dark.gif?url";
|
|
import LogoSpinnerLight from "@/app/assets/images/logo-spinner-light.gif?url";
|
|
|
|
export const InstanceLoading = () => {
|
|
const { resolvedTheme } = useTheme();
|
|
|
|
const logoSrc = resolvedTheme === "dark" ? LogoSpinnerLight : LogoSpinnerDark;
|
|
|
|
return (
|
|
<div className="flex items-center justify-center">
|
|
<img src={logoSrc} alt="logo" className="h-6 w-auto sm:h-11" />
|
|
</div>
|
|
);
|
|
};
|