@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
astro 29 lines 558 Bytes
Raw
1 ---
2 /**
3 * Official provider brand mark, sourced from the same simple-icons set
4 * the docs tab bar uses (see docs-icons.ts). Renders nothing for
5 * unknown names. Theme-adaptive via currentColor.
6 */
7 import { TAB_ICONS } from "../../docs-icons";
8
9 interface Props {
10 name: string;
11 size?: number;
12 }
13
14 const { name, size = 20 } = Astro.props;
15 const body = TAB_ICONS[name];
16 ---
17
18 {
19 body && (
20 <svg
21 class="alc-provider-mark"
22 aria-hidden="true"
23 width={size}
24 height={size}
25 viewBox="0 0 24 24"
26 set:html={body}
27 />
28 )
29 }