Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exitpopup update - adding background opacity #517

Open
wants to merge 1,782 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1782 commits
Select commit Hold shift + click to select a range
f79de8d
fixed plan switcher buttons
abutuza Oct 1, 2024
9f3a97d
updates
ltiseanu Oct 1, 2024
7d43117
adjusted sticky navigation button poistioning
abutuza Oct 1, 2024
822dbf5
fix lint
ltiseanu Oct 1, 2024
32a51bc
Merge pull request #256 from bitdefender/migration-datalayer-updates
enake Oct 1, 2024
7e43ae9
Merge pull request #258 from bitdefender/DEX-20176
enake Oct 1, 2024
958ec5f
Revert "fix: footer logic for AEM"
enake Oct 1, 2024
a2de705
Merge pull request #259 from bitdefender/revert-257-footer-fix
enake Oct 1, 2024
6a46016
feat: move analytics code out of delayed
enake Oct 1, 2024
fc81b93
Merge pull request #260 from bitdefender/adobe
enake Oct 1, 2024
bca217e
fix: adobe dtm was loaded twice
enake Oct 1, 2024
59b9134
Merge pull request #261 from bitdefender/adobe
enake Oct 1, 2024
3ca863c
clean: remove placeholders logic
enake Oct 1, 2024
3a132af
fix: lint
enake Oct 1, 2024
ca75f58
Merge pull request #262 from bitdefender/adobe
enake Oct 1, 2024
10596f1
fixed input stacking
abutuza Oct 1, 2024
1f326e2
Merge pull request #263 from bitdefender/fixed-radio-input
abutuza Oct 1, 2024
2a83a7c
fix: product currency
ltiseanu Oct 1, 2024
9ce5f69
fix: lint
ltiseanu Oct 1, 2024
fd02047
fix lint
ltiseanu Oct 1, 2024
34cad20
Merge pull request #264 from bitdefender/tracking-update
enake Oct 1, 2024
e4a338f
Refactor hreflang tag generation logic
Matei-Iordache Oct 2, 2024
1dc99a6
Remove whole hreflang logic
Matei-Iordache Oct 2, 2024
3fe7dbe
Merge branch 'main' into feature-DEX-20103-init-selector-mbox
Matei-Iordache Oct 2, 2024
3c441f5
Merge pull request #266 from bitdefender/resolve-hreflang
Matei-Iordache Oct 2, 2024
9540490
make target pid mboxes work
Matei-Iordache Oct 2, 2024
2b32b3a
adding naming on error page
ltiseanu Oct 2, 2024
cd0cd8e
Merge pull request #267 from bitdefender/tracking-pagerr
ltiseanu Oct 2, 2024
3e4f73a
[DEX-20216] - Adobe mc on product block fix
vradulescu-bd Oct 3, 2024
c14fed3
Merge pull request #268 from bitdefender/DEX-20216
vradulescu-bd Oct 3, 2024
a939b28
aligned features columns
abutuza Oct 3, 2024
e4a2f83
fixed lint
abutuza Oct 3, 2024
7e1cc25
Refactor toModel function to be asynchronous
Matei-Iordache Oct 3, 2024
a19dcc1
Refactor toModel function to be asynchronous
Matei-Iordache Oct 3, 2024
8879b57
Refactor renderStickyNavigation function to be asynchronous and appen…
Matei-Iordache Oct 3, 2024
2653f54
lint fix
Matei-Iordache Oct 3, 2024
eaae091
Merge pull request #269 from bitdefender/DEX-20237
abutuza Oct 3, 2024
b42f9cd
fix: regex for extracting locale
enake Oct 4, 2024
37cc099
feat: get footer from AEM exp fragment.
enake Oct 4, 2024
55c8302
fix: console error, racing condition
enake Oct 4, 2024
a8a0bae
fix: lint & imports
enake Oct 4, 2024
eb1dc9c
Merge pull request #270 from bitdefender/feature-DEX-20103-init-selec…
enake Oct 4, 2024
a10876a
Revert "Feature dex 20103 init selector mbox"
Matei-Iordache Oct 4, 2024
81b2442
Merge pull request #273 from bitdefender/revert-270-feature-DEX-20103…
enake Oct 4, 2024
6c2a824
Merge pull request #271 from bitdefender/404
enake Oct 4, 2024
1eee86e
removed analytics call
iconstantin-bd Oct 4, 2024
32052e7
DEX-20103 | moved the target initialisation before the loadBlocks
iconstantin-bd Oct 4, 2024
9f8c4d2
Merge pull request #270 from bitdefender/feature-DEX-20103-init-selec…
enake Oct 4, 2024
3925b2c
moved loadTrackers before loadBlocks
iconstantin-bd Oct 4, 2024
5c41133
fixed sticky navigation
iconstantin-bd Oct 4, 2024
73afc55
added news-bar to LCP_BLOCKS
iconstantin-bd Oct 4, 2024
ce653b6
tried to improve loadEager logic
iconstantin-bd Oct 4, 2024
d096fa7
improved waitForLCP further
iconstantin-bd Oct 4, 2024
26df136
reverted to old performance for loadEager
iconstantin-bd Oct 4, 2024
6f0b5e3
Merge pull request #275 from bitdefender/dex-20103-remastered
enake Oct 4, 2024
162ef34
fix
vradulescu-bd Oct 4, 2024
14df870
Merge pull request #276 from bitdefender/fix-tracking
enake Oct 4, 2024
e5505a1
Merge pull request #274 from bitdefender/DEX-20103
enake Oct 4, 2024
c378d32
removed from scripts.ks
vradulescu-bd Oct 4, 2024
feedf3a
Merge pull request #277 from bitdefender/fix-tracking
enake Oct 4, 2024
c03b7ca
aligned awards images
abutuza Oct 4, 2024
8af8ce4
aligned awards images
abutuza Oct 4, 2024
6e85c9e
aligned awards images
abutuza Oct 4, 2024
ffacf96
aligned awards images
abutuza Oct 4, 2024
dce536c
fixed data layer
iconstantin-bd Oct 4, 2024
6bb58e6
Merge pull request #278 from bitdefender/fix-data-layer-temporary
enake Oct 4, 2024
db243ea
fixed unreadable button text
abutuza Oct 7, 2024
c392a30
lint fix
abutuza Oct 7, 2024
5b4986c
lint fix
abutuza Oct 7, 2024
74a909d
lint fix
abutuza Oct 7, 2024
02a5640
Merge pull request #279 from bitdefender/DEX-20256
enake Oct 7, 2024
c71f463
fixed stickynav button
abutuza Oct 7, 2024
4374dce
Merge pull request #280 from bitdefender/fixed-stickynav-btn
enake Oct 7, 2024
caa4cad
Refactor getLocale function to handle default locale when no match is…
Matei-Iordache Oct 7, 2024
5360df4
Merge pull request #281 from bitdefender/fix-hlx-bot
enake Oct 7, 2024
bf420fe
DEX-20169
vradulescu-bd Oct 7, 2024
a65ed8a
DEX-20169
vradulescu-bd Oct 7, 2024
089fe5e
Merge pull request #282 from bitdefender/DEX-20169
enake Oct 7, 2024
fcd8349
fixed mega menu
iconstantin-bd Oct 7, 2024
499b2a2
fixed linter
iconstantin-bd Oct 7, 2024
362d8ad
fixed pid placement in the buy link for new prod boxes
iconstantin-bd Oct 7, 2024
36c15ff
Merge pull request #283 from bitdefender/mega-menu-update-code
enake Oct 7, 2024
0f161fe
refactored getDefaultLanguage function
abutuza Oct 8, 2024
3a2eb30
removed getDefaultLanguage functionality
abutuza Oct 8, 2024
92833a6
fixed lint
abutuza Oct 8, 2024
74e810d
Merge pull request #284 from bitdefender/DEX-19810
abutuza Oct 8, 2024
50066a7
fix-header-metadata
Matei-Iordache Oct 8, 2024
847160a
Merge pull request #285 from bitdefender/fix-header
abutuza Oct 8, 2024
0911499
Add await-loader animation. Make price calls asyncronous again
Matei-Iordache Oct 8, 2024
524e74d
fixed green tag currency format
abutuza Oct 8, 2024
758919d
lint fix
abutuza Oct 8, 2024
1803bb2
Update av free has specific pid
ltiseanu Oct 8, 2024
bd84d52
adding user detected
ltiseanu Oct 8, 2024
d9a3370
fix productFinding value
ltiseanu Oct 8, 2024
0d236f0
adding free av code
ltiseanu Oct 8, 2024
7243595
update
ltiseanu Oct 8, 2024
8bc26ca
update
ltiseanu Oct 8, 2024
3d5abbb
update
ltiseanu Oct 8, 2024
b1e0b8e
update
ltiseanu Oct 8, 2024
f8edce3
update
ltiseanu Oct 8, 2024
93b3ba7
push sendAnalyticsUserInfo();
ltiseanu Oct 8, 2024
12696b6
update
ltiseanu Oct 8, 2024
d3a30ef
add sendAnalyticsUserInfo earlier
ltiseanu Oct 8, 2024
d9003cf
update
ltiseanu Oct 8, 2024
281681d
fix: typo
ltiseanu Oct 8, 2024
39c774f
fix: lint
ltiseanu Oct 8, 2024
8437302
fix lint
ltiseanu Oct 8, 2024
c82ba2e
Merge pull request #288 from bitdefender/trackingv2
enake Oct 9, 2024
f4cf885
Merge pull request #286 from bitdefender/add-await-loader
Matei-Iordache Oct 9, 2024
3ccc53f
Merge pull request #287 from bitdefender/DEX-19810
abutuza Oct 9, 2024
6623822
feat: add full width class
ltiseanu Oct 9, 2024
e3127a0
Merge pull request #289 from bitdefender/updatev2
inastase Oct 9, 2024
6119e0f
add await loader on hero and product components
Matei-Iordache Oct 9, 2024
286b761
feat: trigger the tracking immediately
enake Oct 9, 2024
587687e
Merge pull request #290 from bitdefender/add-await-loader
Matei-Iordache Oct 9, 2024
42de551
Merge pull request #291 from bitdefender/tracking
enake Oct 9, 2024
65894bf
fix: adding pid in buylink
ltiseanu Oct 9, 2024
c5099c5
fix: correct logic of adding pid in buylink
ltiseanu Oct 9, 2024
188b8b8
fix: lint
ltiseanu Oct 9, 2024
67c9b0b
created the store structure
iconstantin-bd Oct 9, 2024
578ecc7
Merge pull request #292 from bitdefender/DEX-20386
inastase Oct 10, 2024
0e93ea0
changes for renewal
Andserbanbitdefender Oct 10, 2024
cd417f5
lint
Andserbanbitdefender Oct 10, 2024
9e3804a
[DEX-20380] - Product sideview added default selection
vradulescu-bd Oct 10, 2024
475e3b8
Merge pull request #294 from bitdefender/DEX-20380
inastase Oct 10, 2024
fc5fefd
[DEX-20380] - Product sideview added default selection
vradulescu-bd Oct 10, 2024
b28c2a9
[DEX-20380] - Product sideview added default selection
vradulescu-bd Oct 10, 2024
58d6ecf
Merge pull request #295 from bitdefender/DEX-20380
inastase Oct 10, 2024
123933e
refactored page class
iconstantin-bd Oct 10, 2024
cda90f9
Merge branch 'main' into dex-20393-store-implementation
iconstantin-bd Oct 10, 2024
babfd2e
DEX-20393 | finished setting up the data layer class
iconstantin-bd Oct 10, 2024
9232dc5
make products load even if we have no discount
Matei-Iordache Oct 10, 2024
858abbe
DEX-20393 | prepared Zuora config
iconstantin-bd Oct 10, 2024
07b8563
DEX-20393 | added global_v2 pid to store
iconstantin-bd Oct 10, 2024
59f505c
DEX-20393 | fixed all dependency issues
iconstantin-bd Oct 10, 2024
f997ede
feat: new block - exit-popup
ltiseanu Oct 11, 2024
cbee9c4
Merge branch 'main' of https://github.com/bitdefender/www-websites in…
ltiseanu Oct 11, 2024
a2ac084
adding popup exit logic
ltiseanu Oct 11, 2024
4e15368
Merge pull request #293 from bitdefender/dex-19909
Andserbanbitdefender Oct 11, 2024
15f3b2e
Add store on new-prod-boxes
Matei-Iordache Oct 11, 2024
5b4f996
Add store on hero block
abutuza Oct 11, 2024
ede7438
moved dataset attributes on the nanoblock itself
abutuza Oct 14, 2024
aed9b28
[DEX-20130] - Update data set param on new-prod-boxes e2e testing
vradulescu-bd Oct 14, 2024
7db342e
[DEX-20130] - Update data set param on new-prod-boxes e2e testing
vradulescu-bd Oct 14, 2024
6a51925
Merge pull request #297 from bitdefender/DEX-20130
enake Oct 14, 2024
b88fdd3
exist popup new block
ltiseanu Oct 14, 2024
5726c55
added store to product-comparison-table
abutuza Oct 14, 2024
d2cff37
lint fix product-comparison-table
abutuza Oct 14, 2024
62c4c94
Merge branch 'main' into new-prod-boxes-discount
Matei-Iordache Oct 14, 2024
a66ed9c
Merge branch 'main' into new-prod-boxes-discount
Matei-Iordache Oct 14, 2024
634ca3f
Merge pull request #296 from bitdefender/new-prod-boxes-discount
Matei-Iordache Oct 14, 2024
2e9798a
fixed prices on CZ
iconstantin-bd Oct 14, 2024
1462f4f
mapped more locales
iconstantin-bd Oct 14, 2024
633699d
fixed prices for ch also
iconstantin-bd Oct 14, 2024
baf15ef
Delete console logs
Matei-Iordache Oct 14, 2024
eb53183
Merge pull request #298 from bitdefender/fix-cz-prices
enake Oct 14, 2024
4c4520b
Refactor new-prod-boxes to work better with store
Matei-Iordache Oct 14, 2024
80afd00
almost fixed products
iconstantin-bd Oct 14, 2024
fe7ae07
Merge branch 'dex-20393-store-implementation' of https://github.com/b…
iconstantin-bd Oct 14, 2024
414ba3f
Delete unused components
Matei-Iordache Oct 14, 2024
bb4d798
Merge branch 'dex-20393-store-implementation' of github.com:bitdefend…
Matei-Iordache Oct 14, 2024
45956ed
Refactor new-prod-boxes.js to use discounted price for billing
Matei-Iordache Oct 15, 2024
9b2a536
Merge pull request #299 from bitdefender/fix-creators-bug
inastase Oct 15, 2024
b9bf724
Refactor new-prod-boxes to handle discounted monthly prices without d…
Matei-Iordache Oct 15, 2024
43ec23b
fixed all cases for products component
iconstantin-bd Oct 15, 2024
e590063
fixed entries call
iconstantin-bd Oct 15, 2024
bee79bc
Merge branch 'dex-20393-store-implementation' of https://github.com/b…
iconstantin-bd Oct 15, 2024
4b57b6c
added type=visibility
abutuza Oct 15, 2024
cf2298a
fixed buy links on products component
iconstantin-bd Oct 15, 2024
6f7b7de
Refactor new-prod-boxes to handle discounted monthly prices without d…
Matei-Iordache Oct 15, 2024
de4c32d
Merge branch 'dex-20393-store-implementation' of github.com:bitdefend…
Matei-Iordache Oct 15, 2024
9f883d6
Merge branch 'main' of https://github.com/bitdefender/www-websites in…
ltiseanu Oct 15, 2024
ed16f6c
fix-buylink-uk
imantescu Oct 15, 2024
b9248be
fix-buylink-uk
imantescu Oct 15, 2024
357aafc
fix-buylink-uk
imantescu Oct 15, 2024
a35958d
Merge pull request #300 from bitdefender/fix-buylink-uk
enake Oct 15, 2024
b0acef2
finished updating data layer
iconstantin-bd Oct 15, 2024
27e3ef6
added store to products-sideview component
abutuza Oct 16, 2024
60845fb
Merge branch 'dex-20393-store-implementation' of github.com:bitdefend…
abutuza Oct 16, 2024
114d8fb
added await-loadeer to peoducts-sideview
abutuza Oct 16, 2024
8a89936
added await-loader to products-sideview
abutuza Oct 16, 2024
d5398d3
Merge branch 'dex-20393-store-implementation' of github.com:bitdefend…
abutuza Oct 16, 2024
75a678c
[DEX-20509] - Updates bundles dlp products
vradulescu-bd Oct 16, 2024
1ffdaa8
Merge pull request #301 from bitdefender/DEX-20130
enake Oct 16, 2024
7cd92ad
dex-20393 | finished with product loaded cases
iconstantin-bd Oct 16, 2024
499a8e2
Merge branch 'main' into dex-20393-store-implementation
iconstantin-bd Oct 16, 2024
130e927
DEX-20393 | finished with data layer
iconstantin-bd Oct 16, 2024
f5e68de
fixed discount bubble slowing performance
iconstantin-bd Oct 16, 2024
593e159
fixed performace issues due to hero containing price logic + small st…
abutuza Oct 17, 2024
8815ccc
removed unnecessary d-none class logic
abutuza Oct 17, 2024
22c3e68
fixed zuora pricing
iconstantin-bd Oct 17, 2024
1c95c82
Merge branch 'dex-20393-store-implementation' of https://github.com/b…
iconstantin-bd Oct 17, 2024
829401d
feat: adds sitemaps for blogs
enake Oct 17, 2024
9304568
Merge pull request #303 from bitdefender/sitemaps
enake Oct 17, 2024
2fffafd
fix: 404 for icons
enake Oct 17, 2024
a62302f
Merge pull request #304 from bitdefender/icons
enake Oct 17, 2024
8236c7e
tried to fix lighthouse score
iconstantin-bd Oct 17, 2024
d2ae46d
Merge pull request #302 from bitdefender/dex-20393-store-implementation
enake Oct 17, 2024
d4217bc
fixed password manager
iconstantin-bd Oct 17, 2024
2fb1a93
added await loader to lowest price zone
iconstantin-bd Oct 17, 2024
c40d56f
Merge pull request #305 from bitdefender/dex-20393-store-implementation
enake Oct 17, 2024
7374959
fixed password manager on NL
iconstantin-bd Oct 17, 2024
4283ba1
Merge pull request #306 from bitdefender/dex-20393-store-implementation
enake Oct 17, 2024
1437e40
update
ltiseanu Oct 17, 2024
6b594f2
Merge branch 'main' of https://github.com/bitdefender/www-websites in…
ltiseanu Oct 17, 2024
c235b13
Adding blue tag form scamio
ltiseanu Oct 17, 2024
e6788d2
Merge branch 'main' of https://github.com/bitdefender/www-websites in…
ltiseanu Oct 17, 2024
9ab2879
Make discount dynamic in hero banner
ltiseanu Oct 17, 2024
a7c68d6
remove files from pr
ltiseanu Oct 17, 2024
4aa27bc
fix lint
ltiseanu Oct 17, 2024
ad0c1f1
update logic for getting params
ltiseanu Oct 17, 2024
9b90911
fix lint
ltiseanu Oct 17, 2024
b77dbfa
fix: lint
ltiseanu Oct 17, 2024
84cda9b
fix: correcting adding %
ltiseanu Oct 18, 2024
cb08649
Refactor store.js to include metadata retrieval for promotions
Matei-Iordache Oct 18, 2024
a5dce97
Refactor store.js to import getMetadata from the correct location
Matei-Iordache Oct 18, 2024
8a25bb6
Merge pull request #311 from bitdefender/add-pid-from-metadata
enake Oct 18, 2024
5f40e50
Refactor store.js to conditionally set data attributes for product cards
Matei-Iordache Oct 18, 2024
105eb2b
Merge branch 'main' of https://github.com/bitdefender/www-websites in…
ltiseanu Oct 18, 2024
8dee86c
adding new product functionality
ltiseanu Oct 18, 2024
71d05ec
update exit-poup
ltiseanu Oct 18, 2024
df3e643
update unused css
ltiseanu Oct 21, 2024
01e2111
Merge branch 'main' of https://github.com/bitdefender/www-websites in…
ltiseanu Oct 21, 2024
b4689fd
dix lint
ltiseanu Oct 21, 2024
c509b4a
fix lint
ltiseanu Oct 21, 2024
6fe218b
fix lint
ltiseanu Oct 21, 2024
cd98ba1
fix lint
ltiseanu Oct 21, 2024
758fef3
Merge pull request #310 from bitdefender/DEX-19765-exitpopup
ltiseanu Oct 21, 2024
5bf65a5
Merge pull request #309 from bitdefender/DEX-20403
ltiseanu Oct 21, 2024
5158aae
Merge pull request #308 from bitdefender/dex20139-scamio
ltiseanu Oct 21, 2024
d1d5be8
Merge pull request #312 from bitdefender/fix-vpn-page
inastase Oct 21, 2024
fdc4f8b
[DEX-20402] - Platform link and remove dep from scripts.js
vradulescu-bd Oct 21, 2024
31e0e91
Merge branch 'main' into DEX-20402
vradulescu-bd Oct 21, 2024
38943c2
[DEX-20402] - Platform link and remove dep from scripts.js
vradulescu-bd Oct 21, 2024
25d7b17
[DEX-20402] - Platform link and remove dep from scripts.js
vradulescu-bd Oct 21, 2024
0e16f4e
[DEX-20402] - Platform link and remove dep from scripts.js
vradulescu-bd Oct 21, 2024
a651743
[DEX-20402] - Platform link and remove dep from scripts.js
vradulescu-bd Oct 21, 2024
1131782
Merge pull request #313 from bitdefender/DEX-20402
vradulescu-bd Oct 21, 2024
176b387
Refactor code to remove unnecessary block decoration logic
Matei-Iordache Oct 21, 2024
4405c61
Merge pull request #315 from bitdefender/fix-problem
enake Oct 21, 2024
2159627
adding new class css for scamio tag
ltiseanu Oct 21, 2024
6d2324a
Merge pull request #316 from bitdefender/scamio-update
ltiseanu Oct 21, 2024
aac2ed3
fix : diplay promotion on exit popup
ltiseanu Oct 21, 2024
2c42eb5
new update on exit-poup
ltiseanu Oct 23, 2024
8ddbf96
default - hide popup
ltiseanu Oct 23, 2024
d41559d
fix lint
ltiseanu Oct 23, 2024
556ceae
adding backgroud on exitpoup
ltiseanu Oct 25, 2024
683a5d8
adding space between text and arrow
ltiseanu Oct 25, 2024
3bf29aa
Updates: adding exit on background
ltiseanu Oct 25, 2024
0a111b8
adding comment
ltiseanu Oct 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
helix-importer-ui
tools/sitemap
solutions/plugins/experimentation
solutions/vendor
_src/scripts/lib-franklin-api.js
_src/scripts/vendor
_src/scripts/zuora.js
_src/vendor
_src/plugins
_src/scripts/libs/**
tools
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence,
# @global-owner1 and @global-owner2 will be requested for
# review when someone opens a pull request.
* @enake
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Please always provide the [GitHub issue(s)](../issues) your PR is for, as well a
Fix #<gh-issue-id>

Test URLs:
- Before: https://main--bitdefender--hlxsites.hlx.page/solutions/
- After: https://<branch>--bitdefender--hlxsites.hlx.page/solutions/
- Before: https://main--www-websites--bitdefender.hlx.page/zh-hk/
- After: https://<branch>--www-websites--bitdefender.hlx.page/zh-hk/
26 changes: 13 additions & 13 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ jobs:
- name: Use node.js
uses: actions/setup-node@v3
with:
node-version: '16' #required for npm 8 or later.
node-version: '20' #required for npm 8 or later.
- run: npm install
- run: npm run lint
env:
CI: true
ghost_inspector_tests:
needs: linting
runs-on: ubuntu-latest
steps:
- name: execute Ghost Inspector test
uses: docker://ghostinspector/cli
with:
args: suite execute ${{ secrets.GI_SUITE }} \
--apiKey ${{ secrets.GI_API_KEY }} \
--branchName ${{ env.BRANCH_NAME }} \
--errorOnFail \
--errorOnScreenshotFail
# ghost_inspector_tests:
# needs: linting
# runs-on: ubuntu-latest
# steps:
# - name: execute Ghost Inspector test
# uses: docker://ghostinspector/cli
# with:
# args: suite execute ${{ secrets.GI_SUITE }} \
# --apiKey ${{ secrets.GI_API_KEY }} \
# --branchName ${{ env.BRANCH_NAME }} \
# --errorOnFail \
# --errorOnScreenshotFail
27 changes: 15 additions & 12 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@
</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="Page not found">
<script src="/solutions/scripts/scripts.js" type="module" crossorigin="use-credentials"></script>
<script src="/_src/scripts/scripts.js" type="module" crossorigin="use-credentials"></script>
<script type="module">
import { decorateButtons, sampleRUM } from '/solutions/scripts/lib-franklin.js';

import { decorateButtons, sampleRUM } from '/_src/scripts/lib-franklin.js';
import { getDomain } from '/_src/scripts/scripts.js';

const domain = getDomain();

window.addEventListener('load', async () => {
const response = await fetch('/solutions/404.plain.html');
const response = await fetch(`/${domain}/consumer/404.plain.html`);
if (response.ok) {
const htmlContent = await response.text();
const specialSection = document.querySelector('.link-section');
Expand All @@ -23,8 +26,8 @@
}
sampleRUM('404', { source: document.referrer, target: window.location.href });
});
</script>
<link rel="stylesheet" href="/solutions/styles/styles.css">
</script>
<link rel="stylesheet" href="/_src/styles/styles.css">
<style>

:root {
Expand Down Expand Up @@ -67,7 +70,7 @@
font-weight: var(--font-weight-bold);
}


/* Default styles (mobile-first) */

