8000 fix(Footer): Add recommended jobs link (#662) · seek-oss/seek-style-guide@4f9dd4c · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Sep 14, 2021. It is now read-only.

Commit 4f9dd4c

Browse files
authored
fix(Footer): Add recommended jobs link (#662)
1 parent 1959b73 commit 4f9dd4c

File tree

2 files changed

+67
-0
lines changed

2 files changed

+67
-0
lines changed

react/Footer/__snapshots__/Footer.test.js.snap

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,18 @@ exports[`Footer: should render when authenticated 1`] = `
4646
Profile
4747
</a>
4848
</li>
49+
<li
50+
class=""
51+
>
52+
<a
53+
class="FooterLink__link"
54+
data-analytics="toolbar:recommended+jobs"
55+
href="/recommended"
56+
rel="nofollow"
57+
>
58+
Recommended jobs
59+
</a>
60+
</li>
4961
<li
5062
class=""
5163
>
@@ -903,6 +915,18 @@ exports[`Footer: should render when authentication is pending 1`] = `
903915
Profile
904916
</a>
905917
</li>
918+
<li
919+
class=""
920+
>
921+
<a
922+
class="FooterLink__link"
923+
data-analytics="toolbar:recommended+jobs"
924+
href="/sign-in?returnUrl=%2Frecommended"
925+
rel="nofollow"
926+
>
927+
Recommended jobs
928+
</a>
929+
</li>
906930
<li
907931
class=""
908932
>
@@ -1760,6 +1784,18 @@ exports[`Footer: should render when unauthenticated 1`] = `
17601784
Profile
17611785
</a>
17621786
</li>
1787+
<li
1788+
class=""
1789+
>
1790+
<a
1791+
class="FooterLink__link"
1792+
data-analytics="toolbar:recommended+jobs"
1793+
href="/sign-in?returnUrl=%2Frecommended"
1794+
rel="nofollow"
1795+
>
1796+
Recommended jobs
1797+
</a>
1798+
</li>
17631799
<li
17641800
class=""
17651801
>
@@ -2617,6 +2653,18 @@ exports[`Footer: should render with locale of AU 1`] = `
26172653
Profile
26182654
</a>
26192655
</li>
2656+
<li
2657+
class=""
2658+
>
2659+
<a
2660+
class="FooterLink__link"
2661+
data-analytics="toolbar:recommended+jobs"
2662+
href="/sign-in?returnUrl=%2Frecommended"
2663+
rel="nofollow"
2664+
>
2665+
Recommended jobs
2666+
</a>
2667+
</li>
26202668
<li
26212669
class=""
26222670
>
@@ -3474,6 +3522,18 @@ exports[`Footer: should render with locale of NZ 1`] = `
34743522
Profile
34753523
</a>
34763524
</li>
3525+
<li
3526+
class=""
3527+
>
3528+
<a
3529+
class="FooterLink__link"
3530+
data-analytics="toolbar:recommended+jobs"
3531+
href="/sign-in?returnUrl=%2Frecommended"
3532+
rel="nofollow"
3533+
>
3534+
Recommended jobs
3535+
</a>
3536+
</li>
34773537
<li
34783538
class=""
34793539
>

react/Footer/data/tools.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ export default [
99
href: '/profile/',
1010
analytics: 'toolbar:profile'
1111
},
12+
{
13+
name: 'Recommended jobs',
14+
href: '/recommended',
15+
rel: 'nofollow',
16+
authRequired: true,
17+
analytics: 'toolbar:recommended+jobs'
18+
},
1219
{
1320
name: 'Saved searches',
1421
href: '/my-activity/saved-searches',

0 commit comments

Comments
 (0)
0