docs/components/Logo.tsx
2024-08-28 00:09:17 +02:00

24 lines
661 B
TypeScript

import clsx from "clsx";
import type { ComponentPropsWithoutRef } from "react";
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-sm"
/>
<span className="fill-zinc-900 dark:fill-white font-semibold text-lg">
Versia Protocol
</span>
</div>
);
}