Skip to content

Profile #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 26 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"luxon": "^2.3.1",
"rating-star": "^1.1.0",
"react": "^17.0.2",
"react-chip-input": "^1.1.0",
"react-dom": "^17.0.2",
"react-i18next": "^11.16.2",
"react-redux": "^8.0.1",
Expand Down
10 changes: 10 additions & 0 deletions public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,16 @@
"verified": "Your email has been successfully verified",
"canLog": "Now You can Log In!"
},
"profile": {
"username": "Name",
"useremail": "Email",
"firstname": "First Name",
"lastname": "Last Name",
"password": "Password",
"button": "Save",
"programming_language": "Programming language",
"button_change_password":"Edit"
},
"team": {
"status": "Status",
"places": {
Expand Down
10 changes: 10 additions & 0 deletions public/locales/pl/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,16 @@
"verified": "Twój email został pomyślnie zweryfikowany",
"canLog": "Teraz możesz się zalogować!"
},
"profile": {
"username": "Nazwa użytkownika",
"useremail": "Email",
"firstname": "Imię",
"lastname": "Nazwisko",
"password": "Hasło",
"button": "Zapisz",
"programming_language": "Język programowania",
"button_change_password":"Edytuj"
},
"team": {
"status": "Status",
"places": {
Expand Down
13 changes: 13 additions & 0 deletions src/components/Profile/Profile.interface.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { IProgrammingLanguage } from "components/Team/IProgrammingLanguege";

export default interface ProfileInterface {
username: string;
email: string;
firstname: string;
lastname: string;
programmingLanguage?: Array<IProgrammingLanguage>;
oldPassword: string;
newPassword: string;
confirmNewPassword: string;
userData?: Array<IProgrammingLanguage>;
}
Loading