+
+
+ {title}
+ {!empty && (
+
+ {
+ // A plain press opens the list here; a modifier or middle
+ // press keeps the board page's link.
+ if (
+ event.button !== 0 ||
+ event.metaKey ||
+ event.ctrlKey ||
+ event.shiftKey ||
+ event.altKey
+ ) {
+ return;
+ }
+ event.preventDefault();
+ openList();
+ }}
+ >
+ {listLabel}
+
+
+ )}
+
+ {empty ? (
+
+ ) : (
+
+ {topRows}
+ {you && (
+ <>
+
+ {you}
+ >
+ )}
+
+ )}
+
+ {isPopover && (
+ <>
+ {/* eslint-disable-next-line jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events */}
+
+
+
+
+ {title}
+
+ {listLabel}
+
+
+ }
+ aria-label="Close"
+ autoFocus
+ onClick={close}
+ />
+
+
+ {allRows}
+
+ {you && (
+
+ {you}
+
+ )}
+
+ >
+ )}
+ {isPhone && (
+
+ setOpen(false)}
+ title={sheetTitle}
+ className={{ drawer: 'py-1' }}
+ >
+
+ {allRows}
+
+ {you && (
+
+ {you}
+
+ )}
+
+
+ )}
+
+ );
+}
diff --git a/packages/shared/src/features/leaderboard/LeaderboardCompanyTile.tsx b/packages/shared/src/features/leaderboard/LeaderboardCompanyTile.tsx
new file mode 100644
index 0000000000..a0b8ed9a7e
--- /dev/null
+++ b/packages/shared/src/features/leaderboard/LeaderboardCompanyTile.tsx
@@ -0,0 +1,61 @@
+import type { ReactElement } from 'react';
+import React from 'react';
+import {
+ ProfileImageSize,
+ ProfilePicture,
+} from '../../components/ProfilePicture';
+import { useAuthContext } from '../../contexts/AuthContext';
+import type { CompanyLeaderboard } from '../../graphql/leaderboard';
+import {
+ LeaderboardType,
+ leaderboardTypeToTitle,
+} from '../../graphql/leaderboard';
+import { formatLeaderboardScore, LEADERBOARD_TILE_ROWS } from './boards';
+import { LeaderboardBoardTile } from './LeaderboardBoardTile';
+import { LeaderboardMiniRow } from './LeaderboardRows';
+
+interface LeaderboardCompanyTileProps {
+ items: CompanyLeaderboard[];
+}
+
+/**
+ * Most verified employees: companies only, so there is no row for you. Your
+ * verified company is lit wherever it is on the board, and pinned under the
+ * top rows when it is further down.
+ */
+export const LeaderboardCompanyTile = ({
+ items,
+}: LeaderboardCompanyTileProps): ReactElement => {
+ const { user } = useAuthContext();
+ const mine = items.findIndex((item) =>
+ user?.companies?.some((company) => company.name === item.company.name),
+ );
+ const row = (item: CompanyLeaderboard, rank: number) => (
+