mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2024-11-18 04:56:18 +00:00
⚡️ feat: create logo component
This commit is contained in:
parent
33fbdf60ae
commit
aa4094669d
22
packages/frontend/src/components/Logo.tsx
Normal file
22
packages/frontend/src/components/Logo.tsx
Normal file
@ -0,0 +1,22 @@
|
||||
import React from 'react';
|
||||
import { Link } from 'react-router-dom';
|
||||
import { Heading } from './shared/Heading';
|
||||
|
||||
interface LogoProps {
|
||||
orgSlug?: string;
|
||||
}
|
||||
|
||||
export const Logo = ({ orgSlug }: LogoProps) => {
|
||||
return (
|
||||
<Link to={`/${orgSlug}`}>
|
||||
<div className="flex items-center gap-3 px-0 lg:px-2">
|
||||
<img
|
||||
src="/logo.svg"
|
||||
alt="Snowball Logo"
|
||||
className="h-10 w-10 rounded-lg"
|
||||
/>
|
||||
<Heading className="text-[24px] font-semibold">Snowball</Heading>
|
||||
</div>
|
||||
</Link>
|
||||
);
|
||||
};
|
Loading…
Reference in New Issue
Block a user