mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-12 06:55:19 +00:00
feat(organization): add logo support for organizations
This commit is contained in:
@@ -1,8 +1,20 @@
|
||||
interface Props {
|
||||
className?: string;
|
||||
logoUrl?: string;
|
||||
}
|
||||
|
||||
export const Logo = ({ className = "size-14" }: Props) => {
|
||||
export const Logo = ({ className = "size-14", logoUrl }: Props) => {
|
||||
if (logoUrl) {
|
||||
return (
|
||||
<img
|
||||
src={logoUrl}
|
||||
alt="Organization Logo"
|
||||
className={className}
|
||||
style={{ objectFit: "contain" }}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
|
||||
Reference in New Issue
Block a user