File tree Expand file tree Collapse file tree
frontend/src/ts/components/pages/login Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import {
1414 showNoticeNotification ,
1515 showErrorNotification ,
1616} from "../../../stores/notifications" ;
17+ import { H3 } from "../../common/Headers" ;
1718import { Separator } from "../../common/Separator" ;
1819
1920export function Login ( ) : JSXElement {
@@ -73,10 +74,13 @@ export function Login(): JSXElement {
7374
7475 return (
7576 < div class = "grid w-full grid-cols-1 justify-center gap-2 sm:w-80" >
76- < div class = "inline-flex items-baseline text-sub" >
77- < i class = "fas fa-sign-in-alt mr-[0.5em]" > </ i >
78- login
79- </ div >
77+ < H3
78+ text = "login"
79+ fa = { {
80+ icon : "fa-sign-in-alt" ,
81+ } }
82+ class = "p-0"
83+ />
8084 < div class = "grid grid-cols-2 gap-4" >
8185 < button
8286 type = "button"
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ import {
2727import { isDevEnvironment } from "../../../utils/misc" ;
2828import { remoteValidation } from "../../../utils/remote-validation" ;
2929import TypoList from "../../../utils/typo-list" ;
30+ import { H3 } from "../../common/Headers" ;
3031import { ValidatedInput } from "../../ui/ValidatedInput" ;
3132
3233let disposableEmailModule : typeof import ( "disposable-email-domains-js" ) | null =
@@ -109,10 +110,13 @@ export function Register(): JSXElement {
109110
110111 return (
111112 < div class = "grid w-full grid-cols-1 justify-center gap-2 sm:w-80" >
112- < div class = "inline-flex items-baseline text-sub" >
113- < i class = "fas fa-user-plus mr-[0.5em]" > </ i >
114- register
115- </ div >
113+ < H3
114+ text = "register"
115+ fa = { {
116+ icon : "fa-user-plus" ,
117+ } }
118+ class = "p-0"
119+ />
116120 < form
117121 action = ""
118122 // oxlint-disable-next-line react/no-unknown-property
You can’t perform that action at this time.
0 commit comments