main .link-section {
Expand All @@ -91,10 +94,10 @@

.link-section > div:last-child {
margin-top: 1rem;
column-count: 1;
column-count: 1;
width: 100%;
display: flex;
flex-direction: column;
flex-direction: column;
align-items: center;
}

Expand Down Expand Up @@ -126,13 +129,13 @@

.link-section > div:last-child {
column-count: 2;
display: block;
display: block;
align-items: initial;
}
}

</style>
<link rel="stylesheet" href="/solutions/styles/lazy-styles.css">
<link rel="stylesheet" href="/_src/styles/lazy-styles.css">
</head>

<body>
Expand All @@ -146,7 +149,7 @@ <h2 class="error-message">Page Not Found</h2>
<p>The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.</p>
</div>
<div class="link-section">
</div>
</div>
</main>
<footer></footer>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,23 @@
padding: 0 var(--body-padding);
}

.accordion-container > .default-content-wrapper:last-of-type p.info-button-container a {
display: flex;
text-align: center;
margin-top: 2em;
}

.accordion-container > .default-content-wrapper:last-of-type p.info-button-container a::before {
margin-right: 5px;
}

.accordion {
cursor: pointer;
}

.accordion .accordion-item {
margin: 16px 0;
padding: 18px 54px;
padding: 1em 2em;
border-radius: 10px;
border-color: rgb(229 231 235);
border-width: 0;
Expand Down Expand Up @@ -82,6 +92,7 @@

.accordion-item-content ul {
padding-left: 20px;
margin-top: 5px;
}

.accordion-item-content li {
Expand All @@ -92,9 +103,15 @@
}

.accordion-item-content p {
font-size: 16px;
color: #3c3c3c;
font-size: var(--body-font-size-m);
word-break: break-word;
max-width: 1110px;
margin-top: 5px;
}

.accordion-item-content p strong {
color: #3c3c3c;
}

.accordion-item.expanded .accordion-item-content {
Expand All @@ -108,9 +125,12 @@
}

@media (min-width: 992px) { /* desktop */

.accordion .accordion-item-header h3 {
font-size: var(--heading-font-size-s);
font-size: var(--body-font-size-xl);
}

.accordion.smaller-text .accordion-item-content p {
font-size: var(--body-font-size-s)!important;
}

.accordion.terms-of-use .accordion-item-header h3 {
Expand All @@ -129,7 +149,6 @@
max-width: var(--section-large-desktop-max-width);
padding: 0 var(--section-large-desktop-padding);
}

}

.accordion.faq .accordion-item,
Expand Down Expand Up @@ -162,3 +181,21 @@
margin-bottom: 0;
}

@media (max-width: 500px) {
.accordion .accordion-item {
padding: 1em;
}
}

@media (max-width: 768px) {
.accordion-item-content p {
font-size: var(--body-font-size-s);
}
}

@media (max-width: 992px) {
.accordion-container .default-content-wrapper {
padding-top: 0;
padding-bottom: 0;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ main .section .awards-search .awards-results-container .award-item-container h2
width: 1.5rem;
height: 1.3125rem;
/* stylelint-disable-next-line property-no-vendor-prefix */
-webkit-mask: url('/solutions/icons/arrow-right.svg');
mask: url('/solutions/icons/arrow-right.svg');
-webkit-mask: url('/_src/icons/arrow-right.svg');
mask: url('/_src/icons/arrow-right.svg');
background-color: var(--read-more-text-color);
display: inline-block;
opacity: 1;
Expand Down
Loading