mirror of
https://github.com/makeplane/plane.git
synced 2025-12-25 08:09:33 +01:00
* refactor: edition specific migration * revert: pagination from space endpoints * fix: project publish --------- Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
21 lines
658 B
TypeScript
21 lines
658 B
TypeScript
"use client";
|
|
import Image from "next/image";
|
|
import { useTheme } from "next-themes";
|
|
// assets
|
|
import LogoSpinnerDark from "@/public/images/logo-spinner-dark.gif";
|
|
import LogoSpinnerLight from "@/public/images/logo-spinner-light.gif";
|
|
|
|
export const LogoSpinner = () => {
|
|
const { resolvedTheme } = useTheme();
|
|
|
|
const logoSrc = resolvedTheme === "dark" ? LogoSpinnerDark : LogoSpinnerLight;
|
|
|
|
return (
|
|
<div className="h-screen w-full flex min-h-[600px] justify-center items-center">
|
|
<div className="flex items-center justify-center">
|
|
<Image src={logoSrc} alt="logo" className="w-[82px] h-[82px] mr-2" />
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|