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

Function ViewServerAbout

packages/ui/src/server-card.tsx:75–93  ·  view source on GitHub ↗
({ server }: Pick<ServerCardProps, 'server'>)

Source from the content-addressed store, hash-verified

73};
74
75const ViewServerAbout = ({ server }: Pick<ServerCardProps, 'server'>) => {
76 return (
77 <div className="flex w-full flex-col gap-4">
78 <div className="flex w-full flex-row items-center justify-between gap-2">
79 <ServerTitle server={server} />
80 <LinkButton
81 className="ml-4"
82 href={getServerHomepageUrl(server)}
83 variant={'default'}
84 >
85 View
86 </LinkButton>
87 </div>
88 <span className="text-sm text-neutral-600 dark:text-neutral-400">
89 {getServerDescription(server)}
90 </span>
91 </div>
92 );
93};
94
95export const ViewServerCard = (props: ServerCardProps) => {
96 return (

Callers

nothing calls this directly

Calls 2

getServerHomepageUrlFunction · 0.90
getServerDescriptionFunction · 0.90

Tested by

no test coverage detected