/** @jsx jsx */ import { AppBar, Button, Card, CardContent, Container, Input, Tab, Tabs, Typography } from "@material-ui/core" import { useState } from "react" import { Box, Flex, jsx } from "theme-ui" import Dropzone from "../src/components/Dropzone" import { TabPanel } from "../src/components/TabPanel" const Index = () => { const [value, setValue] = useState(1) const [linkfileUrl, setInput] = useState("") const handleChange = (event, newValue) => { setValue(newValue) } const directView = () => { if (window) { var win = window.open(`/direct/${linkfileUrl}`, "_blank") win.focus() } } return ( <> Sia Skynet About Sia Download a file by pasting in a Sia linkfile below: setInput(e.target.value)} sx={{ width: "100%" }} /> Download > ) } export default Index
Download a file by pasting in a Sia linkfile below: