refactor(ui): add/tweak icons (#1819)

* refactor(ui): add prev/next button icons

* refactor(ui): use mail icon instead of at symbol icon for email

* refactor(ui): use ↻ symbol instead of ⤾ for reload button

* refactor(ui): add missing icons to password reset pages

* refactor(ui): add icons for save & test buttons

Co-authored-by: sct <ryan@sct.dev>
This commit is contained in:
TheCatLady
2021-07-13 05:44:15 -04:00
committed by GitHub
parent 1133a34ffd
commit 8b960acf73
28 changed files with 227 additions and 106 deletions

View File

@@ -1,4 +1,4 @@
import { AtSymbolIcon } from '@heroicons/react/outline';
import { ArrowLeftIcon, MailIcon } from '@heroicons/react/solid';
import axios from 'axios';
import { Field, Form, Formik } from 'formik';
import Link from 'next/link';
@@ -68,7 +68,8 @@ const ResetPassword: React.FC = () => {
<span className="flex justify-center mt-4 rounded-md shadow-sm">
<Link href="/login" passHref>
<Button as="a" buttonType="ghost">
{intl.formatMessage(messages.gobacklogin)}
<ArrowLeftIcon />
<span>{intl.formatMessage(messages.gobacklogin)}</span>
</Button>
</Link>
</span>
@@ -125,7 +126,7 @@ const ResetPassword: React.FC = () => {
type="submit"
disabled={isSubmitting || !isValid}
>
<AtSymbolIcon />
<MailIcon />
<span>
{intl.formatMessage(messages.emailresetlink)}
</span>