mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 12:03:17 +00:00
35 lines
785 B
TypeScript
35 lines
785 B
TypeScript
import Image from "next/image";
|
|
import { ZitadelLogoDark } from "./ZitadelLogoDark";
|
|
import { ZitadelLogoLight } from "./ZitadelLogoLight";
|
|
type Props = {
|
|
height?: number;
|
|
width?: number;
|
|
};
|
|
|
|
export function ZitadelLogo({ height = 40, width = 147.5 }: Props) {
|
|
return (
|
|
<>
|
|
<div className="hidden dark:flex">
|
|
{/* <ZitadelLogoLight /> */}
|
|
|
|
<Image
|
|
height={height}
|
|
width={width}
|
|
src="/zitadel-logo-light.svg"
|
|
alt="zitadel logo"
|
|
priority={true}
|
|
/>
|
|
</div>
|
|
<div className="flex dark:hidden">
|
|
<Image
|
|
height={height}
|
|
width={width}
|
|
priority={true}
|
|
src="/zitadel-logo-dark.svg"
|
|
alt="zitadel logo"
|
|
/>
|
|
</div>
|
|
</>
|
|
);
|
|
}
|