updating profile pictures

This commit is contained in:
Antoine M 2024-05-08 14:30:58 +02:00
parent 319da53e33
commit 66572382c6

View File

@ -8,7 +8,7 @@ import AnimatedPage from "../components/AnimatedPage";
import lhoistEmployee from "../assets/img/profiles/lhoist-employee.svg"; import lhoistEmployee from "../assets/img/profiles/lhoist-employee.svg";
import subcontractorEmployee from "../assets/img/profiles/subcontractor-employee.svg"; import subcontractorEmployee from "../assets/img/profiles/subcontractor-employee.svg";
import driver from "../assets/img/profiles/driver.svg"; import driver from "../assets/img/profiles/driver.svg";
import civilian from "../assets/img/profiles/civilian.svg"; import visitor from "../assets/img/profiles/visitor.svg";
import Loading from "../components/animations/Loading.jsx"; import Loading from "../components/animations/Loading.jsx";
export default function Profile() { export default function Profile() {
@ -35,26 +35,6 @@ export default function Profile() {
<h2 className='screen-subtitle '>{currentScreenTranslations.iam}...</h2> <h2 className='screen-subtitle '>{currentScreenTranslations.iam}...</h2>
<ul className='profile-select'> <ul className='profile-select'>
<li
className='profile-select__profile-type'
value='civilian'
is-current={profile === "civilian" ? "true" : ""}
onClick={handleChangeProfile}>
<img src={civilian} alt='' />
<h3 className='titling-construction'>
{currentScreenTranslations.profiles.civilian}
</h3>
</li>
<li
className='profile-select__profile-type'
value='driver'
is-current={profile === "driver" ? "true" : ""}
onClick={handleChangeProfile}>
<img src={driver} alt='' />
<h3 className='titling-construction'>
{currentScreenTranslations.profiles.driver}
</h3>
</li>
<li <li
className='profile-select__profile-type' className='profile-select__profile-type'
value='lhoist_employee' value='lhoist_employee'
@ -78,6 +58,26 @@ export default function Profile() {
} }
</h3> </h3>
</li> </li>
<li
className='profile-select__profile-type'
value='driver'
is-current={profile === "driver" ? "true" : ""}
onClick={handleChangeProfile}>
<img src={driver} alt='' />
<h3 className='titling-construction'>
{currentScreenTranslations.profiles.driver}
</h3>
</li>
<li
className='profile-select__profile-type'
value='visitor'
is-current={profile === "visitor" ? "true" : ""}
onClick={handleChangeProfile}>
<img src={visitor} alt='' />
<h3 className='titling-construction'>
{currentScreenTranslations.profiles.visitor}
</h3>
</li>
</ul> </ul>
<button <button