-
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.
feat: terms-and-condition, contact-support,notification. (#112)
* 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 * re arranged * form submitting going on * form submission ndone * # api created for budget, category, wallet. # in frontend cin budget and wallet page ids type has changed * # api created for budget, category, wallet. # in frontend cin budget and wallet page ids type has changed * Added notify stack, added title and amount range in all forms, income model frontend backend completed for get and post, * added joi validation * Joi validation pending task * Joi validation pending task * Joi validation pending task * budget date issue dix * budget date issue dix * budget date issue dix * auto comepele addted * auto comepele added * auto comepele added * auto comepele issue fix, base url set * autocomeolete task done * autocomeolete task done * login, sign up, tooltip, defaul year added * login, sign up, tooltip, defaul year added * login, sign up, tooltip, defaul year added * yarn lock * footer position fix * dashboard scroller issue * feat terms and support page crreated * settings, contact, support, TC * signup page button position fix * loading does not working, so rermoved
- Loading branch information
Showing
25 changed files
with
7,870 additions
and
5,325 deletions.
There are no files selected for viewing
Binary file not shown.
This file was deleted.
Oops, something went wrong.
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
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
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,6 @@ | ||
import ContactSupport from '@/component/settings/ContactSupport'; | ||
|
||
const Constact = () => { | ||
return <ContactSupport />; | ||
}; | ||
export default Constact; |
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,6 @@ | ||
import Nofifuactions from '@/component/settings/Notification'; | ||
|
||
const Notify = () => { | ||
return <Nofifuactions />; | ||
}; | ||
export default Notify; |
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,6 @@ | ||
import TermsAndSupport from '@/component/settings/TermsAndSupport'; | ||
|
||
const Terms = () => { | ||
return <TermsAndSupport />; | ||
}; | ||
export default Terms; |
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 |
---|---|---|
@@ -1,51 +1,68 @@ | ||
import {Button, Grid, Typography} from '@mui/material'; | ||
import {Box, Button, Grid, Typography} from '@mui/material'; | ||
import PlayArrowIcon from '@mui/icons-material/PlayArrow'; | ||
import React, {FC, useState} from 'react'; | ||
import React, {FC, useEffect, useState} from 'react'; | ||
import Drawers from '@/component/DrewerComponent'; | ||
import {useRouter} from 'next/navigation'; | ||
|
||
interface Props { | ||
title: string; | ||
subTitle?: string; | ||
setting?: number; | ||
onClk?: any; | ||
} | ||
|
||
const CustomCardForSetting: FC<Props> = ({title, subTitle}) => { | ||
const handleDrewer = () => { | ||
setState(!state); | ||
return; | ||
}; | ||
const [state, setState] = useState(false); | ||
const CustomCardForSetting: FC<Props> = ({title, subTitle, setting, onClk}) => { | ||
// const [state, setSate]=React.useState() | ||
// const handleDrewer = () => { | ||
// setState(!state); | ||
// return; | ||
// }; | ||
return ( | ||
<> | ||
<Grid item xs={7} sx={{p: '20px'}}> | ||
<Typography sx={{fontSize: '17px', fontWeight: '700'}}> | ||
{title} | ||
</Typography> | ||
</Grid> | ||
<Grid item xs={12}> | ||
<Grid | ||
item | ||
xs={5} | ||
container | ||
onClick={onClk} | ||
sx={{ | ||
display: 'flex', | ||
alignItems: 'end', | ||
justifyContent: 'right', | ||
p: '20px 0px', | ||
cursor: 'pointer', | ||
'&:hover': { | ||
border: '1px solid #00FF00', | ||
color: 'black', | ||
backgroundColor: 'lightblue', | ||
}, | ||
borderRadius: '20px', | ||
}}> | ||
<Typography sx={{opacity: '.3'}}>{subTitle}</Typography> | ||
<Button | ||
onClick={handleDrewer} | ||
<Grid item xs={7} sx={{p: '20px'}}> | ||
<Typography sx={{fontSize: '17px', fontWeight: '700'}}> | ||
{title} | ||
</Typography> | ||
</Grid> | ||
<Grid | ||
item | ||
xs={5} | ||
sx={{ | ||
p: '0px 0px', | ||
maxWidth: '20px', | ||
color: 'common.white', | ||
':hover': { | ||
backgroundColor: 'common.white', | ||
}, | ||
}} | ||
endIcon={<PlayArrowIcon sx={{color: '#000'}} />}></Button> | ||
display: 'flex', | ||
alignItems: 'end', | ||
justifyContent: 'right', | ||
p: '20px 0px', | ||
}}> | ||
<Typography sx={{opacity: '.3'}}>{subTitle}</Typography> | ||
<Button | ||
// onClick={handleDrewer} | ||
// onClick={handleDrewer} | ||
sx={{ | ||
p: '0px 0px', | ||
maxWidth: '20px', | ||
color: 'common.white', | ||
':hover': { | ||
backgroundColor: 'common.white', | ||
}, | ||
}} | ||
endIcon={<PlayArrowIcon sx={{color: '#000'}} />}></Button> | ||
|
||
<Drawers state={state} setState={setState} /> | ||
{/*<Drawers state={state} setState={setState} />*/} | ||
</Grid> | ||
</Grid> | ||
</> | ||
</Grid> | ||
); | ||
}; | ||
export default CustomCardForSetting; |
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,30 @@ | ||
'use client'; | ||
import {Box, Container, Typography} from '@mui/material'; | ||
import {CustomStyles} from '@/utilities/enums'; | ||
import BackButton from '@/common/button/BackButton'; | ||
|
||
const ContactSupport = () => { | ||
return ( | ||
<Container | ||
maxWidth={'xs'} | ||
disableGutters={true} | ||
sx={{ | ||
minHeight: '100vh', | ||
backgroundColor: '#FEFEFF', | ||
pt: CustomStyles.CONTAINER_TOP, | ||
pl: CustomStyles.CONTAINER_LEFT, | ||
pr: CustomStyles.CONTAINER_RIGHT, | ||
pb: '100px', | ||
position: 'relative', | ||
}}> | ||
<Box> | ||
<BackButton /> | ||
</Box> | ||
<Typography sx={{fontSize: '20px', mb: '20px', fontWeight: '700'}}> | ||
Contract support | ||
</Typography> | ||
<Typography>For details visit out web page</Typography> | ||
</Container> | ||
); | ||
}; | ||
export default ContactSupport; |
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,30 @@ | ||
'use client'; | ||
import {Box, Container, Typography} from '@mui/material'; | ||
import {CustomStyles} from '@/utilities/enums'; | ||
import BackButton from '@/common/button/BackButton'; | ||
|
||
const Nofifuactions = () => { | ||
return ( | ||
<Container | ||
maxWidth={'xs'} | ||
disableGutters={true} | ||
sx={{ | ||
minHeight: '100vh', | ||
backgroundColor: '#FEFEFF', | ||
pt: CustomStyles.CONTAINER_TOP, | ||
pl: CustomStyles.CONTAINER_LEFT, | ||
pr: CustomStyles.CONTAINER_RIGHT, | ||
pb: '100px', | ||
position: 'relative', | ||
}}> | ||
<Box> | ||
<BackButton /> | ||
</Box> | ||
<Typography sx={{fontSize: '20px', mb: '20px', fontWeight: '700'}}> | ||
Notofiaction | ||
</Typography> | ||
<Typography>For details visit out web page</Typography> | ||
</Container> | ||
); | ||
}; | ||
export default Nofifuactions; |
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
Oops, something went wrong.