docs/components/Logo.tsx
Jesse Wierzbinski dac5d26e0e
Some checks failed
Mirror to Codeberg / Mirror (push) Failing after 0s
Merge branch 'main' into feat/v0.6
2025-05-14 18:29:03 +02:00

26 lines
767 B
TypeScript

import clsx from "clsx";
import type { ComponentPropsWithoutRef } from "react";
// Uncomment this on dev branches
import { Badge } from "./Metadata";
export function Logo(props: ComponentPropsWithoutRef<"div">) {
return (
<div
{...props}
className={clsx(
"flex flex-row gap-x-2 items-center",
props.className,
)}
>
<img
src="https://cdn.versia.pub/branding/icon.svg"
alt="Logo"
className="h-full rounded-xs"
/>
<span className="fill-zinc-900 dark:fill-white font-semibold text-lg">
Versia Protocol <Badge className="h-6!">Dev</Badge>
</span>
</div>
);
}