Open History to see the last commit
1import { Image, View } from "react-native";
2
3import { AppText as Text } from "./AppText";
4
5const BRAND_MARK_SOURCE = require("../../../../assets/dev/blueprint-ios-1024.png");
6
7export function BrandMark(props: { readonly compact?: boolean; readonly stageLabel?: string }) {
8 const compact = props.compact ?? false;
9 const iconSize = compact ? 32 : 44;
10 const stageLabel = props.stageLabel ?? "Alpha";
11
12 return (
13 <View className="flex-row items-center gap-3">
14 <Image
15 source={BRAND_MARK_SOURCE}
16 accessibilityIgnoresInvertColors
17 style={{
18 width: iconSize,
19 height: iconSize,
20 borderRadius: compact ? 10 : 14,
21 }}
22 />
23 <View className="gap-1">
24 <View className="flex-row items-center gap-2">
25 <Text className="text-lg font-t3-bold text-foreground" style={{ letterSpacing: -0.4 }}>
26 T3 Code
27 </Text>
28 <View className="rounded-full bg-subtle px-2 py-1">
29 <Text
30 className="text-3xs font-t3-bold uppercase text-foreground-muted"
31 style={{ letterSpacing: 1.1 }}
32 >
33 {stageLabel}
34 </Text>
35 </View>
36 </View>
37 {!compact ? (
38 <Text className="text-xs font-medium text-foreground-muted">
39 Mobile control surface for your live coding environments
40 </Text>
41 ) : null}
42 </View>
43 </View>
44 );
45}