mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-16 21:23:20 +00:00
35 lines
859 B
JavaScript
35 lines
859 B
JavaScript
import { Fragment } from 'inferno';
|
|
import { useBackend } from '../backend';
|
|
import { ByondUi } from '../components';
|
|
import { Window } from '../layouts';
|
|
|
|
export const StationBlueprints = (props, context) => {
|
|
return (
|
|
<Window width={870} height={708} resizable>
|
|
<StationBlueprintsContent />
|
|
</Window>
|
|
);
|
|
};
|
|
|
|
export const StationBlueprintsContent = (props, context) => {
|
|
const { act, data, config } = useBackend(context);
|
|
|
|
const { mapRef, areas, turfs } = data;
|
|
return (
|
|
<Fragment>
|
|
<div className="CameraConsole__left">
|
|
<Window.Content scrollable>Honk!</Window.Content>
|
|
</div>
|
|
<div className="CameraConsole__right">
|
|
<ByondUi
|
|
className="CameraConsole__map"
|
|
params={{
|
|
id: mapRef,
|
|
type: 'map',
|
|
}}
|
|
/>
|
|
</div>
|
|
</Fragment>
|
|
);
|
|
};
|