Skip to content

Commit

Permalink
#167 Add winner and change directory of component
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszdworniczak committed Apr 15, 2021
1 parent c53b8d3 commit 23f2249
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions frontend/src/components/molecules/LabTabs/LabTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import TabPanel from '@material-ui/lab/TabPanel';
import {Alert, AlertTitle} from "@material-ui/lab";
import {Centered} from "../../atoms/Shared/Centered";
import EmojiEventsIcon from '@material-ui/icons/EmojiEvents';
import {Typography} from "@material-ui/core";
import {Box, Tabs, Typography} from "@material-ui/core";

const useStyles = makeStyles((theme: Theme) => ({
root: {
Expand Down Expand Up @@ -51,10 +51,18 @@ export default function LabTabs() {
<Centered>
<EmojiEventsIcon color={"primary"} style={{fontSize: '3rem'}}/>
<Typography variant={"h5"} component={"h5"}>Zwycięzca</Typography>
<Box>
<Tabs
orientation="vertical"
variant="scrollable"
aria-label="Vertical tabs example"
>
<Tab label="Gracz1"/>
<Tab label="Gracz2"/>
</Tabs>
</Box>
</Centered>

</div>

</TabPanel>
</TabContext>
</div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/pages/TourDeFoos/TourDeFoos.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
} from "../../atoms/constants/routerPaths";
import {MatchesListRoute} from "../Routes/MatchesListRoutes";
import TournamentsList from "../TournamentsList/TournamentsList";
import {MatchesAndResults} from "../../organisms/MatchesAndResults/MatchesAndResults";
import {MatchesAndResults} from "../MatchesAndResults/MatchesAndResults";

function TourDeFoos() {
return (
Expand Down

0 comments on commit 23f2249

Please sign in to comment.