-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tourney registration flow - player register + organizer acceptance
- Loading branch information
Showing
19 changed files
with
420 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import styled from 'styled-components'; | ||
import tw from 'twin.macro'; | ||
|
||
import { | ||
FlexContainer | ||
} from '../base'; | ||
|
||
import { | ||
NormalText | ||
} from '../Text'; | ||
|
||
|
||
import { RiEditCircleFill } from 'react-icons/ri'; | ||
import { FaTrashAlt } from 'react-icons/fa'; | ||
|
||
const ListTileImage = styled.img` | ||
width: ${props => props.w || '64px'}; | ||
height: ${props => props.h || '64px'}; | ||
object-fit: scale-down; | ||
${tw` | ||
`} | ||
`; | ||
|
||
|
||
|
||
const ActionButtonContainer = styled.div` | ||
${tw` | ||
p-2 | ||
flex | ||
justify-center | ||
items-center | ||
rounded-md | ||
shadow-md | ||
bg-[#922626] | ||
`} | ||
&:hover { | ||
filter: brightness(140%); | ||
cursor: pointer; | ||
} | ||
`; | ||
|
||
|
||
export default function ListMediaTile(){ | ||
return ( | ||
<FlexContainer align='center' justify='space-between' gap='1rem'> | ||
<ListTileImage src='assets/images/altair.jpg'/> | ||
<NormalText> 850 x 1332</NormalText> | ||
<FlexContainer gap='1rem'> | ||
<ActionButtonContainer> | ||
<RiEditCircleFill size='24px' color='white'/> | ||
</ActionButtonContainer> | ||
<ActionButtonContainer> | ||
<FaTrashAlt size='24px' color='white'/> | ||
</ActionButtonContainer> | ||
</FlexContainer> | ||
</FlexContainer> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.