MCPcopy Index your code
hub / github.com/AnswerOverflow/AnswerOverflow / ServerInviteTitle

Function ServerInviteTitle

packages/ui/src/server-invite.tsx:33–50  ·  view source on GitHub ↗
(
	props: Pick<ServerInviteProps, 'server' | 'channel' | 'location'>,
)

Source from the content-addressed store, hash-verified

31};
32
33export const ServerInviteTitle = (
34 props: Pick<ServerInviteProps, 'server' | 'channel' | 'location'>,
35) => {
36 return (
37 <TrackLink
38 href={getServerHomepageUrl(props.server)}
39 eventName={'Community Page Link Click'}
40 eventData={{
41 'Link Location': props.location,
42 ...serverToAnalyticsData(props.server),
43 ...(props.channel && channelToAnalyticsData(props.channel)),
44 }}
45 className="text-left font-header text-lg font-bold hover:text-primary/75 hover:underline"
46 >
47 {props.server.name}
48 </TrackLink>
49 );
50};
51
52export const ChannelIcon = ({
53 channelType,

Callers

nothing calls this directly

Calls 3

getServerHomepageUrlFunction · 0.90
serverToAnalyticsDataFunction · 0.90
channelToAnalyticsDataFunction · 0.90

Tested by

no test coverage detected