import { Alert, Button, Col, Container, Jumbotron, Row, } from '../components/Bootstrap'; import { JSONMessage } from '../helpers/web-socket'; function handleDrop (e) { e.preventDefault(); e.stopPropagation(); const draggedFiles = []; for (const f of e.dataTransfer.files) { draggedFiles.push(f.path); } window.clientWS.send(JSONMessage('dropped-files', draggedFiles)); } function handleDragOver (e) { e.preventDefault(); e.stopPropagation(); } function showOpenDialog () { window.clientWS.send(JSONMessage('show-open-dialog', {})); } function showSaveDialog () { window.clientWS.send(JSONMessage('show-save-dialog', {})); } function showErrorDialog () { window.clientWS.send(JSONMessage( 'show-error-box', 'Looks like there was a problem. (╥﹏╥) \n (╯°□°)╯︵ ┻━┻' )); } export const HomeView = (props) => { return (
This is a work in progress

Welcome to Film Exif

Drop files here.

); };