introducing profile
This commit is contained in:
parent
563e02507d
commit
cb6ffff3a0
27
src/pages/Profile.jsx
Normal file
27
src/pages/Profile.jsx
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
import React from "react";
|
||||||
|
import Menu from "../components/Menu";
|
||||||
|
import CountrySelect from "../components/CountrySelect";
|
||||||
|
import ProfileSelect from "../components/ProfileSelect";
|
||||||
|
import { Link } from "react-router-dom";
|
||||||
|
|
||||||
|
export default function Profile() {
|
||||||
|
return (
|
||||||
|
<div className='page-container page-container--home'>
|
||||||
|
{/* <button onClick={test}>test</button> */}
|
||||||
|
<div className='screen screen--home'>
|
||||||
|
<Menu />
|
||||||
|
<section className='screen__content'>
|
||||||
|
<div className='profile'>
|
||||||
|
<h2>profil</h2>
|
||||||
|
<ProfileSelect />
|
||||||
|
</div>
|
||||||
|
<div className='country'>
|
||||||
|
<h2>Pays</h2>
|
||||||
|
<CountrySelect />
|
||||||
|
</div>
|
||||||
|
<Link to='/play' className='cta cta--construction cta--round cta--play ' />
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user