MCPcopy Create free account
hub / github.com/dailydotdev/apps / HeaderLogo

Function HeaderLogo

packages/shared/src/components/layout/HeaderLogo.tsx:18–41  ·  view source on GitHub ↗
({
  onLogoClick,
  position,
  compact = false,
  className,
  isRecruiter = false,
  href,
}: HeaderLogoProps)

Source from the content-addressed store, hash-verified

16}
17
18function HeaderLogo({
19 onLogoClick,
20 position,
21 compact = false,
22 className,
23 isRecruiter = false,
24 href,
25}: HeaderLogoProps): ReactElement {
26 const featureTheme = useFeatureTheme();
27 const { user } = useAuthContext();
28
29 return (
30 <Logo
31 compact={compact}
32 position={position}
33 onLogoClick={onLogoClick}
34 featureTheme={featureTheme}
35 isPlus={user?.isPlus}
36 className={className}
37 isRecruiter={isRecruiter}
38 href={href}
39 />
40 );
41}
42
43export default withNoSSR(HeaderLogo);

Callers

nothing calls this directly

Calls 2

useFeatureThemeFunction · 0.90
useAuthContextFunction · 0.90

Tested by

no test coverage detected