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

Fix zuora pid #522

Open
wants to merge 2,043 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2043 commits
Select commit Hold shift + click to select a range
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
23567a3
adding loader on hero banner if we have percent to display
ltiseanu Oct 23, 2024
3b9af4b
Merge pull request #326 from bitdefender/hero-update
ltiseanu Oct 24, 2024
94465ae
Merge pull request #325 from bitdefender/exitpoup-update
ltiseanu Oct 24, 2024
5bbc88b
feat: block list script
enake Oct 24, 2024
3d6b6f5
Merge pull request #327 from bitdefender/block-list-tool
enake Oct 24, 2024
3534963
feat: query index for every locale
enake Oct 24, 2024
1904e44
Merge pull request #319 from bitdefender/query-index
enake Oct 24, 2024
315f286
[DEX-20891] - Bug fixing new store implementation
vradulescu-bd Oct 24, 2024
a83b82f
added bigger-awards case
abutuza Oct 24, 2024
3902abe
removed unnecessary space
abutuza Oct 24, 2024
07b731c
removed mobile space
abutuza Oct 24, 2024
6dce9a6
removed unnecessary code
abutuza Oct 24, 2024
16f5fcf
Add hero component for a/b test
Matei-Iordache Oct 24, 2024
5f25c64
Merge pull request #328 from bitdefender/DEX-20891
vradulescu-bd Oct 25, 2024
d27acab
Add styling for product cards in default content wrapper
Matei-Iordache Oct 25, 2024
845052a
Merge pull request #329 from bitdefender/DEX-20928
abutuza Oct 25, 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
16b16c6
Add styling for extended columns block
Matei-Iordache Oct 25, 2024
103add7
Refactor CSS styles
Matei-Iordache Oct 25, 2024
e1b242d
Merge branch 'main' into DEX-20729
Matei-Iordache Oct 25, 2024
94757bd
Refactor CSS styles and adjust product card styling in default conten…
Matei-Iordache Oct 25, 2024
8b174a7
Refactor CSS styles and adjust product card styling in default conten…
Matei-Iordache Oct 25, 2024
21a12ee
Refactor matchHeights function in products.js
Matei-Iordache Oct 25, 2024
05726e0
adding new modal style
ltiseanu Oct 25, 2024
0a111b8
adding comment
ltiseanu Oct 27, 2024
7f19ebb
Refactor CSS styles and adjust product card styling in default conten…
Matei-Iordache Oct 28, 2024
f7214f1
Refactor CSS styles to adjust width of product card title in default …
Matei-Iordache Oct 28, 2024
1ba24f8
[DEX-19892] - Header quiz css fix
vradulescu-bd Oct 28, 2024
61136bc
Merge pull request #330 from bitdefender/exitpopup-update
ltiseanu Oct 28, 2024
242e702
fix: force country UK
enake Oct 28, 2024
9785b6c
Merge pull request #332 from bitdefender/dex-20488-newmodal
vradulescu-bd Oct 28, 2024
6f1efa0
Merge pull request #334 from bitdefender/uk
enake Oct 28, 2024
0b9fec8
Refactor CSS styles to adjust width of product card title in default …
Matei-Iordache Oct 28, 2024
486569f
Refactor CSS styles to remove unnecessary media query for padding in …
Matei-Iordache Oct 28, 2024
dbd40b5
add a/b test css in it's own file
Matei-Iordache Oct 28, 2024
1545cda
Merge pull request #333 from bitdefender/DEX-19892
vradulescu-bd Oct 29, 2024
c4864f2
[DEX-20402] - OS Linux update
vradulescu-bd Oct 29, 2024
af2bcfc
Merge pull request #335 from bitdefender/DEX-20729
vradulescu-bd Oct 29, 2024
077c83d
fix: local property
enake Oct 29, 2024
1181b62
Merge pull request #339 from bitdefender/target-fix
enake Oct 29, 2024
b1152ff
updated ferrari page
abutuza Oct 29, 2024
4f25190
Merge pull request #337 from bitdefender/DEX-20402
vradulescu-bd Oct 30, 2024
e499f9e
fixed nl monthly prices for ultimate security
iconstantin-bd Oct 30, 2024
7cf181d
added loader to product highlight
iconstantin-bd Oct 30, 2024
0cdae59
fixed the monthly products object
iconstantin-bd Oct 30, 2024
dbc78a2
Remove capitalise from product-comparison-table
ltiseanu Oct 30, 2024
d35044b
Merge pull request #341 from bitdefender/small-updates
ltiseanu Oct 30, 2024
81a6375
Merge pull request #340 from bitdefender/dex-21025-fix-nl-monthly-prices
iconstantin-bd Oct 30, 2024
024ccd7
Refactor image paths to be absolute in non-production environments
Matei-Iordache Oct 30, 2024
2bc90d9
feat: updates query index
enake Oct 30, 2024
bcaec64
Merge pull request #343 from bitdefender/query-i
enake Oct 30, 2024
369f08a
Refactor image paths to use absolute URLs in non-production environments
Matei-Iordache Oct 30, 2024
b0ebc98
style and lint fixes
abutuza Oct 30, 2024
603b732
Merge pull request #342 from bitdefender/show-header-on-stage
Matei-Iordache Oct 30, 2024
e3110c9
simplified the store and added the new mbox
iconstantin-bd Oct 30, 2024
a45bf5b
style and layout adjustments
abutuza Oct 31, 2024
8193738
styled button
abutuza Oct 31, 2024
780171f
fix: Store mapping for NZ
enake Oct 31, 2024
da63945
fix: CSS linting
enake Oct 31, 2024
5380293
Merge pull request #346 from bitdefender/fix-nz
enake Oct 31, 2024
f257dce
Merge pull request #345 from bitdefender/dex-20990-buy-links-mbox
iconstantin-bd Oct 31, 2024
55e3c2e
ferrari hero adjustments
abutuza Oct 31, 2024
b07835b
Merge branch 'main' into DEX-20428
abutuza Oct 31, 2024
9fa83d8
Merge branch 'main' into DEX-20428
abutuza Oct 31, 2024
09d511d
feat: add debounce function to resize observer for improved performance
Matei-Iordache Oct 31, 2024
8c5eab3
Refactor CSS margin for benefits list and add height matching for pro…
Matei-Iordache Oct 31, 2024
d169363
refactor: rename debounce function for clarity in resize observer
Matei-Iordache Oct 31, 2024
1129995
adjusted quotes text-positioning
abutuza Oct 31, 2024
d7c1415
adjusted quotes text-positioning
abutuza Oct 31, 2024
f81b6d4
adjusted quotes text-positioning
abutuza Oct 31, 2024
6cd1ab0
Merge pull request #348 from bitdefender/DEX-20729
Matei-Iordache Oct 31, 2024
6fbe629
refactor: replace custom debounce function with a standard debounce u…
Matei-Iordache Oct 31, 2024
db321de
Merge pull request #349 from bitdefender/DEX-20255
Matei-Iordache Oct 31, 2024
69769b2
added new check for trialPaths
iconstantin-bd Oct 31, 2024
f918a10
CSS correction for trusted
ltiseanu Oct 31, 2024
ff120b8
feat: script that generates sitemaps
enake Nov 1, 2024
5262f7b
feat: simplify exclusions
enake Nov 1, 2024
ba7e2e0
Merge pull request #352 from bitdefender/fix-nz
enake Nov 1, 2024
f338d05
fix: exclusion list
enake Nov 1, 2024
4461557
Merge pull request #353 from bitdefender/fix-nz
enake Nov 1, 2024
bb35337
Merge pull request #350 from bitdefender/dex-21041-trial-downloaded
iconstantin-bd Nov 1, 2024
6f9d1a5
added check for dotest case
iconstantin-bd Nov 1, 2024
2a5339d
Merge pull request #354 from bitdefender/dex-20990-buy-links-mbox
iconstantin-bd Nov 1, 2024
48f6582
fix: at country
enake Nov 1, 2024
352b2f7
Merge pull request #355 from bitdefender/fix-nz
enake Nov 1, 2024
a7ff352
feat: enhance billed text handling in product boxes
Matei-Iordache Nov 1, 2024
0fb61bc
update
ltiseanu Nov 2, 2024
77f210e
Merge pull request #351 from bitdefender/DEX-20148
ltiseanu Nov 4, 2024
c13779a
feat: sitemaps
enake Nov 4, 2024
1862037
Merge pull request #357 from bitdefender/fix-nz
enake Nov 4, 2024
9258813
adding ribbon block
ltiseanu Nov 4, 2024
2e6a1ba
fix trusted menu
ltiseanu Nov 4, 2024
fa91a0f
remove height css
ltiseanu Nov 4, 2024
ccc6d72
Merge pull request #356 from bitdefender/DEX-20938
Matei-Iordache Nov 4, 2024
bd1cc2a
remove overflow also for tsuted
ltiseanu Nov 4, 2024
4cc202c
added condition for buylink placement
abutuza Nov 4, 2024
9210708
Merge pull request #359 from bitdefender/DEX-20148
ltiseanu Nov 4, 2024
6d00d49
Merge branch 'main' of https://github.com/bitdefender/www-websites in…
ltiseanu Nov 4, 2024
077b40b
Merge pull request #360 from bitdefender/DEX-21067
abutuza Nov 4, 2024
6e09a5a
feat: re-generated sitemaps
enake Nov 4, 2024
2c9018b
update ribbon
ltiseanu Nov 4, 2024
d46758c
Merge pull request #361 from bitdefender/fix-sitemap
enake Nov 4, 2024
0dfeda9
covered case where buttons are not in order
abutuza Nov 4, 2024
88fde72
implemented design feeback for scuderia ferrari page
abutuza Nov 4, 2024
c0682aa
covered case where there are no buttons
abutuza Nov 5, 2024
ed813f8
update ribbon - remove datasets
ltiseanu Nov 5, 2024
d286942
fix lint
ltiseanu Nov 5, 2024
bc820ff
fix css duplicates
ltiseanu Nov 5, 2024
c0c853b
added space between title and feature text on dropdown tabs
abutuza Nov 5, 2024
79d2579
removed unnecessary padding on hero-picture
abutuza Nov 5, 2024
64e73a3
Merge pull request #358 from bitdefender/DEX-20745
ltiseanu Nov 5, 2024
fde4a0f
refactored carousel according to design feedback
abutuza Nov 5, 2024
85af9b4
implemented carousel feedback + added option of no carousel
abutuza Nov 6, 2024
9b8f404
Merge pull request #362 from bitdefender/DEX-21067
abutuza Nov 6, 2024
6324a80
fixed feature tab text
abutuza Nov 6, 2024
a3bf4bc
changed the exit popup to use the Franklin Store, not the AEM store
iconstantin-bd Nov 6, 2024
19edaee
adjusted the ::after arrow position for feature tab
abutuza Nov 6, 2024
8406fac
adjusted media query
abutuza Nov 6, 2024
1b01f6e
Merge pull request #366 from bitdefender/fix-non-loading-prices-issue…
iconstantin-bd Nov 6, 2024
ce2a503
adjusted layout for mobile images
abutuza Nov 6, 2024
b557dfa
layout adjustment
abutuza Nov 6, 2024
6cb1609
adjusted ferrari hero layout for mobile
abutuza Nov 6, 2024
350d443
adjusted ferrari hero layout for mobile
abutuza Nov 6, 2024
649e611
adjusted font-size
abutuza Nov 6, 2024
2b1a3bd
Merge branch 'main' into DEX-20428
abutuza Nov 6, 2024
1976b4d
handled corner case in footer
iconstantin-bd Nov 6, 2024
2b97765
Merge branch 'DEX-20428' of https://github.com/bitdefender/www-websit…
iconstantin-bd Nov 6, 2024
862f920
added TODO!!!!
iconstantin-bd Nov 6, 2024
0a8356a
Merge pull request #367 from bitdefender/DEX-21071
abutuza Nov 7, 2024
73337e8
improved video-carousel functionality
abutuza Nov 7, 2024
6075d58
aligned video-carousel
abutuza Nov 7, 2024
167adb4
made extra call for target experiment offer
iconstantin-bd Nov 7, 2024
39ed9db
fixed issue with incorrect types being sent
iconstantin-bd Nov 7, 2024
5371901
Merge pull request #370 from bitdefender/fix-target-experiments
iconstantin-bd Nov 7, 2024
d63435f
fixed multiple campaigns call
iconstantin-bd Nov 7, 2024
dcf18b2
final version + removed TODO
abutuza Nov 8, 2024
e00c567
lint fix
abutuza Nov 8, 2024
14eabae
lint fix
abutuza Nov 8, 2024
d056c55
lint fix
abutuza Nov 8, 2024
5797a95
lint fix
abutuza Nov 8, 2024
d5eca07
lint fix
abutuza Nov 8, 2024
f679ab7
lint fix
abutuza Nov 8, 2024
0987204
lint fix
abutuza Nov 8, 2024
88ffc69
fixed tags wrapping
abutuza Nov 8, 2024
a71727b
Merge pull request #372 from bitdefender/DEX-20428
abutuza Nov 8, 2024
e5ad039
removed unnecessary target calls
iconstantin-bd Nov 8, 2024
f4ea6e5
Merge pull request #371 from bitdefender/fix-target-experiments
enake Nov 8, 2024
6b99d5e
Merge pull request #373 from bitdefender/DEX-21121
abutuza Nov 8, 2024
275f0af
fixed errors when dotest=1 is used
iconstantin-bd Nov 8, 2024
65b4039
Merge pull request #374 from bitdefender/fix-target-experiments
iconstantin-bd Nov 8, 2024
1b1278e
feat: add blackfriday style to columns
Andserbanbitdefender Nov 11, 2024
ac88ab5
lint
Andserbanbitdefender Nov 11, 2024
edc54e6
another approach to fixing the target experiments
iconstantin-bd Nov 11, 2024
00689ee
Merge pull request #376 from bitdefender/fix-target-experiments
enake Nov 11, 2024
8647402
removed language bar for ferrari page
abutuza Nov 12, 2024
f602ea1
lint fix
abutuza Nov 12, 2024
1a9d69b
changed carousel active dots colour
abutuza Nov 12, 2024
04d53dd
scuderia ferrari style adjustments
abutuza Nov 12, 2024
2300acb
temporarily hidden language for scuderiaferrari page
abutuza Nov 12, 2024
2c93ccc
lint fix
abutuza Nov 12, 2024
e8194c0
lint fix
abutuza Nov 12, 2024
1d2d9dd
Merge pull request #377 from bitdefender/DEX-20428
abutuza Nov 12, 2024
335f136
added extra check for the Visitor class instantiation
iconstantin-bd Nov 12, 2024
0c36178
Merge pull request #378 from bitdefender/fix-non-loading-prices-issue…
iconstantin-bd Nov 12, 2024
b01a030
option to change text and background color
ltiseanu Nov 13, 2024
2c6a6f6
make new-prod-box subtitle accept more words
Andserbanbitdefender Nov 13, 2024
2dc2a08
lint
Andserbanbitdefender Nov 13, 2024
ff21190
css for hidding the beradscrumb on hero banner
ltiseanu Nov 13, 2024
4e6531a
hide signature
ltiseanu Nov 13, 2024
0b2570e
hide signature
ltiseanu Nov 13, 2024
9c78eab
move css to hero block
ltiseanu Nov 13, 2024
4db12b8
update css
ltiseanu Nov 13, 2024
602fd29
update hero banner
ltiseanu Nov 13, 2024
0469f59
Merge pull request #375 from bitdefender/dex-20868
Andserbanbitdefender Nov 13, 2024
72bdd9c
Merge pull request #387 from bitdefender/bf24
ltiseanu Nov 13, 2024
f07dee3
readded language bar to scuderiaferraripages
abutuza Nov 13, 2024
b084e47
Merge pull request #388 from bitdefender/DEX-20428
inastase Nov 13, 2024
a1350ad
fix when there are awards
ltiseanu Nov 13, 2024
aa05f67
adding specifity
ltiseanu Nov 13, 2024
b599d4b
Merge pull request #389 from bitdefender/bf24
ltiseanu Nov 13, 2024
ab7768f
added await-loader on renewal pages
abutuza Nov 14, 2024
293ac47
added await-loader on renewal pages
abutuza Nov 14, 2024
7dc6668
Merge pull request #391 from bitdefender/DEX-21140
abutuza Nov 14, 2024
1075d1a
fixed currency signs not being displayed properly
abutuza Nov 14, 2024
5e5899c
fixed currency signs not being displayed properly on featuredn tags
abutuza Nov 14, 2024
99c0db3
fixed currency signs not being displayed properly on product-comparas…
abutuza Nov 14, 2024
b18fc19
products sideview fix currency displayment
abutuza Nov 14, 2024
4f5d0c7
lint fix
abutuza Nov 14, 2024
de55e4f
added login logic
iconstantin-bd Nov 14, 2024
85ad661
add old price display and update price element structure in products …
Matei-Iordache Nov 14, 2024
a566b5a
Merge pull request #395 from bitdefender/product-sideview-oldprice
inastase Nov 14, 2024
543005b
Merge branch 'main' into DEX-21149
abutuza Nov 14, 2024
083dce0
updated products-sideview css after https://github.com/bitdefender/ww…
abutuza Nov 14, 2024
4a6f539
Merge pull request #392 from bitdefender/DEX-21149
abutuza Nov 14, 2024
13aac98
feat: signal for page ready
enake Nov 14, 2024
7044d01
Merge pull request #397 from bitdefender/page-loaded
enake Nov 14, 2024
7bb833b
fixed renewal button
abutuza Nov 14, 2024
391174e
fixed popup prices not loading
abutuza Nov 15, 2024
94435da
optimized performance
abutuza Nov 15, 2024
a02e8b3
optimized store call
abutuza Nov 18, 2024
22e6eeb
Merge pull request #398 from bitdefender/fix-renewal-button
abutuza Nov 18, 2024
6329398
feat: update sitemaps
enake Nov 18, 2024
6832b2c
Merge pull request #399 from bitdefender/sitemap-gen
enake Nov 18, 2024
5cf238b
finished setting up the login functionality
iconstantin-bd Nov 18, 2024
08527e2
Merge branch 'main' into login-logic-on-websites
iconstantin-bd Nov 18, 2024
87f153a
deleted unnecessary lines
iconstantin-bd Nov 18, 2024
e82f838
fixed product card modal style
abutuza Nov 19, 2024
8995530
fixed popup product card css
abutuza Nov 19, 2024
d4bd831
Merge pull request #401 from bitdefender/login-logic-on-websites
iconstantin-bd Nov 19, 2024
2cce575
lint fix
abutuza Nov 19, 2024
13d1ff1
feat: adds event for exit popup display
enake Nov 19, 2024
34aee06
Merge pull request #403 from bitdefender/pop-up
enake Nov 19, 2024
83479df
added data store variable to featured nanoblock
abutuza Nov 19, 2024
98664a1
adding datasets on exitpoup button
ltiseanu Nov 19, 2024
859c6f2
fix lint
ltiseanu Nov 19, 2024
158ebb4
Merge pull request #404 from bitdefender/exitpopup-datasets
enake Nov 19, 2024
1286124
Merge pull request #402 from bitdefender/DEX-21152
abutuza Nov 19, 2024
79719fd
changed the approach to use adobe.target
iconstantin-bd Nov 20, 2024
1b19f2d
Merge pull request #410 from bitdefender/fix-target-experiments
enake Nov 20, 2024
7c300c3
added separate context to lowest price function
abutuza Nov 21, 2024
80ecf69
fix for monthly price
imantescu Nov 21, 2024
c57f1a9
Merge pull request #411 from bitdefender/products-fix
enake Nov 21, 2024
e6ab475
added missing parameter
iconstantin-bd Nov 21, 2024
734f780
refactored smallest price function inside store + mapped secpassm to …
abutuza Nov 21, 2024
98ca1ff
Merge branch 'main' into fix-lowest-price
abutuza Nov 21, 2024
64a80f6
Merge pull request #413 from bitdefender/fix-lowest-price
inastase Nov 21, 2024
06cd142
add fragment block and style adjustments for medium image size
Matei-Iordache Nov 21, 2024
e416861
refactor columns styles for medium image size and disable stylelint w…
Matei-Iordache Nov 21, 2024
fa44cb3
add initial fragment styles and improve error logging in loadFragment…
Matei-Iordache Nov 21, 2024
81f053c
add z-index to fragment styles for proper stacking context
Matei-Iordache Nov 21, 2024
8285043
add font size adjustment for smaller title in columns styles
Matei-Iordache Nov 22, 2024
c270634
Merge pull request #412 from bitdefender/login-logic-on-websites
iconstantin-bd Nov 22, 2024
58c586b
update column image width to a fixed size of 140px
Matei-Iordache Nov 22, 2024
9740c3e
add fixed height of 144px for column images
Matei-Iordache Nov 22, 2024
3f48b33
fixed awards image alignment
abutuza Nov 22, 2024
450b080
Merge pull request #414 from bitdefender/DEX-21187
Matei-Iordache Nov 22, 2024
78d086c
changed StoreResolver object name on window to not clash with AEM Sto…
iconstantin-bd Nov 22, 2024
3231d1d
style adjustments for awards fragment
abutuza Nov 25, 2024
93409aa
Merge pull request #415 from bitdefender/login-logic-on-websites
iconstantin-bd Nov 25, 2024
d7b628c
change parameter
Matei-Iordache Nov 25, 2024
65ffbcf
Merge pull request #416 from bitdefender/DEX-21187
abutuza Nov 25, 2024
bf98eba
Merge pull request #417 from bitdefender/change-force-country
Matei-Iordache Nov 26, 2024
108fdf9
Adding secpass + secpassm to the mapping for Zuora
ltiseanu Nov 29, 2024
210841a
remove console log
ltiseanu Nov 29, 2024
15c3908
update
ltiseanu Dec 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 6 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
helix-importer-ui
tools/sitemap
solutions/plugins/experimentation
solutions/vendor
_src/scripts/lib-franklin-api.js
_src/scripts/vendor
_src/vendor
_src/plugins
_src/scripts/libs/**
tools
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ helix-importer-ui

.vscode/*
tools/sitemap/node_modules/*

.env
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