/**
* Chrome every detected-event card is built from: the card box with its meta
* row on top, and the team boxes / player tables the richer cards fill in.
*/
import clsx from "clsx";
import type * as React from "react";
import { WeaponImage } from "~/components/Image";
import type { MainWeaponId } from "~/modules/in-game-lists/types";
import styles from "./EventCardShell.module.css";
export function EventCardShell({ children }: { children: React.ReactNode }) {
return
{children}
;
}
/** top row of a card: the event pills, a summary line and the frame thumb */
export function EventCardMeta({ children }: { children: React.ReactNode }) {
return {children}
;
}
export function EventCardTeams({
layout,
children,
}: {
/** `solo` hugs a single box, `death` gives one full width box */
layout?: "solo" | "death";
children: React.ReactNode;
}) {
return (
{children}
);
}
export function EventCardTeam({
result,
children,
}: {
result?: "win" | "lose";
children: React.ReactNode;
}) {
return (
{children}
);
}
export function EventCardPlayerTable({
children,
}: {
children: React.ReactNode;
}) {
return (
);
}
export function EventCardNumberCell({
children,
}: {
children: React.ReactNode;
}) {
return {children} | ;
}
export function EventCardWeaponCell({
children,
}: {
children: React.ReactNode;
}) {
return {children};
}
export function EventCardWeaponIcon({
weaponSplId,
}: {
weaponSplId: MainWeaponId;
}) {
return (
);
}