@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 39 lines 909 Bytes
Raw
1 ---
2 import Yantra from "../../brand/Yantra.astro";
3
4 interface Props {
5 size?: number;
6 }
7 const { size = 22 } = Astro.props;
8 // The yantra reads best when sized roughly to the cap-height of the
9 // accompanying wordmark — slightly larger than the old solid dot so the
10 // inner triangle stays legible.
11 const markSize = Math.round(size * 0.95);
12 ---
13
14 <span class="alc-logo">
15 <Yantra class="alc-logo__mark" size={markSize} />
16 <span class="alc-logo__word" style={`font-size:${size}px;`}>Alchemy</span>
17 </span>
18
19 <style>
20 .alc-logo {
21 display: inline-flex;
22 align-items: center;
23 gap: 8px;
24 }
25 .alc-logo__mark {
26 display: inline-flex;
27 align-items: center;
28 }
29 .alc-logo__mark :global(svg) {
30 display: block;
31 }
32 .alc-logo__word {
33 font-family: var(--alc-font-serif);
34 font-style: italic;
35 font-weight: 500;
36 color: var(--alc-fg-1);
37 letter-spacing: -0.01em;
38 }
39 </style>