diff --git a/sports-matcher/src/App.js b/sports-matcher/src/App.js index 6e0a8e0..7ced89c 100644 --- a/sports-matcher/src/App.js +++ b/sports-matcher/src/App.js @@ -1,13 +1,14 @@ import './App.css'; -import MatchInfo from './matchinfo'; -import { Stack, Typography } from '@mui/material'; -import SuggestedMatches from './SuggestedMatches'; +import Filter from './Filter'; +import MatchesList from './MatchesList'; +import ReportForm from "./ReportForm"; +import SearchBar from './SearchBar'; function App() { return (
- +
); diff --git a/sports-matcher/src/SuggestedMatches.js b/sports-matcher/src/CardSuggestedMatches.js similarity index 91% rename from sports-matcher/src/SuggestedMatches.js rename to sports-matcher/src/CardSuggestedMatches.js index dde7f3e..fceb9f1 100644 --- a/sports-matcher/src/SuggestedMatches.js +++ b/sports-matcher/src/CardSuggestedMatches.js @@ -1,7 +1,7 @@ import { Stack, Typography } from "@mui/material"; import MatchInfo from "./matchinfo"; -export default function SuggestedMatches() { +export default function CardSuggestedMatches() { return (
diff --git a/sports-matcher/src/Filter.js b/sports-matcher/src/Filter.js new file mode 100644 index 0000000..2ef2795 --- /dev/null +++ b/sports-matcher/src/Filter.js @@ -0,0 +1,65 @@ +import { InputLabel, MenuItem, Select, TextField, FormControl } from "@mui/material"; + +export default function Filter() { + return ( +
+ + Sport + + + + Level + + + + Level + + + + + + + + + + + + + + + + + +
+ ); +} \ No newline at end of file diff --git a/sports-matcher/src/ListSuggestedMatch.js b/sports-matcher/src/ListSuggestedMatch.js new file mode 100644 index 0000000..ba465cb --- /dev/null +++ b/sports-matcher/src/ListSuggestedMatch.js @@ -0,0 +1,30 @@ +import * as React from 'react'; +import ListItem from '@mui/material/ListItem'; +import ListItemText from '@mui/material/ListItemText'; +import Typography from '@mui/material/Typography'; +import SportsTennisIcon from '@mui/icons-material/SportsTennis'; +import { ListItemIcon } from '@mui/material'; + +export default function ListSuggestedMatch() { + return ( + + + + + + 12:30PM - 123 Alphabet St. Toronto ON. + + {" — John Smith, Alfred Baker, and Samantha Wright"} + + } + /> + ); +} \ No newline at end of file diff --git a/sports-matcher/src/MatchesList.js b/sports-matcher/src/MatchesList.js new file mode 100644 index 0000000..cadd0ea --- /dev/null +++ b/sports-matcher/src/MatchesList.js @@ -0,0 +1,14 @@ +import * as React from 'react'; +import List from '@mui/material/List'; +import Divider from '@mui/material/Divider'; +import ListSuggestedMatch from './ListSuggestedMatch'; + +export default function MatchesList() { + return ( + + + + {/* TODO: Loop to populate */} + + ); +} \ No newline at end of file diff --git a/sports-matcher/src/ReportForm.js b/sports-matcher/src/ReportForm.js new file mode 100644 index 0000000..03236c4 --- /dev/null +++ b/sports-matcher/src/ReportForm.js @@ -0,0 +1,21 @@ +import FormControl from "@mui/material/FormControl"; +import OutlinedInput from "@mui/material/OutlinedInput"; +import TextField from "@mui/material/TextField"; + +export default function ReportForm() { + return ( + + + + + ); +} \ No newline at end of file diff --git a/sports-matcher/src/SearchBar.js b/sports-matcher/src/SearchBar.js new file mode 100644 index 0000000..4ac546b --- /dev/null +++ b/sports-matcher/src/SearchBar.js @@ -0,0 +1,11 @@ +import { Button, TextField } from "@mui/material"; + +export default function SearchBar() { + return ( +
+ + + +
+ ); +} \ No newline at end of file