import { useBackend } from '../backend'; import { Box, Icon, LabeledList, ProgressBar, Section } from '../components'; import { Window } from '../layouts'; import { FullscreenNotice } from './common/FullscreenNotice'; export const AiSupermatter = (props, context) => { const { data } = useBackend(context); const { integrity_percentage, ambient_temp, ambient_pressure, detonating } = data; let body = ; if (detonating) { body = ; } return ( {body} ); }; const AiSupermatterDetonation = (props, context) => ( CRYSTAL DELAMINATING Evacuate area immediately ); const AiSupermatterContent = (props, context) => { const { data } = useBackend(context); const { integrity_percentage, ambient_temp, ambient_pressure } = data; return (
{ambient_temp} K {ambient_pressure} kPa
); };