account page is done

This commit is contained in:
Nikolai Petukhov
2024-09-28 10:34:06 +03:00
parent 9d13f571d9
commit e6231f86b4
7 changed files with 88 additions and 2 deletions

View File

@@ -1,7 +1,22 @@
import React from "react";
import AccountButtons from "../components/account/AccountButtons.jsx";
import userIcon from "../../images/user.svg";
const Account = () => {
return <h1>Account</h1>;
const exitHandler = () => {}
const changeNameHandler = () => {}
const changePassHandler = () => {}
return (
<div className="account-items">
<img src={userIcon} alt="user" />
<AccountButtons
exitHandler={exitHandler}
changeNameHandler={changeNameHandler}
changePassHandler={changePassHandler}
/>
</div>
);
};
export default Account;

View File

@@ -0,0 +1,12 @@
.account-items {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 5vw;
}
.account-items img {
margin-bottom: 1vw;
}

View File

@@ -1,3 +1,4 @@
@import url("css/init.css");
@import url("css/home.css");
@import url("css/input.css");
@import url("css/input.css");
@import url("css/account.css");