mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-22 14:54:22 +00:00
🔧 Add icons to LogoutBox
This commit is contained in:
parent
5c88679689
commit
fe5ed62480
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
import {faUser as faUserRegular} from "@fortawesome/free-regular-svg-icons"
|
||||
import {faExclamationCircle, faTimesCircle, faUser as faUserSolid} from "@fortawesome/free-solid-svg-icons"
|
||||
import {faChevronRight, faExclamationCircle, faSignOutAlt, faTimesCircle, faUser as faUserSolid} from "@fortawesome/free-solid-svg-icons"
|
||||
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"
|
||||
import {navigate} from "@reach/router"
|
||||
import {Box, Form, Heading, Idiomatic as I} from "@steffo/bluelib-react"
|
||||
|
@ -67,7 +67,7 @@ export function AuthorizationLogoutBox(): JSX.Element {
|
|||
<Form>
|
||||
<Form.Row>
|
||||
<Form.Button onClick={() => navigate("l/logged-in/")}>
|
||||
Continue to Sophon
|
||||
<FontAwesomeIcon icon={faChevronRight}/> Continue to Sophon
|
||||
</Form.Button>
|
||||
</Form.Row>
|
||||
</Form>
|
||||
|
@ -77,7 +77,7 @@ export function AuthorizationLogoutBox(): JSX.Element {
|
|||
<Form>
|
||||
<Form.Row>
|
||||
<Form.Button disabled={!canLogout} onClick={doLogout}>
|
||||
Logout
|
||||
<FontAwesomeIcon icon={faSignOutAlt}/> Logout
|
||||
</Form.Button>
|
||||
</Form.Row>
|
||||
</Form>
|
||||
|
|
Loading…
Reference in a new issue