Extract admin dashboard from ghabilee-frontend2 into a dedicated Next.js app for backoffice.ghabilee.ir (no SEO indexing / Clarity).
19 lines
391 B
TypeScript
19 lines
391 B
TypeScript
import Link from 'next/link'
|
|
|
|
interface SidebarLogoProps {
|
|
iconSize?: number
|
|
disableClick?: boolean
|
|
}
|
|
|
|
const SidebarLogo = ({ iconSize = 180, disableClick = false }: SidebarLogoProps) => {
|
|
return (
|
|
<Link
|
|
className="flex items-center gap-2 cursor-pointer"
|
|
href={disableClick ? '#' : `/`}
|
|
style={{ width: `${iconSize}px` }}
|
|
/>
|
|
)
|
|
}
|
|
|
|
export default SidebarLogo
|