import Constants from "expo-constants"; import { Image } from "expo-image"; import { View } from "react-native"; import { AppText as Text } from "./AppText"; const appVariant = Constants.expoConfig?.extra?.appVariant; const BRAND_MARK_SOURCE = appVariant === "development" ? require("../../../../assets/dev/blueprint-ios-1024.png") : appVariant === "preview" ? require("../../../../assets/nightly/nightly-ios-1024.png") : require("../../../../assets/prod/black-ios-1024.png"); const DEFAULT_STAGE_LABEL = appVariant === "development" ? "Dev" : appVariant === "preview" ? "Preview" : "Alpha"; export function BrandMark(props: { readonly compact?: boolean; readonly stageLabel?: string }) { const compact = props.compact ?? false; const iconSize = compact ? 32 : 44; const stageLabel = props.stageLabel ?? DEFAULT_STAGE_LABEL; return ( T3 Code {stageLabel} {!compact ? ( Mobile control surface for your live coding environments ) : null} ); }