fixed delete team bugs, added a pop up, starting to translate the team panel in react, starting edit team action
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
14968b773d
commit
6848d56244
@ -0,0 +1,47 @@
|
|||||||
|
body {
|
||||||
|
background-color: #f1f1f1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.square {
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#main_color {
|
||||||
|
border: solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
section {
|
||||||
|
background-color: #fff;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
width: 60%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#colors{
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
.color {
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
height: 80px;
|
||||||
|
width: 80px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#delete{
|
||||||
|
border-radius:10px ;
|
||||||
|
background-color: red;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.player{
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-evenly;
|
||||||
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
|
||||||
|
import '../style/teamPanel.css'
|
||||||
|
|
||||||
|
|
||||||
|
interface TeamInfo{
|
||||||
|
id: number
|
||||||
|
name: string
|
||||||
|
picture: string
|
||||||
|
mainColor: string
|
||||||
|
secondColor: string
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Team {
|
||||||
|
info: TeamInfo
|
||||||
|
members: Member[]
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Member{
|
||||||
|
id: number
|
||||||
|
|
||||||
|
role: string
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
export default function TeamPanel({isCoach}: {isCoach: boolean}){
|
||||||
|
|
||||||
|
return <p>prout ({isCoach ? "vrai" : "faux"})</p>
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in new issue