-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* new design login,signup,dashboard,startup page is done * page design has done for 1st phase and need refactorization * unused import removed * routing almost done * Main container margin padding. cart border,color resolve almost fixes #37
- Loading branch information
Showing
26 changed files
with
749 additions
and
945 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import {Button} from '@mui/material'; | ||
import React from 'react'; | ||
interface IActionButton { | ||
onClickBtn?: any; | ||
children?: any; | ||
} | ||
|
||
const CustomActionButtonComponent = ({onClickBtn, children}: IActionButton) => { | ||
return ( | ||
<Button | ||
onClick={onClickBtn} | ||
type='submit' | ||
variant='contained' | ||
sx={{ | ||
borderRadius: '25px', | ||
backgroundColor: 'common.black', | ||
position: 'fixed', | ||
height: '50px', | ||
bottom: '30px', | ||
minWidth: '415px', | ||
fontWeight: '700', | ||
':hover': { | ||
backgroundColor: 'common.black', | ||
color: 'common.white', | ||
}, | ||
}}> | ||
{children} | ||
</Button> | ||
); | ||
}; | ||
export default CustomActionButtonComponent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import {Button} from '@mui/material'; | ||
import KeyboardBackspaceIcon from '@mui/icons-material/KeyboardBackspace'; | ||
import React from 'react'; | ||
import {useRouter} from 'next/navigation'; | ||
|
||
const CustomBackButton = () => { | ||
const Router = useRouter(); | ||
const handleBack = () => { | ||
return Router.back(); | ||
}; | ||
|
||
return ( | ||
<Button | ||
sx={{ | ||
p: '0px 0px', | ||
display: 'flex', | ||
justifyContent: 'initial', | ||
color: 'common.white', | ||
':hover': { | ||
backgroundColor: 'common.white', | ||
}, | ||
}} | ||
onClick={handleBack}> | ||
<KeyboardBackspaceIcon | ||
sx={{ | ||
color: '#403F40', | ||
backgroundColor: '#fff', | ||
borderRadius: '12px', | ||
fontSize: '245%', | ||
border: '2px solid #EEEDEE', | ||
p: '3px', | ||
}} | ||
/> | ||
</Button> | ||
); | ||
}; | ||
export default CustomBackButton; |
Oops, something went wrong.