generated from WildCodeSchool/create-js-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from WildCodeSchool-2023-09/dev
Deploiement jeudi 08/02
- Loading branch information
Showing
23 changed files
with
314 additions
and
69 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
import { useContext } from "react"; | ||
import { Link } from "react-router-dom"; | ||
import logo from "../../assets/icons8-user-32.png"; | ||
import logo from "../../assets/icons8-user-70.png"; | ||
import { AuthContext } from "../../../context/AuthContext"; | ||
|
||
function InputProfil() { | ||
return ( | ||
<Link to="/profil"> | ||
<button type="button"> | ||
const { connected, profil } = useContext(AuthContext); | ||
if (connected && connected.login && profil) { | ||
return ( | ||
<Link to="/profil"> | ||
<span> | ||
<img src={logo} alt="profilimage" /> | ||
<img style={{ marginTop: "7px" }} src={logo} alt="profilimage" /> | ||
</span> | ||
</button> | ||
</Link> | ||
); | ||
</Link> | ||
); | ||
} | ||
return ""; | ||
} | ||
|
||
export default InputProfil; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,28 @@ | ||
.headerContainer { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-around; | ||
justify-content: space-between; | ||
align-items: center; | ||
width: 100%; | ||
width: 90%; | ||
margin-left: 3rem; | ||
margin-top: 5px; | ||
} | ||
|
||
.mainHeaderContainer { | ||
display: flex; | ||
flex-direction: row-reverse; | ||
gap: 3rem; | ||
margin-right: 3rem; | ||
} | ||
|
||
.mainHeaderContent { | ||
display: flex; | ||
justify-content: space-between; | ||
width: 150px; | ||
} | ||
|
||
@media screen and (max-width: 600px) { | ||
.buttonAdmin { | ||
display: none; | ||
} | ||
} |
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,49 @@ | ||
.gridContainer { | ||
display: grid; | ||
grid-template-columns: repeat(2, 1fr); | ||
gap: 2px; | ||
} | ||
|
||
.menberSince { | ||
grid-column: span 2; | ||
border-top-left-radius: 20px; | ||
border-top-right-radius: 20px; | ||
color: var(--text-color); | ||
background-color: var(--primary-color); | ||
padding: 1rem; | ||
} | ||
|
||
.leftinfos { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
gap: 0.5rem; | ||
padding: 10px; | ||
border-bottom-left-radius: 20px; | ||
color: var(--text-color); | ||
background-color: var(--primary-color); | ||
padding: 1rem; | ||
} | ||
.rightinfos { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
gap: 0.5rem; | ||
padding: 10px; | ||
border-bottom-right-radius: 20px; | ||
color: var(--text-color); | ||
background-color: var(--primary-color); | ||
padding: 1rem; | ||
} | ||
|
||
@media screen and (max-width: 550px) { | ||
.menberSince { | ||
width: 70vw; | ||
} | ||
.leftinfos { | ||
width: 35vw; | ||
} | ||
.rightinfos { | ||
width: 35vw; | ||
} | ||
} |
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.