Skip to content

Commit

Permalink
removing header in suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehdz committed Jan 4, 2024
1 parent d7f1fa1 commit ad382af
Showing 1 changed file with 9 additions and 42 deletions.
51 changes: 9 additions & 42 deletions src/view/Admin/Suggestion.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,56 +263,23 @@ export default function AdminOrganisations() {
return (
<>
<NavBar />
<Grid style={{ paddingTop: "100px", paddingLeft: "50px" }}>
<Grid style={{ paddingTop: '100px', paddingLeft: '50px' }}>
<Typography
variant={"h1"}
variant={'h1'}
color={theme.typography.color}
style={{
marginBottom: "1rem",
fontSize: "3.75rem",
letterSpacing: "-0.025em",
marginBottom: '1rem',
fontSize: '3.75rem',
letterSpacing: '-0.025em',
fontWeight: 800,
}}
>
{"Suggestion"}
{'Suggestion'}
</Typography>

<Container>
<Container
className='dashboard-header'
style={{ flexDirection: 'row' }}
>
<Button title='Users' onClick={() => setMenuFocus('Contact')}>
Contact
</Button>
<Button title='Users' onClick={() => setMenuFocus('Newsletter')}>
Newsletter
</Button>
<Button title='Users' onClick={() => setMenuFocus('Users')}>
Users
</Button>
<Button
title='Organisations'
onClick={() => setMenuFocus('Organisations')}
>
Organisations
</Button>
<Button title='Markers' onClick={() => setMenuFocus('Markers')}>
Markers
</Button>
<Button
title='Suggestions'
onClick={() => setMenuFocus('Suggestions')}
>
Suggestions
</Button>
</Container>
<Container style={{ padding: '20px' }}>{table}</Container>
</Container>

<Grid style={{display: 'flex', flexDirection: 'row', padding: 10}}>
<AdminSideBar option={'suggestion'}/>
<SuggestionsTable/>;
<Grid style={{ display: 'flex', flexDirection: 'row', padding: 10 }}>
<AdminSideBar option={'suggestion'} />
<SuggestionsTable />;
</Grid>
</Grid>
<FooterComponent />
Expand Down

0 comments on commit ad382af

Please sign in to comment.