File tree 3 files changed +27
-2
lines changed
views/Dashboard/components/cards
3 files changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -60,3 +60,6 @@ export const DEFAULT_CI_FUEL = {
60
60
61
61
export const PHONE_REGEX =
62
62
/ ^ ( ( \+ \d { 1 , 2 } \s ) ? \( ? \d { 3 } \) ? [ \s . - ] ? \d { 3 } [ \s . - ] ? \d { 4 } ) ? $ /
63
+
64
+ export const HELP_GUIDE_URL =
65
+ 'https://www2.gov.bc.ca/gov/content?id=7A58AF3855154747A0793F0C9A6E9089'
Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ import BCTypography from '@/components/BCTypography'
7
7
import withRole from '@/utils/withRole'
8
8
import { nonGovRoles } from '@/constants/roles'
9
9
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
10
- import { faArrowUpRightFromSquare } from '@fortawesome/free-solid-svg-icons'
10
+ import { faShareFromSquare } from '@fortawesome/free-solid-svg-icons'
11
11
import { useCurrentUser } from '@/hooks/useCurrentUser'
12
12
import { ROUTES } from '@/constants/routes'
13
+ import { HELP_GUIDE_URL } from '@/constants/common.js'
13
14
14
15
const linkStyle = {
15
16
textDecoration : 'underline' ,
@@ -59,6 +60,16 @@ const OrgUserSettingsCard = () => {
59
60
>
60
61
{ t ( 'dashboard:orgUserSettings.configureNotifications' ) }
61
62
</ UserSettingsLink >
63
+
64
+ < a href = { HELP_GUIDE_URL } target = "_blank" rel = "noreferrer" >
65
+ < UserSettingsLink >
66
+ { t ( 'dashboard:orgUserSettings.help' ) }
67
+ < FontAwesomeIcon
68
+ icon = { faShareFromSquare }
69
+ style = { { color : '#547D59' , marginLeft : 6 } }
70
+ />
71
+ </ UserSettingsLink >
72
+ </ a >
62
73
</ List >
63
74
</ Stack >
64
75
}
Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ import BCTypography from '@/components/BCTypography'
7
7
import withRole from '@/utils/withRole'
8
8
import { govRoles } from '@/constants/roles'
9
9
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
10
- import { faArrowUpRightFromSquare } from '@fortawesome/free-solid-svg-icons'
10
+ import { faShareFromSquare } from '@fortawesome/free-solid-svg-icons'
11
11
import { useCurrentUser } from '@/hooks/useCurrentUser'
12
12
import { ROUTES } from '@/constants/routes'
13
+ import { HELP_GUIDE_URL } from '@/constants/common.js'
13
14
14
15
const linkStyle = {
15
16
textDecoration : 'underline' ,
@@ -59,6 +60,16 @@ const UserSettingsCard = () => {
59
60
>
60
61
{ t ( 'dashboard:userSettings.configureNotifications' ) }
61
62
</ UserSettingsLink >
63
+
64
+ < a href = { HELP_GUIDE_URL } target = "_blank" rel = "noreferrer" >
65
+ < UserSettingsLink >
66
+ { t ( 'dashboard:userSettings.help' ) }
67
+ < FontAwesomeIcon
68
+ icon = { faShareFromSquare }
69
+ style = { { color : '#547D59' , marginLeft : 6 } }
70
+ />
71
+ </ UserSettingsLink >
72
+ </ a >
62
73
</ List >
63
74
</ Stack >
64
75
}
You can’t perform that action at this time.
0 commit comments