This repository has been archived by the owner on Jul 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from bandisast/master
Add a delete-account page for compliance, & mini css fixes
- Loading branch information
Showing
7 changed files
with
154 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
import React from 'react'; | ||
import Container from 'react-bootstrap/Container'; | ||
import Row from 'react-bootstrap/Row'; | ||
import Stack from 'react-bootstrap/Stack'; | ||
import Col from 'react-bootstrap/Col'; | ||
import { useTranslation } from 'react-i18next'; | ||
import classes from './deleteAccount.module.css'; | ||
import { Discord, Facebook, Instagram } from 'react-bootstrap-icons'; | ||
|
||
|
||
|
||
const DeleteAccount = () => { | ||
const { t, i18n } = useTranslation(); | ||
|
||
return ( | ||
<div className={classes.background} > | ||
<Container className="h-100 d-flex flex-column text-md-start text-center" fluid> | ||
<Row className="h-100"> | ||
<Col dm={6} className={[classes.leftColumn, classes.marginTop].join(' ')}> | ||
<Row className={classes.informationRow}> | ||
<Col> | ||
<h1 className={classes.planteTitle}> | ||
{t('landingpage.appTitle')} | ||
</h1> | ||
<h4> | ||
Delete my account | ||
</h4> | ||
<p> | ||
To delete your Plante account, please follow next steps: | ||
</p> | ||
<span> | ||
<ul> | ||
<li>Open the app on Android</li> | ||
<li>Open your profile (bottom-right)</li> | ||
<li>Open App Settings (top-right)</li> | ||
<li>Click "Help and feedback"</li> | ||
<li>Click "Delete my account"</li> | ||
<li>Follow the displayed instructions</li> | ||
</ul> | ||
</span> | ||
<p> | ||
Your account will be deleted immediately. | ||
</p> | ||
|
||
<p> | ||
Please note that while this action will erase all of your personal information, the products and stores that you have created in the app will not be deleted, since they're stored on the servers of Open Food Facts and Open Street Map projects (without any of your personal information). | ||
</p> | ||
|
||
<Row className="text-md-start text-center" lg="auto"> | ||
<Col> | ||
<a target="_blank" rel="noreferrer" href='https://play.google.com/store/apps/details?id=vegancheckteam.plante&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img className={classes.downloadButton} alt='Get it on Google Play' src={process.env.PUBLIC_URL + '/assets/' + i18n.resolvedLanguage + '/google-play-badge.png'} /></a> | ||
</Col> | ||
<Col> | ||
<a href='https://apps.apple.com/us/app/plante/id1574070382' rel="noreferrer" target="_blank"><img className={classes.downloadButton} alt='Download on the App Store' src={process.env.PUBLIC_URL + '/assets/' + i18n.resolvedLanguage + '/apple-app-store-badge.svg'} /></a> | ||
</Col> | ||
</Row> | ||
<Row> | ||
<Col className={classes.socialMediaMargin}> | ||
<Stack gap={2}> | ||
<Row> | ||
<Col> | ||
<h5 className={classes.socialMediaTitle}> | ||
|
||
</h5> | ||
</Col> | ||
</Row> | ||
<Row className="text-md-start text-center" lg="auto"> | ||
<Col> | ||
<a href="https://www.facebook.com/Plante-Vegan-App-103275182070684" target="_blank" rel="noreferrer"> | ||
<Facebook className={classes.socialMediaIcon} /> | ||
</a> | ||
</Col> | ||
|
||
<Col> | ||
<a href="https://discord.gg/kXgXrTVpGY" target="_blank" rel="noreferrer"> | ||
<Discord className={classes.socialMediaIcon} /> | ||
</a> | ||
|
||
</Col> | ||
<Col> | ||
<a href={t('landingpage.instagram')} target="_blank" rel="noreferrer"> | ||
<Instagram className={classes.socialMediaIcon} /> | ||
</a> | ||
</Col> | ||
</Row> | ||
</Stack> | ||
</Col> | ||
</Row> | ||
</Col> | ||
</Row> | ||
|
||
</Col> | ||
<Col sm={6} className='d-md-block d-none'> | ||
</Col> | ||
</Row> | ||
</Container> | ||
</div> | ||
); | ||
}; | ||
|
||
export default DeleteAccount; |
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,39 @@ | ||
.planteTitle{ | ||
font-weight: 900; | ||
} | ||
|
||
.marginTop{ | ||
margin-top: 6rem !important; | ||
} | ||
|
||
.downloadButton { | ||
height: 50px; | ||
width: auto; | ||
} | ||
|
||
.socialMediaTitle { | ||
font-weight: 800; | ||
font-size: 50; | ||
} | ||
|
||
.socialMediaIcon{ | ||
height: 24px; | ||
width: 24px; | ||
color: #326243; | ||
} | ||
|
||
.socialMediaMargin{ | ||
margin-top: 3rem !important; | ||
} | ||
|
||
@media screen and (min-width: 640px) { | ||
.leftColumn{ | ||
margin-left: 5rem !important; | ||
} | ||
.languageRow{ | ||
min-height: 20%; | ||
} | ||
|
||
} | ||
|
||
|
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 |
---|---|---|
@@ -1,3 +1,10 @@ | ||
.selectedButton { | ||
box-shadow: 5px 10px #EBF0EB; | ||
width: 15% | ||
} | ||
|
||
@media screen and (max-width: 640px) { | ||
.selectedButton { | ||
width: 15%; | ||
} | ||
} |