@madgex/fert 5.0.4 → 5.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -5
- package/bin/cli.js +9 -30
- package/bin/commands/_service-command-bootstrap.js +6 -13
- package/bin/commands/build-tasks/build-tokens.js +8 -22
- package/bin/commands/build-tasks/bundle-entry.js +1 -4
- package/bin/commands/build.js +1 -0
- package/bin/commands/configs.js +17 -53
- package/bin/commands/dev-server.js +5 -14
- package/bin/commands/init.js +27 -117
- package/bin/commands/publish-tasks/asset-store-uploader.js +2 -5
- package/bin/commands/publish.js +10 -30
- package/bin/utils/configs.js +55 -95
- package/bin/utils/cpid-lookup.js +2 -2
- package/bin/utils/cpid-matches-git-remote.js +5 -10
- package/bin/utils/getSchemaMeta.js +1 -1
- package/bin/utils/index.js +14 -25
- package/bin/utils/lookup-cf-distribution-ids.js +2 -7
- package/bin/utils/resolve-external-assets.js +6 -15
- package/constants.js +3 -17
- package/package.json +17 -26
- package/repo-template/fert.config.js +3 -0
- package/repo-template/package.json +22 -0
- package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/brand.json +6 -3
- package/repo-template/services/jobseekers-frontend/fert.service.config.js +7 -0
- package/repo-template/services/jobseekers-frontend/public/icons/user.svg +4 -0
- package/repo-template/services/jobseekers-frontend/public/images/favicon.ico +0 -0
- package/repo-template/services/jobseekers-frontend/public/images/fred.jpeg +0 -0
- package/repo-template/services/jobseekers-frontend/src/css/styles.scss +1152 -0
- package/repo-template/services/jobseekers-frontend/src/index.js +9 -0
- package/repo-template/services/jobseekers-frontend/src/js/recruiter-link.js +25 -0
- package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/context/footer-nav.njk +26 -26
- package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/context/main-nav.njk +40 -31
- package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/context/user-nav.njk +16 -16
- package/repo-template/services/jobseekers-frontend/templates/footer.njk +20 -0
- package/repo-template/services/jobseekers-frontend/templates/header.njk +74 -0
- package/repo-template/services/jobseekers-frontend/templates/includes/footer-nav.njk +15 -0
- package/repo-template/services/jobseekers-frontend/templates/includes/main-nav.njk +19 -0
- package/repo-template/services/jobseekers-frontend/templates/includes/user-nav/authenticated.njk +34 -0
- package/repo-template/services/jobseekers-frontend/templates/includes/user-nav/unauthenticated.njk +9 -0
- package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/en.njk +1 -0
- package/server/index.js +2 -3
- package/server/plugins/hapi-vite.js +4 -2
- package/server/routes/views.js +1 -0
- package/server/view-manager.js +2 -5
- package/.prettierrc.js +0 -8
- package/bin/commands/configs.test.js +0 -182
- package/bin/utils/configs.test.js +0 -53
- package/bin/utils/persistent-cache-with-ttl.test.js +0 -42
- package/bin/utils/resolve-external-assets.test.js +0 -98
- package/eslint.config.mjs +0 -53
- package/repo-templates/globals/fert.config.js +0 -9
- package/repo-templates/template-basic/_gitignore +0 -6
- package/repo-templates/template-basic/package.json +0 -13
- package/repo-templates/template-basic/public/favicon.ico +0 -0
- package/repo-templates/template-basic/src/css/styles.scss +0 -11
- package/repo-templates/template-basic/src/index.js +0 -3
- package/repo-templates/template-basic/templates/footer.njk +0 -14
- package/repo-templates/template-basic/templates/header.njk +0 -14
- package/repo-templates/template-bigworkbag/_gitignore +0 -6
- package/repo-templates/template-bigworkbag/brand.json +0 -21
- package/repo-templates/template-bigworkbag/package.json +0 -13
- package/repo-templates/template-bigworkbag/public/favicon.ico +0 -0
- package/repo-templates/template-bigworkbag/public/fonts/mdgx-icons.eot +0 -0
- package/repo-templates/template-bigworkbag/public/fonts/mdgx-icons.svg +0 -71
- package/repo-templates/template-bigworkbag/public/fonts/mdgx-icons.ttf +0 -0
- package/repo-templates/template-bigworkbag/public/fonts/mdgx-icons.woff +0 -0
- package/repo-templates/template-bigworkbag/public/fonts/my-font.woff +0 -1
- package/repo-templates/template-bigworkbag/public/images/logo.png +0 -0
- package/repo-templates/template-bigworkbag/public/images/user-menu-pointer.svg +0 -4
- package/repo-templates/template-bigworkbag/src/css/breakpoints.scss +0 -17
- package/repo-templates/template-bigworkbag/src/css/clicky-menu.scss +0 -52
- package/repo-templates/template-bigworkbag/src/css/desktop-main-nav.scss +0 -25
- package/repo-templates/template-bigworkbag/src/css/desktop-user-nav.scss +0 -127
- package/repo-templates/template-bigworkbag/src/css/footer.scss +0 -77
- package/repo-templates/template-bigworkbag/src/css/header-top.scss +0 -29
- package/repo-templates/template-bigworkbag/src/css/leaderboard-ad.scss +0 -22
- package/repo-templates/template-bigworkbag/src/css/mobile-main-nav.scss +0 -68
- package/repo-templates/template-bigworkbag/src/css/mobile-user-nav.scss +0 -49
- package/repo-templates/template-bigworkbag/src/css/reset.scss +0 -91
- package/repo-templates/template-bigworkbag/src/css/styles.scss +0 -18
- package/repo-templates/template-bigworkbag/src/css/top-bar.scss +0 -13
- package/repo-templates/template-bigworkbag/src/css/typography.scss +0 -20
- package/repo-templates/template-bigworkbag/src/css/util.scss +0 -28
- package/repo-templates/template-bigworkbag/src/css/variables.scss +0 -9
- package/repo-templates/template-bigworkbag/src/index.js +0 -3
- package/repo-templates/template-bigworkbag/src/js/clicky-menus.js +0 -178
- package/repo-templates/template-bigworkbag/src/js/no-js.js +0 -10
- package/repo-templates/template-bigworkbag/templates/footer.njk +0 -68
- package/repo-templates/template-bigworkbag/templates/header.njk +0 -54
- package/repo-templates/template-bigworkbag/templates/includes/desktop-main-nav-items.njk +0 -18
- package/repo-templates/template-bigworkbag/templates/includes/desktop-user-nav/loggedin-items.njk +0 -28
- package/repo-templates/template-bigworkbag/templates/includes/desktop-user-nav/loggedout-items.njk +0 -9
- package/repo-templates/template-bigworkbag/templates/includes/desktop-user-nav/submenu-items.njk +0 -18
- package/repo-templates/template-bigworkbag/templates/includes/desktop-user-nav/user-nav.njk +0 -24
- package/repo-templates/template-bigworkbag/templates/includes/dev-console-context.njk +0 -7
- package/repo-templates/template-bigworkbag/templates/includes/mobile-main-nav-items.njk +0 -25
- package/repo-templates/template-bigworkbag/templates/includes/mobile-user-nav/loggedin-items.njk +0 -33
- package/repo-templates/template-bigworkbag/templates/includes/mobile-user-nav/loggedout-items.njk +0 -16
- package/repo-templates/template-bigworkbag/templates/includes/mobile-user-nav/user-nav.njk +0 -24
- package/repo-templates/template-bigworkbag/templates/svgs/arrow-down.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/arrow-left.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/arrow-right.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/arrow-up.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/cart.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/facebook.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/linkedin.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/profile.svg +0 -5
- package/repo-templates/template-bigworkbag/templates/svgs/star-filled.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/star-outline.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/twitter.svg +0 -3
- package/repo-templates/template-bigworkbag/templates/svgs/youtube.svg +0 -3
- /package/{repo-templates/globals → repo-template}/jenkinsfile +0 -0
- /package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/public/fonts/mdgx-icons.eot +0 -0
- /package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/public/fonts/mdgx-icons.svg +0 -0
- /package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/public/fonts/mdgx-icons.ttf +0 -0
- /package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/public/fonts/mdgx-icons.woff +0 -0
- /package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/public/fonts/my-font.woff +0 -0
- /package/{repo-templates/template-basic → repo-template/services/jobseekers-frontend}/public/images/logo.png +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/da.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/de.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/es.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/fr.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/nb.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/nl.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/sv.njk +0 -0
- /package/{repo-templates/template-bigworkbag → repo-template/services/jobseekers-frontend}/templates/translations/zh-cn.njk +0 -0
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Use to create clickable menus eg mobile mobile hamburger menu or main nav submenu
|
|
3
|
-
*
|
|
4
|
-
* Based on https://css-tricks.com/in-praise-of-the-unambiguous-click-menu/
|
|
5
|
-
* Modified from the above to use <span class=""> instead of <a href="#">
|
|
6
|
-
* for placeholder elements to be transformed into buttons.
|
|
7
|
-
*
|
|
8
|
-
* To use follow this structure:
|
|
9
|
-
* <anyelement id="[required]"> <-- menu container's direct parent
|
|
10
|
-
* <anyelement class="clicky-menu js-clicky-menu"> <-- menu container
|
|
11
|
-
* <span id="[required]" class="js-clicky-menu-control"> <-- menu control (tranformed into button when js enabled)
|
|
12
|
-
* <ul id="[required]"> <-- menu
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
(function () {
|
|
16
|
-
const ClickyMenus = function (menu) {
|
|
17
|
-
// DOM element(s)
|
|
18
|
-
let container = menu.parentElement,
|
|
19
|
-
currentMenuItem,
|
|
20
|
-
i,
|
|
21
|
-
len;
|
|
22
|
-
|
|
23
|
-
this.init = function () {
|
|
24
|
-
menuSetup();
|
|
25
|
-
document.addEventListener('click', closeOpenMenu);
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
/*===================================================
|
|
29
|
-
= Menu Open / Close Functions =
|
|
30
|
-
===================================================*/
|
|
31
|
-
function toggleOnMenuClick(e) {
|
|
32
|
-
const button = e.currentTarget;
|
|
33
|
-
|
|
34
|
-
// close open menu if there is one
|
|
35
|
-
if (currentMenuItem && button !== currentMenuItem) {
|
|
36
|
-
toggleSubmenu(currentMenuItem);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
toggleSubmenu(button);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
function toggleSubmenu(button) {
|
|
43
|
-
const submenu = document.getElementById(
|
|
44
|
-
button.getAttribute('aria-controls')
|
|
45
|
-
);
|
|
46
|
-
|
|
47
|
-
if ('true' === button.getAttribute('aria-expanded')) {
|
|
48
|
-
button.setAttribute('aria-expanded', false);
|
|
49
|
-
submenu.setAttribute('aria-hidden', true);
|
|
50
|
-
currentMenuItem = false;
|
|
51
|
-
} else {
|
|
52
|
-
button.setAttribute('aria-expanded', true);
|
|
53
|
-
submenu.setAttribute('aria-hidden', false);
|
|
54
|
-
preventOffScreenSubmenu(submenu);
|
|
55
|
-
currentMenuItem = button;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
function preventOffScreenSubmenu(submenu) {
|
|
60
|
-
const screenWidth =
|
|
61
|
-
window.innerWidth ||
|
|
62
|
-
document.documentElement.clientWidth ||
|
|
63
|
-
document.body.clientWidth,
|
|
64
|
-
parent = submenu.offsetParent,
|
|
65
|
-
menuLeftEdge = parent.getBoundingClientRect().left,
|
|
66
|
-
menuRightEdge = menuLeftEdge + submenu.offsetWidth;
|
|
67
|
-
|
|
68
|
-
if (menuRightEdge + 32 > screenWidth) {
|
|
69
|
-
// adding 32 so it's not too close
|
|
70
|
-
submenu.classList.add('sub-menu--right');
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
function closeOnEscKey(e) {
|
|
75
|
-
if (27 === e.keyCode) {
|
|
76
|
-
// we're in a submenu item
|
|
77
|
-
if (null !== e.target.closest('ul[aria-hidden="false"]')) {
|
|
78
|
-
currentMenuItem.focus();
|
|
79
|
-
toggleSubmenu(currentMenuItem);
|
|
80
|
-
|
|
81
|
-
// we're on a parent item
|
|
82
|
-
} else if ('true' === e.target.getAttribute('aria-expanded')) {
|
|
83
|
-
toggleSubmenu(currentMenuItem);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
function closeOpenMenu(e) {
|
|
89
|
-
if (currentMenuItem && !e.target.closest('#' + container.id)) {
|
|
90
|
-
toggleSubmenu(currentMenuItem);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/*===========================================================
|
|
95
|
-
= Modify Menu Markup & Bind Listeners =
|
|
96
|
-
=============================================================*/
|
|
97
|
-
function menuSetup() {
|
|
98
|
-
menu.classList.remove('no-js');
|
|
99
|
-
|
|
100
|
-
menu.querySelectorAll('ul').forEach((submenu) => {
|
|
101
|
-
const menuItem = submenu.parentElement;
|
|
102
|
-
|
|
103
|
-
if ('undefined' !== typeof submenu) {
|
|
104
|
-
let button = convertControlElementToButton(menuItem);
|
|
105
|
-
|
|
106
|
-
setUpAria(submenu, button);
|
|
107
|
-
|
|
108
|
-
// bind event listener to button
|
|
109
|
-
button.addEventListener('click', toggleOnMenuClick);
|
|
110
|
-
menu.addEventListener('keyup', closeOnEscKey);
|
|
111
|
-
}
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* Why do this? See https://justmarkup.com/articles/2019-01-21-the-link-to-button-enhancement/
|
|
117
|
-
*/
|
|
118
|
-
function convertControlElementToButton(menuItem) {
|
|
119
|
-
const controlElement = menuItem.querySelector(
|
|
120
|
-
'span.js-clicky-menu-control'
|
|
121
|
-
),
|
|
122
|
-
controlElementHTML = controlElement.innerHTML,
|
|
123
|
-
controlElementAtts = controlElement.attributes,
|
|
124
|
-
button = document.createElement('button');
|
|
125
|
-
|
|
126
|
-
if (null !== controlElement) {
|
|
127
|
-
// set button content and attributes
|
|
128
|
-
button.innerHTML = controlElementHTML.trim();
|
|
129
|
-
for (i = 0, len = controlElementAtts.length; i < len; i++) {
|
|
130
|
-
let attr = controlElementAtts[i];
|
|
131
|
-
button.setAttribute(attr.name, attr.value);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
menuItem.replaceChild(button, controlElement);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
return button;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
function setUpAria(submenu, button) {
|
|
141
|
-
const submenuId = submenu.getAttribute('id');
|
|
142
|
-
|
|
143
|
-
let id;
|
|
144
|
-
if (null === submenuId) {
|
|
145
|
-
id =
|
|
146
|
-
button.textContent.trim().replace(/\s+/g, '-').toLowerCase() +
|
|
147
|
-
'-submenu';
|
|
148
|
-
console.log(
|
|
149
|
-
'ClickyMenu - No id on: ' +
|
|
150
|
-
submenu +
|
|
151
|
-
', using: ' +
|
|
152
|
-
id +
|
|
153
|
-
' for aria-controls'
|
|
154
|
-
);
|
|
155
|
-
} else {
|
|
156
|
-
id = submenuId;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
// set button ARIA
|
|
160
|
-
button.setAttribute('aria-controls', id);
|
|
161
|
-
button.setAttribute('aria-expanded', false);
|
|
162
|
-
|
|
163
|
-
// set submenu ARIA
|
|
164
|
-
submenu.setAttribute('id', id);
|
|
165
|
-
submenu.setAttribute('aria-hidden', true);
|
|
166
|
-
}
|
|
167
|
-
};
|
|
168
|
-
|
|
169
|
-
/* Create a ClickMenus object and initiate menu for any menu with .clicky-menu class */
|
|
170
|
-
document.addEventListener('DOMContentLoaded', function () {
|
|
171
|
-
const menus = document.querySelectorAll('.js-clicky-menu');
|
|
172
|
-
|
|
173
|
-
menus.forEach((menu) => {
|
|
174
|
-
let clickyMenu = new ClickyMenus(menu);
|
|
175
|
-
clickyMenu.init();
|
|
176
|
-
});
|
|
177
|
-
});
|
|
178
|
-
})();
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
document.onreadystatechange = () => {
|
|
2
|
-
if (document.readyState === 'interactive') {
|
|
3
|
-
const noJsClass = 'no-js';
|
|
4
|
-
const header = document.querySelector('header');
|
|
5
|
-
const footer = document.querySelector('footer');
|
|
6
|
-
|
|
7
|
-
header.classList.remove(noJsClass);
|
|
8
|
-
footer.classList.remove(noJsClass);
|
|
9
|
-
}
|
|
10
|
-
};
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{# Footer #}
|
|
2
|
-
|
|
3
|
-
<!-- START HEADER FRAGMENT -->
|
|
4
|
-
<!-- HEADER-FOOTER-PODLET VERSION: {{ version }} -->
|
|
5
|
-
{%- from templatePath + "translations/en.njk" import translations -%}
|
|
6
|
-
{%- from templatePath + "context/footer-nav.njk" import footerNavigation -%}
|
|
7
|
-
|
|
8
|
-
<footer role="contentinfo" class="contentinfo no-js" scoped-v6="">
|
|
9
|
-
<div class="back-to-top">
|
|
10
|
-
<div class="wrapper">
|
|
11
|
-
<a href="#top-bar">{{ translations.footer["back-to-top"] }}</a>
|
|
12
|
-
</div>
|
|
13
|
-
</div>
|
|
14
|
-
|
|
15
|
-
<div class="wrapper">
|
|
16
|
-
|
|
17
|
-
<nav aria-label="{{ translations.footer["footer"] }}" class="footer-nav">
|
|
18
|
-
<ul class="footer-nav__items">
|
|
19
|
-
{%- if footerNavigation.length -%}
|
|
20
|
-
{%- for item in footerNavigation -%}
|
|
21
|
-
<li class="footer-nav__item">
|
|
22
|
-
<a
|
|
23
|
-
class="footer-nav__link"
|
|
24
|
-
href="{{ item.href }}"
|
|
25
|
-
{%- if item.openInNewWindow -%} target="_blank" rel="noopener" {% endif %}>
|
|
26
|
-
{{ item.label | safe }}
|
|
27
|
-
{%- if item.openInNewWindow %}
|
|
28
|
-
<span class="visually-hidden">{{ translations.header["link-new-window"] }}</span>
|
|
29
|
-
{%- endif -%}
|
|
30
|
-
</a>
|
|
31
|
-
</li>
|
|
32
|
-
{%- endfor -%}
|
|
33
|
-
{%- endif -%}
|
|
34
|
-
</ul>
|
|
35
|
-
</nav>
|
|
36
|
-
|
|
37
|
-
<ul class="social-media__items">
|
|
38
|
-
<li class="social-media__item">
|
|
39
|
-
<a
|
|
40
|
-
class="social-media__link"
|
|
41
|
-
href="https://www.facebook.com">
|
|
42
|
-
{% include templatePath + "svgs/facebook.svg" %}
|
|
43
|
-
<span class="visually-hidden">Facebook</span>
|
|
44
|
-
</a>
|
|
45
|
-
</li>
|
|
46
|
-
<li class="social-media__item">
|
|
47
|
-
<a
|
|
48
|
-
class="social-media__link"
|
|
49
|
-
href="https://www.linkedin.com">
|
|
50
|
-
{% include templatePath + "svgs/linkedin.svg" %}
|
|
51
|
-
<span class="visually-hidden">linkedIn</span>
|
|
52
|
-
</a>
|
|
53
|
-
</li>
|
|
54
|
-
<li class="social-media__item">
|
|
55
|
-
<a
|
|
56
|
-
class="social-media__link"
|
|
57
|
-
href="https://www.youtube.com">
|
|
58
|
-
{% include templatePath + "svgs/youtube.svg" %}
|
|
59
|
-
<span class="visually-hidden">YouTube</span>
|
|
60
|
-
</a>
|
|
61
|
-
</li>
|
|
62
|
-
</ul>
|
|
63
|
-
|
|
64
|
-
<p class="copyright">
|
|
65
|
-
© 2008 - 2021 bigworkbag.com, all rights reserved. Powered by Madgex Job Board Software
|
|
66
|
-
</p>
|
|
67
|
-
</div>
|
|
68
|
-
</footer>
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
{# Header #}
|
|
2
|
-
|
|
3
|
-
{% include templatePath + "includes/dev-console-context.njk" %}
|
|
4
|
-
|
|
5
|
-
<!-- START HEADER FRAGMENT -->
|
|
6
|
-
<!-- HEADER-FOOTER-PODLET VERSION: {{ version }} -->
|
|
7
|
-
{%- from templatePath + "translations/en.njk" import translations -%}
|
|
8
|
-
|
|
9
|
-
<header role="banner" class="banner no-js" scoped-v6="">
|
|
10
|
-
<div id="ad-leaderboard" class="ad ad--leaderboard ad--leaderboard--empty"></div>
|
|
11
|
-
|
|
12
|
-
<div id="top-bar" class="top-bar">
|
|
13
|
-
<nav aria-label="{{ translations.header["main"] }}" id="mobile-main-nav" class="mobile-main-nav">
|
|
14
|
-
<div class="clicky-menu js-clicky-menu">
|
|
15
|
-
<span
|
|
16
|
-
id="mobile-main-nav-clicky-menu-control"
|
|
17
|
-
class="clicky-menu-control js-clicky-menu-control">
|
|
18
|
-
<div class="hamburger">
|
|
19
|
-
<div class="hamburger-line"></div>
|
|
20
|
-
<div class="hamburger-line"></div>
|
|
21
|
-
<div class="hamburger-line"></div>
|
|
22
|
-
<div class="hamburger-line"></div>
|
|
23
|
-
</div>
|
|
24
|
-
</span>
|
|
25
|
-
<ul id="mobile-main-nav__items" class="mobile-main-nav__items">
|
|
26
|
-
{% include templatePath + "includes/mobile-main-nav-items.njk" %}
|
|
27
|
-
</ul>
|
|
28
|
-
</div>
|
|
29
|
-
</nav>
|
|
30
|
-
{% include templatePath + "includes/mobile-user-nav/user-nav.njk" %}
|
|
31
|
-
</div>
|
|
32
|
-
|
|
33
|
-
<div id="ad-mobileleaderboard" class="ad ad--mobileleaderboard ad--mobileleaderboard--empty"></div>
|
|
34
|
-
|
|
35
|
-
<div class="header-top">
|
|
36
|
-
<div class="wrapper">
|
|
37
|
-
<div class="primary-logo">
|
|
38
|
-
<a href="/" aria-label="{{ translations.header["homepage"] }}">
|
|
39
|
-
<img src="/_/jobseekers-frontend/assets/images/logo.png" title="bigworkbag.com" alt="bigworkbag.com logo"/>
|
|
40
|
-
</a>
|
|
41
|
-
</div>
|
|
42
|
-
{% include templatePath + "includes/desktop-user-nav/user-nav.njk" %}
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
|
|
46
|
-
<nav aria-label="{{ translations.header["main"] }}" id="desktop-main-nav" class="desktop-main-nav">
|
|
47
|
-
<div class="wrapper">
|
|
48
|
-
<ul class="desktop-main-nav__items">
|
|
49
|
-
{% include templatePath + "includes/desktop-main-nav-items.njk" %}
|
|
50
|
-
</ul>
|
|
51
|
-
</div>
|
|
52
|
-
</nav>
|
|
53
|
-
</header>
|
|
54
|
-
<!-- END HEADER FRAGMENT -->
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{# Desktop main nav items #}
|
|
2
|
-
|
|
3
|
-
{%- from templatePath + "context/main-nav.njk" import mainNavigation -%}
|
|
4
|
-
|
|
5
|
-
{% if mainNavigation.length %}
|
|
6
|
-
{% for item in mainNavigation %}
|
|
7
|
-
<li class="desktop-main-nav__item">
|
|
8
|
-
<a
|
|
9
|
-
class="desktop-main-nav__link"
|
|
10
|
-
href="{{ item.href }}"
|
|
11
|
-
{%- if item.openInNewWindow -%}target="_blank" rel="noopener"{% endif %}>
|
|
12
|
-
<span class="desktop-main-nav__label">{{- item.label | safe -}}</span>
|
|
13
|
-
{%- if item.openInNewWindow %}<span class="visually-hidden">{{ translations.header["link-new-window"] }}</span>{% endif %}
|
|
14
|
-
</a>
|
|
15
|
-
</li>
|
|
16
|
-
{% endfor %}
|
|
17
|
-
{% endif %}
|
|
18
|
-
|
package/repo-templates/template-bigworkbag/templates/includes/desktop-user-nav/loggedin-items.njk
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{# Desktop user nav logged in items #}
|
|
2
|
-
|
|
3
|
-
<li class="desktop-user-nav__item clicky-menu js-clicky-menu">
|
|
4
|
-
<span
|
|
5
|
-
id="desktop-user-nav-clicky-menu-control"
|
|
6
|
-
class="clicky-menu-control js-clicky-menu-control"
|
|
7
|
-
aria-label="Account menu">
|
|
8
|
-
{% include templatePath + "svgs/profile.svg" %}
|
|
9
|
-
{{ auth.credentials.username | safe }}
|
|
10
|
-
{% include templatePath + "svgs/arrow-down.svg" %}
|
|
11
|
-
</span>
|
|
12
|
-
<ul
|
|
13
|
-
id="desktop-user-nav-submenu-items"
|
|
14
|
-
class="desktop-user-nav__submenu-items">
|
|
15
|
-
{% include templatePath + "includes/desktop-user-nav/submenu-items.njk" %}
|
|
16
|
-
</ul>
|
|
17
|
-
</li>
|
|
18
|
-
<li class="desktop-user-nav__item desktop-user-nav__item--shortlist">
|
|
19
|
-
<a
|
|
20
|
-
href="/your-jobs?ActiveSection=ShortList"
|
|
21
|
-
aria-label="{{ translations.header["your-shortlist"] }}">
|
|
22
|
-
<span class="desktop-user-nav__shortlist-count">{{ auth.artifacts.shortlistedJobs | length | default(0) }}</span>
|
|
23
|
-
{% include templatePath + "svgs/star-filled.svg" %}
|
|
24
|
-
</a>
|
|
25
|
-
</li>
|
|
26
|
-
<li class="desktop-user-nav__item">
|
|
27
|
-
<a href="{{ getServiceRoute('jobseekersite', 'account.logoff') }}">{{ translations.header["sign-out"] }}</a>
|
|
28
|
-
</li>
|
package/repo-templates/template-bigworkbag/templates/includes/desktop-user-nav/loggedout-items.njk
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{# Desktop user nav logged in items #}
|
|
2
|
-
|
|
3
|
-
<li class="desktop-user-nav__item">
|
|
4
|
-
<a href="{{ getServiceRoute('jobseekersite', 'account.login') }}">{{ translations.header["sign-in"] }}</a>
|
|
5
|
-
</li>
|
|
6
|
-
<li class="desktop-user-nav__item">{{ translations.header["or"] }}</li>
|
|
7
|
-
<li class="desktop-user-nav__item">
|
|
8
|
-
<a href="{{ getServiceRoute('jobseekersite', 'account.signup') }}">{{ translations.header["create-account"] }}</a>
|
|
9
|
-
</li>
|
package/repo-templates/template-bigworkbag/templates/includes/desktop-user-nav/submenu-items.njk
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{# Desktop user nav submenu items #}
|
|
2
|
-
|
|
3
|
-
{%- from templatePath + "context/user-nav.njk" import userNavigation -%}
|
|
4
|
-
|
|
5
|
-
{% if userNavigation.length %}
|
|
6
|
-
{% for item in userNavigation %}
|
|
7
|
-
<li class="desktop-user-nav__submenu-item">
|
|
8
|
-
<a
|
|
9
|
-
class="desktop-user-nav__submenu-link"
|
|
10
|
-
href="{{ item.href }}"
|
|
11
|
-
{%- if item.openInNewWindow -%}target="_blank" rel="noopener"{% endif %}>
|
|
12
|
-
<span class="desktop-user-nav__label">{{- item.label | safe -}}</span>
|
|
13
|
-
{%- if item.openInNewWindow %}
|
|
14
|
-
<span class="visually-hidden">{{ translations.header["link-new-window"] }}</span>{% endif %}
|
|
15
|
-
</a>
|
|
16
|
-
</li>
|
|
17
|
-
{% endfor %}
|
|
18
|
-
{% endif %}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{# Desktop user nav #}
|
|
2
|
-
|
|
3
|
-
{% if auth.isAuthenticated %}
|
|
4
|
-
{% set class="desktop-user-nav--loggedin"%}
|
|
5
|
-
{% set userNavItems = templatePath + "includes/desktop-user-nav/loggedin-items.njk" %}
|
|
6
|
-
{% else %}
|
|
7
|
-
{% set class="desktop-user-nav--loggedout"%}
|
|
8
|
-
{% set userNavItems = templatePath + "includes/desktop-user-nav/loggedout-items.njk" %}
|
|
9
|
-
{% endif %}
|
|
10
|
-
|
|
11
|
-
<nav
|
|
12
|
-
id="desktop-user-nav"
|
|
13
|
-
class="desktop-user-nav {{ class }}"
|
|
14
|
-
aria-label="{{ translations.header["user"] }}">
|
|
15
|
-
<a
|
|
16
|
-
href="https://bigworkbag-rs.madgexjb.com/"
|
|
17
|
-
class="recruiter-link">
|
|
18
|
-
{{ translations.header["recruiters"] }}
|
|
19
|
-
{% include templatePath + "svgs/arrow-right.svg" %}
|
|
20
|
-
</a>
|
|
21
|
-
<ul id="desktop-user-nav__items" class="desktop-user-nav__items">
|
|
22
|
-
{% include userNavItems %}
|
|
23
|
-
</ul>
|
|
24
|
-
</nav>
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{# Mobile main nav items #}
|
|
2
|
-
|
|
3
|
-
{%- from templatePath + "context/main-nav.njk" import mainNavigation -%}
|
|
4
|
-
|
|
5
|
-
{% if mainNavigation.length %}
|
|
6
|
-
{% for item in mainNavigation %}
|
|
7
|
-
<li class="mobile-main-nav__item">
|
|
8
|
-
<a
|
|
9
|
-
class="mobile-main-nav__link"
|
|
10
|
-
href="{{ item.href }}"
|
|
11
|
-
{%- if item.openInNewWindow -%}target="_blank" rel="noopener"{% endif %}>
|
|
12
|
-
<span class="mobile-main-nav__label">{{- item.label | safe -}}</span>
|
|
13
|
-
{%- if item.openInNewWindow %}<span class="visually-hidden">{{ translations.header["link-new-window"] }}</span>{% endif %}
|
|
14
|
-
</a>
|
|
15
|
-
</li>
|
|
16
|
-
{% endfor %}
|
|
17
|
-
{% endif %}
|
|
18
|
-
|
|
19
|
-
<li class="mobile-main-nav__item">
|
|
20
|
-
<a
|
|
21
|
-
href="https://bigworkbag-rs.madgexjb.com/"
|
|
22
|
-
class="mobile-main-nav__link">
|
|
23
|
-
{{ translations.header["recruiters"] }}
|
|
24
|
-
</a>
|
|
25
|
-
</li>
|
package/repo-templates/template-bigworkbag/templates/includes/mobile-user-nav/loggedin-items.njk
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
{# Mobile user nav logged in items #}
|
|
2
|
-
|
|
3
|
-
<li class="mobile-user-nav__item">{{ auth.credentials.username | safe }}</li>
|
|
4
|
-
|
|
5
|
-
{%- from templatePath + "context/user-nav.njk" import userNavigation -%}
|
|
6
|
-
{% if userNavigation.length %}
|
|
7
|
-
{% for item in userNavigation %}
|
|
8
|
-
<li class="mobile-user-nav__item">
|
|
9
|
-
<a
|
|
10
|
-
class="mobile-user-nav__link"
|
|
11
|
-
href="{{ item.href }}"
|
|
12
|
-
{%- if item.openInNewWindow -%}target="_blank" rel="noopener"{% endif %}>
|
|
13
|
-
<span class="mobile-user-nav__label">{{- item.label | safe -}}</span>
|
|
14
|
-
{%- if item.openInNewWindow %}<span class="visually-hidden">{{ translations.header["link-new-window"] }}</span>{% endif %}
|
|
15
|
-
</a>
|
|
16
|
-
</li>
|
|
17
|
-
{% endfor %}
|
|
18
|
-
{% endif %}
|
|
19
|
-
|
|
20
|
-
<li class="mobile-user-nav__item">
|
|
21
|
-
<a
|
|
22
|
-
href="/your-jobs?ActiveSection=ShortList"
|
|
23
|
-
class="mobile-user-nav__link">
|
|
24
|
-
{{ translations.header["your-shortlist"] }}
|
|
25
|
-
</a>
|
|
26
|
-
</li>
|
|
27
|
-
<li class="mobile-user-nav__item">
|
|
28
|
-
<a
|
|
29
|
-
href="{{ getServiceRoute('jobseekersite', 'account.logoff') }}"
|
|
30
|
-
class="mobile-user-nav__link">
|
|
31
|
-
{{ translations.header["sign-out"] }}
|
|
32
|
-
</a>
|
|
33
|
-
</li>
|
package/repo-templates/template-bigworkbag/templates/includes/mobile-user-nav/loggedout-items.njk
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{# Mobile user nav logged out items #}
|
|
2
|
-
|
|
3
|
-
<li class="mobile-user-nav__item">
|
|
4
|
-
<a
|
|
5
|
-
href="{{ getServiceRoute('jobseekersite', 'account.login') }}"
|
|
6
|
-
class="mobile-user-nav__link">
|
|
7
|
-
{{ translations.header["sign-in"] }}
|
|
8
|
-
</a>
|
|
9
|
-
</li>
|
|
10
|
-
<li class="mobile-user-nav__item">
|
|
11
|
-
<a
|
|
12
|
-
href="{{ getServiceRoute('jobseekersite', 'account.signup') }}"
|
|
13
|
-
class="mobile-user-nav__link">
|
|
14
|
-
{{ translations.header["create-account"] }}
|
|
15
|
-
</a>
|
|
16
|
-
</li>
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{# Mobile user nav #}
|
|
2
|
-
|
|
3
|
-
{% if auth.isAuthenticated %}
|
|
4
|
-
{% set class = "mobile-user-nav--loggedin" %}
|
|
5
|
-
{% set userNavItemsPath = templatePath + "includes/mobile-user-nav/loggedin-items.njk" %}
|
|
6
|
-
{% else %}
|
|
7
|
-
{% set class = "mobile-user-nav--loggedout" %}
|
|
8
|
-
{% set userNavItemsPath = templatePath + "includes/mobile-user-nav/loggedout-items.njk" %}
|
|
9
|
-
{% endif %}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<nav id="mobile-user-nav" class="mobile-user-nav {{ class }}" aria-label="{{ translations.header["user"] }}">
|
|
13
|
-
<div class="clicky-menu js-clicky-menu">
|
|
14
|
-
<span
|
|
15
|
-
id="mobile-user-nav-clicky-menu-control"
|
|
16
|
-
class="clicky-menu-control js-clicky-menu-control">
|
|
17
|
-
{% include templatePath + "svgs/profile.svg" %}
|
|
18
|
-
</span>
|
|
19
|
-
<ul id="mobile-user-nav__items" class="mobile-user-nav__items">
|
|
20
|
-
{% include userNavItemsPath %}
|
|
21
|
-
</ul>
|
|
22
|
-
</div>
|
|
23
|
-
</nav>
|
|
24
|
-
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg class="cart" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
2
|
-
<path d="M31.841 28.882c0 1.515-1.228 2.742-2.742 2.742s-2.742-1.228-2.742-2.742c0-1.515 1.228-2.742 2.742-2.742s2.742 1.228 2.742 2.742zM15.1 28.856c0 1.515-1.228 2.742-2.742 2.742s-2.742-1.228-2.742-2.742c0-1.515 1.228-2.742 2.742-2.742s2.742 1.228 2.742 2.742zM29.057 17.713h-16.683l-1.722-12.313 18.405 3.673zM32.063 23.776h-24.856l-2.882-19.849-4.325-1.026v-3.34l7.031 1.981 2.795 19.228h22.236z"></path>
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg class="facebook" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
2
|
-
<path d="M17.821 31.624v-14.626h4.91l0.735-5.7h-5.644v-3.639c0-1.65 0.458-2.774 2.825-2.774l3.018-0.001v-5.098c-0.522-0.069-2.314-0.224-4.399-0.224-4.351 0-7.33 2.656-7.33 7.534v4.203h-4.922v5.7h4.922v14.626h5.885z"></path>
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg class="linkedin" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
2
|
-
<path d="M1.497 10.553h6.232v20.044h-6.232v-20.044zM4.613 0.589c1.992 0 3.61 1.618 3.61 3.611 0 1.995-1.618 3.613-3.61 3.613-1.997 0-3.611-1.618-3.611-3.613 0-1.992 1.614-3.611 3.611-3.611zM11.636 10.553h5.977v2.737h0.085c0.832-1.575 2.865-3.237 5.896-3.237 6.303 0 7.469 4.15 7.469 9.55v10.994h-6.222v-9.747c0-2.326-0.045-5.315-3.238-5.315-3.242 0-3.736 2.532-3.736 5.147v9.915h-6.228v-20.044z"></path>
|
|
3
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg class="profile" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewbox="0 0 32 32">
|
|
2
|
-
<path
|
|
3
|
-
d="M8.016 9.581c0 4.427 3.589 8.016 8.016 8.016s8.016-3.589 8.016-8.016-3.589-8.016-8.016-8.016-8.016 3.589-8.016 8.016zM24.047 19.601h-16.031c-4.427 0-8.016 3.589-8.016 8.016v2.004h32.063v-2.004c0-4.427-3.589-8.016-8.016-8.016z">
|
|
4
|
-
</path>
|
|
5
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg class="star-outline" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
2
|
-
<path d="M16.031 6.006l3.29 6.668 7.358 1.069-5.324 5.189 0.222 1.298 1.034 6.030-6.581-3.461-6.581 3.461 1.256-7.327-5.324-5.189 7.358-1.069 3.29-6.668M16.031 0.346l-4.954 10.038-11.078 1.609 8.016 7.813-1.893 11.033 9.908-5.209 9.908 5.209-1.893-11.033 8.016-7.813-11.078-1.609-4.954-10.038z"></path>
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg class="twitter" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
2
|
-
<path d="M32.063 5.307c-1.176 0.524-2.446 0.88-3.775 1.036 1.36-0.814 2.398-2.101 2.893-3.643-1.271 0.756-2.681 1.304-4.176 1.601-1.204-1.276-2.91-2.079-4.8-2.079-3.631 0-6.582 2.947-6.582 6.58 0 0.512 0.060 1.015 0.168 1.497-5.465-0.273-10.312-2.892-13.555-6.874-0.565 0.974-0.889 2.104-0.889 3.309 0 2.283 1.156 4.296 2.928 5.475-1.083-0.036-2.099-0.333-2.985-0.819 0 0.028 0 0.056 0 0.083 0 3.183 2.268 5.84 5.278 6.448-0.556 0.147-1.131 0.228-1.733 0.228-0.426 0-0.835-0.039-1.235-0.118 0.833 2.614 3.267 4.516 6.141 4.569-2.247 1.765-5.087 2.814-8.172 2.814-0.526 0-1.053-0.029-1.567-0.089 2.911 1.865 6.368 2.955 10.087 2.955 12.101 0 18.712-10.026 18.712-18.717 0-0.287-0.004-0.57-0.020-0.85 1.285-0.927 2.405-2.088 3.284-3.406z"></path>
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg class="youtube" xmlns="http://www.w3.org/2000/svg" width="28" height="32" viewBox="0 0 28 32">
|
|
2
|
-
<path d="M17.373 21.819v3.775q0 1.199-0.698 1.199-0.412 0-0.805-0.394v-5.386q0.394-0.394 0.805-0.394 0.698 0 0.698 1.199zM23.421 21.837v0.823h-1.61v-0.823q0-1.217 0.805-1.217t0.805 1.217zM6.137 17.937h1.914v-1.682h-5.582v1.682h1.879v10.181h1.789v-10.181zM11.29 28.117h1.592v-8.839h-1.592v6.763q-0.537 0.751-1.020 0.751-0.322 0-0.376-0.376-0.018-0.054-0.018-0.626v-6.513h-1.592v6.996q0 0.877 0.143 1.306 0.215 0.662 1.038 0.662 0.859 0 1.825-1.091v0.966zM18.966 25.469v-3.525q0-1.306-0.161-1.771-0.304-1.002-1.27-1.002-0.895 0-1.664 0.966v-3.883h-1.592v11.862h1.592v-0.859q0.805 0.984 1.664 0.984 0.966 0 1.27-0.984 0.161-0.483 0.161-1.789zM25.013 25.29v-0.233h-1.628q0 0.913-0.036 1.091-0.125 0.644-0.716 0.644-0.823 0-0.823-1.235v-1.557h3.203v-1.843q0-1.413-0.483-2.075-0.698-0.913-1.897-0.913-1.217 0-1.915 0.913-0.501 0.662-0.501 2.075v3.095q0 1.413 0.519 2.075 0.698 0.913 1.932 0.913 1.288 0 1.932-0.948 0.322-0.483 0.376-0.966 0.036-0.161 0.036-1.038zM14.135 8.955v-3.757q0-1.235-0.769-1.235t-0.769 1.235v3.757q0 1.252 0.769 1.252t0.769-1.252zM26.999 22.392q0 4.187-0.465 6.262-0.25 1.056-1.038 1.771t-1.825 0.823q-3.292 0.376-9.93 0.376t-9.93-0.376q-1.038-0.107-1.834-0.823t-1.029-1.771q-0.465-2.004-0.465-6.262 0-4.187 0.465-6.262 0.25-1.056 1.038-1.771t1.843-0.841q3.274-0.358 9.912-0.358t9.93 0.358q1.038 0.125 1.834 0.841t1.029 1.771q0.465 2.004 0.465 6.262zM9.143-0.438h1.825l-2.165 7.139v4.849h-1.789v-4.849q-0.25-1.324-1.091-3.793-0.662-1.843-1.163-3.346h1.897l1.27 4.706zM15.763 5.52v3.131q0 1.449-0.501 2.111-0.662 0.913-1.897 0.913-1.199 0-1.879-0.913-0.501-0.68-0.501-2.111v-3.131q0-1.431 0.501-2.093 0.68-0.912 1.879-0.912 1.235 0 1.897 0.912 0.501 0.662 0.501 2.093zM21.757 2.621v8.928h-1.628v-0.984q-0.948 1.109-1.843 1.109-0.823 0-1.056-0.662-0.143-0.429-0.143-1.342v-7.049h1.628v6.566q0 0.59 0.018 0.626 0.054 0.394 0.376 0.394 0.483 0 1.020-0.769v-6.817h1.628z"></path>
|
|
3
|
-
</svg>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|