Skip to content

Commit

Permalink
UI updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp committed Mar 20, 2024
1 parent 633b111 commit b5acdee
Show file tree
Hide file tree
Showing 8 changed files with 356 additions and 128 deletions.
2 changes: 1 addition & 1 deletion frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function App() {
<Grid item xs={12}>
<Header />
</Grid>
<Grid item style={{ flexGrow: 1, minHeight:'93vh' }} xs={12}>
<Grid item style={{ flexGrow: 1, minHeight: '93vh' }} xs={12}>
{status === 'loading' ? (
<CircularProgress />
) : status === 'failed' ? (
Expand Down
6 changes: 6 additions & 0 deletions frontend/src/assets/BC.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions frontend/src/assets/font-awesome-government.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions frontend/src/assets/font-awesome-identity.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions frontend/src/assets/font-awesome-verification.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/homepage-banner-unsplash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 9 additions & 7 deletions frontend/src/components/AuthorizationList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export default function AuthorizationList() {
>
Authorizations
</Typography>
<Typography component="div">
<Typography variant="h6" gutterBottom>
Authorized compost and biosolid facilities in B.C.
</Typography>
</CardContent>
Expand All @@ -129,11 +129,13 @@ export default function AuthorizationList() {
<Grid container spacing={2} sx={{ marginTop: '4vh' }}>
<Grid item xs={12}>
<Card
elevation={0}
variant="outlined"
sx={{
padding: '2em',
marginTop: '0.1em',
backgroundColor: '#D1CFCD',
backgroundColor: '#FCC85D',
borderRadius:'0'
}}
>
{headerCard}
Expand Down Expand Up @@ -329,15 +331,16 @@ export default function AuthorizationList() {
</Grid>
{pagination}
<Grid item xs={12}>
<Grid container spacing={2}>
<Grid container spacing={3}>
{filteredValue &&
filteredValue.length > 0 &&
filteredValue
.slice((page - 1) * 10, page * 10)
.map((item, index) => (
<Grid key={index} item xs={12} sx={{ width: '90vw' }}>
<Card
sx={{ background: '#E0DEDC', order: 5, width: '90vw' }}
elevation={0}
sx={{ background: '#F1F8FE', order: 5, width: '90vw' }}
key={index}
>
<CardContent>
Expand Down Expand Up @@ -462,12 +465,11 @@ export default function AuthorizationList() {
<Button
size="large"
sx={{
border: '1px solid #353433',
border: '1px solid #053662;',
borderRadius: '4px',
color: '#000000',
boxSizing: 'border-box',
backgroundColor: '#D1CFCD',
textTransform: 'none',
color: '#255A90;',
}}
onClick={() =>
buttonClicked(
Expand Down
Loading

0 comments on commit b5acdee

Please sign in to comment.