From c0c6768cbb923ff520c0eeaa8abef77d445d29a5 Mon Sep 17 00:00:00 2001 From: Sander Vocke Date: Mon, 14 Sep 2020 16:15:54 +0200 Subject: [PATCH] Remove mock-up. --- client/src/App.tsx | 4 - client/src/components/Mockup.tsx | 149 ------------------------------- 2 files changed, 153 deletions(-) delete mode 100644 client/src/components/Mockup.tsx diff --git a/client/src/App.tsx b/client/src/App.tsx index bbe4c9c..53a1c55 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -8,7 +8,6 @@ import { Switch, Route } from "react-router-dom"; -import Mockup from './components/Mockup'; import Window from './components/Window'; function App() { @@ -16,9 +15,6 @@ function App() { - - - diff --git a/client/src/components/Mockup.tsx b/client/src/components/Mockup.tsx deleted file mode 100644 index 3d71382..0000000 --- a/client/src/components/Mockup.tsx +++ /dev/null @@ -1,149 +0,0 @@ -import React from 'react'; -import { makeStyles, createMuiTheme, ThemeProvider } from '@material-ui/core/styles'; -import Table from '@material-ui/core/Table'; -import TableBody from '@material-ui/core/TableBody'; -import TableCell from '@material-ui/core/TableCell'; -import TableContainer from '@material-ui/core/TableContainer'; -import TableHead from '@material-ui/core/TableHead'; -import TableRow from '@material-ui/core/TableRow'; -import Paper from '@material-ui/core/Paper'; -import Box from '@material-ui/core/Box'; -import SearchIcon from '@material-ui/icons/Search'; -import { IconButton, Typography, Chip, Link, AppBar, CssBaseline } from '@material-ui/core'; - -export function MockTable() { - - const rows = [ - ['No One Knows', "Queens of the Stone Age", "Blabla", "Tag"], - ['Ice cream sandwich', "My man", "What?", 37], - ['Eclair', "George Baker", "Bakeroo", 24], - ['Cupcake', "The Sweetie Pies", "Bla", "Bloo"], - ['Gingerbread', "Is ahead", "But you'll get", "Vury fet"], - ]; - - const useTableStyles = makeStyles({ - table: { - minWidth: 650, - }, - }); - const classes = useTableStyles(); - - return ( - - - - - Title - Artist - Album - Tags - - - - {rows.map((row) => ( - - {row[0]} - {row[1]} - {row[2]} - {row[3]} - - ))} - -
-
- ); -} - -export function QueryContainer(props: any) { - return - {props.children} - -} - -export function QueryElem(props: any) { - return <> - - -} - -export function QueryBar() { - return - - - - - - - - - - - - By Queens of the Stone Age - - - - - Released before 2020 - - - - - - - - Or - - - - - Genre: "Awesome" - - - - -} - -function MockupBody() { - return <> - - - error - - - - - {/* */} - - {/* */} - - - - - - - - -} - - -const darkTheme = createMuiTheme({ - palette: { - type: 'dark' - }, -}); - -export default function Mockup() { - return <> - - - - - -} \ No newline at end of file