Skip to content

Commit

Permalink
Merge branch 'admin-ui' into 'master'
Browse files Browse the repository at this point in the history
Task #197760 - UI for admin Bio

See merge request educate-girls/eg-website!14
  • Loading branch information
manojLondhe committed May 5, 2023
2 parents d6d9dfa + a50ac5a commit 92dfca2
Show file tree
Hide file tree
Showing 8 changed files with 294 additions and 280 deletions.
291 changes: 146 additions & 145 deletions apps/front-end/src/pages/admin/facilitator/Profile.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/front-end/src/pages/admin/facilitator/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const columns = [
<IconByName
isDisabled
name="AccountCircleLineIcon"
color="#888"
color="gray.300"
_icon={{ size: "35" }}
/>
)}
Expand Down
262 changes: 134 additions & 128 deletions apps/front-end/src/pages/admin/facilitator/View.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/common-lib/src/components/admin_layout/AppBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default function AppBar({
<IconByName
isDisabled
name='AccountCircleLineIcon'
color='#888'
color='gray.300'
_icon={{ size: '24px' }}
/>
)}
Expand Down
4 changes: 2 additions & 2 deletions lib/common-lib/src/components/admin_layout/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default function Layout({
<AppBar
isEnableSearchBtn
isShowNotificationButton={false}
_box={{ bg: '#E5E5E5' }}
_box={{ bg: 'info.100' }}
color={imageUrl ? 'white' : ''}
{..._appBar}
/>
Expand All @@ -54,7 +54,7 @@ export default function Layout({
<Sidebar
_box={{
maxW: '60px',
bg: 'gray.400'
bg: 'info.100'
}}
{..._sidebar}
/>
Expand Down
4 changes: 2 additions & 2 deletions lib/common-lib/src/components/admin_layout/Sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ export default function Sidebar({ menues, routeDynamics, _box, ...props }) {
opacity={selected === index ? 1 : 0.5}
p='3'
onPress={() => setSelected(0)}
bg={selected === index ? 'gray.500' : 'transparent'}
bg={selected === index ? 'info.100' : 'transparent'}
>
<Text color={selected === index ? 'primary.100' : 'black'}>
<Text color={selected === index ? 'info.300' : 'black'}>
<Center>
{item.icon ? (
<IconByName name={item?.icon} isDisabled />
Expand Down
2 changes: 1 addition & 1 deletion lib/common-lib/src/components/layout/AppBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export default function AppBar({
<IconByName
isDisabled
name='AccountCircleLineIcon'
color='#888'
color='gray.300'
_icon={{ size: '40px' }}
/>
)}
Expand Down
7 changes: 7 additions & 0 deletions lib/common-lib/src/components/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,15 @@ const DEFAULT_THEME = {
800: '#BDB3E7',
900: '#BDB3E7'
},
badgeColor: {
400: '#FDE68A',
},
progressBarColor: {
200 : '#10B981',
},
gray:{
100: '#616161',
300: '#888888',
}
}
}
Expand Down

0 comments on commit 92dfca2

Please sign in to comment.