diff --git a/src/shared/components/logo-icon.tsx b/src/shared/components/logo-icon.tsx new file mode 100644 index 0000000..d57c0db --- /dev/null +++ b/src/shared/components/logo-icon.tsx @@ -0,0 +1,18 @@ +import type { SVGProps } from "react"; + +export function LogoIcon(props: SVGProps) { + return ( + + + + ); +} diff --git a/src/shared/components/logo-text.tsx b/src/shared/components/logo-text.tsx new file mode 100644 index 0000000..77c6cbf --- /dev/null +++ b/src/shared/components/logo-text.tsx @@ -0,0 +1,18 @@ +import type { SVGProps } from "react"; + +export function LogoText(props: SVGProps) { + return ( + + + + ); +} diff --git a/src/shared/components/logo.tsx b/src/shared/components/logo.tsx index 4e53a18..d807d2f 100644 --- a/src/shared/components/logo.tsx +++ b/src/shared/components/logo.tsx @@ -1,4 +1,5 @@ -import Image from "next/image"; +import { LogoIcon } from "@/shared/components/logo-icon"; +import { LogoText } from "@/shared/components/logo-text"; import { cn } from "@/shared/utils/ui"; interface LogoProps { @@ -27,75 +28,39 @@ export function Logo({ if (variant === "compact") { return (
-
- OpenMonetis -
-
- OpenMonetis -
+ +
); } if (variant === "small") { - return ( -
- OpenMonetis -
- ); + return ; } return (
-
- OpenMonetis -
-
- OpenMonetis -
+ +
); }