diff --git a/packages/web/pages/settings/account.tsx b/packages/web/pages/settings/account.tsx index 88f67e075..0051bbbd2 100644 --- a/packages/web/pages/settings/account.tsx +++ b/packages/web/pages/settings/account.tsx @@ -22,6 +22,7 @@ import { ConfirmationModal } from '../../components/patterns/ConfirmationModal' const StyledLabel = styled('label', { fontWeight: 600, fontSize: '16px', + marginBottom: '5px', }) export const FormInput = styled('input', { @@ -236,13 +237,13 @@ export default function Account(): JSX.Element { distribution="start" alignment="start" > + Name
{ handleUpdateName() event.preventDefault() }} > - Name + Email { // Show a confirmation dialog if switching from social login @@ -342,7 +344,6 @@ export default function Account(): JSX.Element { event.preventDefault() }} > - Email Upgrade */} + + + Danger Zone + + diff --git a/packages/web/pages/settings/delete-my-account.tsx b/packages/web/pages/settings/delete-my-account.tsx index c146cb78e..d1e65cbfd 100644 --- a/packages/web/pages/settings/delete-my-account.tsx +++ b/packages/web/pages/settings/delete-my-account.tsx @@ -9,7 +9,7 @@ import { SettingsLayout } from '../../components/templates/SettingsLayout' import { ConfirmationModal } from '../../components/patterns/ConfirmationModal' import { Button } from '../../components/elements/Button' -import { HStack } from '../../components/elements/LayoutPrimitives' +import { HStack, VStack } from '../../components/elements/LayoutPrimitives' import { useGetViewerQuery } from '../../lib/networking/queries/useGetViewerQuery' import { Loader } from '../../components/templates/SavingRequest' import { deleteAccountMutation } from '../../lib/networking/mutations/deleteAccountMutation' @@ -52,26 +52,59 @@ export default function DeleteMyAccount(): JSX.Element { top: '5rem', }} /> + + + {showConfirm ? ( + setShowConfirm(false)} + /> + ) : null} - {showConfirm ? ( - setShowConfirm(false)} - /> - ) : null} - - - {viewer && router ? ( - - ) : ( - - )} - + + Deleting your account will delete all your saved items, notes, and + highlights. This operation can not be undone. + {viewer && router ? ( + + ) : ( + + )} + + + ) }