docs/components/Logo.tsx

26 lines
778 B
TypeScript
Raw Permalink Normal View History

import clsx from "clsx";
2024-07-22 11:49:47 +02:00
import type { ComponentPropsWithoutRef } from "react";
// Uncomment this on dev branches
// import { Badge } from "./Metadata";
2024-07-22 11:49:47 +02:00
export function Logo(props: ComponentPropsWithoutRef<"div">) {
2024-07-22 11:49:47 +02:00
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>
2024-07-22 11:49:47 +02:00
);
}