Skip to content

Feat/984: Add Edit Profile to the sidenav #999

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 3 commits into
base: master
Choose a base branch
from
Open
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
5 changes: 3 additions & 2 deletions zubhub_frontend/zubhub/public/locales/en/translation.json
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@
},
"sidebar":{
"logout": "Logout",
"expoloreActivities":"Explore Activities",
"exploreActivities":"Explore Activities",
"teams":"Teams",
"bookmarks":"Bookmarks",
"myProjects":"My Projects",
@@ -43,7 +43,8 @@
"createProject":"Create Project",
"profile":"My Profile",
"projects":"All Projects",
"settings":"Settings"
"settings":"Settings",
"editProfile": "Account Settings"
},

"footer": {
17 changes: 15 additions & 2 deletions zubhub_frontend/zubhub/public/locales/hi/translation.json
Original file line number Diff line number Diff line change
@@ -32,7 +32,20 @@
"unpublishedActivities": "अप्रकाशित गतिविधियाँ",
"myActivities": "मेरी गतिविधियां"
},

"sidebar": {
"logout": "लॉगआउट",
"exploreActivities": "गतिविधियाँ करें",
"teams": "टीमें",
"bookmarks": "बुकमार्क्स",
"myProjects": "मेरे परियोजनाएँ",
"myDrafts": "मेरे मसौदे",
"createActivity": "गतिविधि बनाएं",
"createProject": "परियोजना बनाएं",
"profile": "मेरी प्रोफ़ाइल",
"projects": "सभी परियोजनाएँ",
"settings": "सेटिंग्स",
"editProfile": "खाता सेटिंग्स"
},
"footer": {
"privacy": "एकांत",
"guidelines": "गोपनीयता नीति",
@@ -825,7 +838,7 @@
}
},
"actions": {
"submit": "परिवर्तनों को सुरक्षित करें",
"submit": "परिवर्तनों को सुरक्षित करें"
},
"delete": {
"label": "टीम हटाएं",
3 changes: 2 additions & 1 deletion zubhub_frontend/zubhub/src/components/Sidenav/data.js
Original file line number Diff line number Diff line change
@@ -36,7 +36,8 @@ export const links = ({ draftCount, myProjectCount, auth, t }) => [
},
{ label: t('pageWrapper.sidebar.bookmarks'), link: '/projects/saved', icon: Bookmark, requireAuth: true },
...(TEAM_ENABLED ? [{ label: t('pageWrapper.sidebar.teams'), link: '/teams/all', icon: RiTeamFill }] : []),
{ label: t('pageWrapper.sidebar.expoloreActivities'), link: 'https://kriti.unstructured.studio/', target: '_blank', icon: FeaturedPlayList },
{ label: t('pageWrapper.sidebar.exploreActivities'), link: 'https://kriti.unstructured.studio/', target: '_blank', icon: FeaturedPlayList },
{ label: t('pageWrapper.sidebar.editProfile'), link: '/edit-profile', icon: Settings, reactIcon: true, requireAuth: true },
];

export const bottomLinks = ({ t }) => [