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

Hero update - adding loader if we have values to display #516

Open
wants to merge 2,214 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2214 commits
Select commit Hold shift + click to select a range
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
63cbd84
Merge branch 'main' into dex-20840-vlaicu-implementation
iconstantin-bd 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
9fcfd36
add link checker block with UI and functionality
Matei-Iordache Nov 25, 2024
65ffbcf
Merge pull request #416 from bitdefender/DEX-21187
abutuza Nov 25, 2024
365dc24
add new styles
Matei-Iordache Nov 26, 2024
bf98eba
Merge pull request #417 from bitdefender/change-force-country
Matei-Iordache Nov 26, 2024
f048045
added blog-news block
abutuza Nov 26, 2024
d85b22e
Merge branch 'DEX-20997' of github.com:bitdefender/www-websites into …
abutuza Nov 26, 2024
59d6221
add icon corners styling for columns layout
Matei-Iordache Nov 26, 2024
1849d22
Merge branch 'DEX-20997' of github.com:bitdefender/www-websites into …
Matei-Iordache Nov 26, 2024
5f44735
added 2 cards columns section
abutuza Nov 27, 2024
77c763a
Merge branch 'DEX-20997' of github.com:bitdefender/www-websites into …
abutuza Nov 27, 2024
9090a71
added font-size
abutuza Nov 27, 2024
cad8438
add new SVG icons and update link-checker styles
Matei-Iordache Nov 27, 2024
50b7aaa
remove copyToClipboard function and its usage in link-checker
Matei-Iordache Nov 27, 2024
da69455
made the final changes for login functionality
iconstantin-bd Nov 27, 2024
69db005
implemented link checker clipboard copy function + popup
abutuza Nov 27, 2024
e6f5e73
enhance link-checker styles and functionality with new SVG icons and …
Matei-Iordache Nov 27, 2024
5072c0d
Merge branch 'DEX-20997' of github.com:bitdefender/www-websites into …
Matei-Iordache Nov 27, 2024
c5de37a
fixed share button layout
abutuza Nov 27, 2024
3f0faa9
Merge branch 'DEX-20997' of github.com:bitdefender/www-websites into …
abutuza Nov 27, 2024
3ed9f2a
removed unnecessary logic
abutuza Nov 27, 2024
343bd77
lint fix
abutuza Nov 27, 2024
efb1a96
style fix for icon-corners + popup fix
abutuza Nov 28, 2024
c2817e1
link checker mobile design implementation
abutuza Nov 28, 2024
8bf46a8
adjusted buttons margin for mobile
abutuza Nov 28, 2024
134e718
changed clipboard popup to display only metadata text
abutuza Nov 28, 2024
23ba424
refactor link-checker layout and structure for improved usability
Matei-Iordache Nov 28, 2024
6f89329
Merge branch 'DEX-20997' of github.com:bitdefender/www-websites into …
Matei-Iordache Nov 28, 2024
652741a
readded clpboard
abutuza Nov 28, 2024
d173236
Merge branch 'DEX-20997' of github.com:bitdefender/www-websites into …
abutuza Nov 28, 2024
c66cd89
fix typo in link-checker CSS class name
Matei-Iordache Nov 28, 2024
42bbc92
fix media queries
abutuza Nov 28, 2024
b759690
Merge branch 'DEX-20997' of github.com:bitdefender/www-websites into …
abutuza Nov 28, 2024
2107cda
fix link-checker CSS class name and update content property
Matei-Iordache Nov 28, 2024
03f4417
centered buttons
abutuza Nov 28, 2024
888e1cd
add style changes
Matei-Iordache Nov 28, 2024
6531c48
Merge branch 'DEX-20997' of github.com:bitdefender/www-websites into …
Matei-Iordache Nov 28, 2024
9ae1f93
Add input validation
Matei-Iordache Nov 28, 2024
1271384
fixed buttons causing cls
abutuza Nov 28, 2024
8b02987
Merge branch 'DEX-20997' of github.com:bitdefender/www-websites into …
abutuza Nov 28, 2024
bda74e6
Add error handling and no-response icon for link checker
Matei-Iordache Nov 28, 2024
9cc747c
Merge branch 'DEX-20997' of github.com:bitdefender/www-websites into …
Matei-Iordache Nov 28, 2024
8848620
Update link-checker to include URL in request body
Matei-Iordache Nov 28, 2024
5d77779
added dotted lines
Matei-Iordache Nov 28, 2024
7e456cd
Refactor link-checker styles for improved readability and consistency
Matei-Iordache Nov 28, 2024
29fec78
mobile fixes
Matei-Iordache Nov 28, 2024
a72ac2b
Remove max-height and margin adjustments for link-checker in responsi…
Matei-Iordache Nov 28, 2024
fbc0248
Enhance link-checker functionality by ensuring URLs have a protocol a…
Matei-Iordache Nov 28, 2024
c0f2bb2
Add font
Matei-Iordache Nov 28, 2024
336bf78
Update clipboard copy functionality in link-checker to use text conte…
Matei-Iordache Nov 28, 2024
108fdf9
Adding secpass + secpassm to the mapping for Zuora
ltiseanu Nov 29, 2024
210841a
remove console log
ltiseanu Nov 29, 2024
4675f59
Merge pull request #419 from bitdefender/fix-zuora-pid
inastase Nov 29, 2024
f8b53af
adjusted product card image properties
abutuza Nov 29, 2024
68b4040
Refactor link-checker to improve clipboard functionality, enhance inp…
Matei-Iordache Nov 29, 2024
2924149
adjusted image position on product card
abutuza Dec 2, 2024
9e48c00
centered image position
abutuza Dec 2, 2024
67fc95a
Refactor blog-news and link-checker components for improved structure…
Matei-Iordache Dec 2, 2024
6281758
Enhance link-checker styles and improve status message handling, incl…
Matei-Iordache Dec 3, 2024
17a3098
Fix URL validation regex in link-checker to correctly handle query st…
Matei-Iordache Dec 3, 2024
82951e1
Reduce font size in link-checker component for improved readability
Matei-Iordache Dec 3, 2024
fd215e3
refactored icon selection
abutuza Dec 3, 2024
6222df7
refactored code to remove unnecessary event listener
abutuza Dec 3, 2024
7f9f69e
Update link-checker to improve event handling and reset functionality…
Matei-Iordache Dec 3, 2024
f6a4786
Refactor link-checker CSS by removing unused styles and optimizing la…
Matei-Iordache Dec 3, 2024
45ab80e
mapped additional products to local products
abutuza Dec 3, 2024
7c0e4c9
Update link-checker styles and improve error message clarity; adjust …
Matei-Iordache Dec 3, 2024
284e2b4
Enhance link-checker input handling by adding inputDiv for better dis…
Matei-Iordache Dec 3, 2024
422ee2a
Merge pull request #421 from bitdefender/DEX-21287
inastase Dec 3, 2024
f8f04a6
Add bot prevention mechanism to link-checker; implement challenge res…
Matei-Iordache Dec 3, 2024
83595a3
Add loading indicator to link-checker; implement loader-circle class …
Matei-Iordache Dec 4, 2024
ffd758d
Merge branch 'main' into DEX-20997
Matei-Iordache Dec 4, 2024
b747bb7
Adjust link-checker icon position for improved layout; move icon top …
Matei-Iordache Dec 4, 2024
e00f802
Update .eslintignore to exclude bot-prevention utility and add error …
Matei-Iordache Dec 4, 2024
bca5c26
Add Nimbus Client ID header to link-checker requests
Matei-Iordache Dec 4, 2024
efc163e
Refactor blog and link-checker components to use <p> and <h1> tags fo…
Matei-Iordache Dec 4, 2024
5c8931b
Merge branch 'main' into dex-20840-vlaicu-implementation
iconstantin-bd Dec 5, 2024
b056785
DEX-20840 | removed hardcoded campaign
iconstantin-bd Dec 5, 2024
f92a6f0
added functionality for dynamic priceCondition texts
abutuza Dec 5, 2024
98bebd0
added queryParams to Page class
iconstantin-bd Dec 5, 2024
a11d04d
updated the code to use the correct campaign variable
iconstantin-bd Dec 5, 2024
17bad91
added functionality for multiple cards metadata
abutuza Dec 5, 2024
4079070
covered case where metadata might be missing
abutuza Dec 5, 2024
408835e
removed unnecessary forEach loop for improved performance
abutuza Dec 5, 2024
93fcd96
added missing bundle ids
iconstantin-bd Dec 5, 2024
d217715
fixed repeating arrow pattern and inconsistent size
abutuza Dec 5, 2024
d13a63f
Update CSS styles across multiple components for improved layout and …
Matei-Iordache Dec 5, 2024
07235bd
Enhance height matching functionality by including direct child colum…
Matei-Iordache Dec 5, 2024
a4f3bf9
Add height property to span elements in columns.css for consistent la…
Matei-Iordache Dec 5, 2024
ebeb438
Update height matching functionality to target <p> tags in blog-news …
Matei-Iordache Dec 5, 2024
2fbc10e
Enhance blog-news component styles by resetting margin and adding fle…
Matei-Iordache Dec 5, 2024
fee6d11
Remove fixed height from span elements and align text columns to flex…
Matei-Iordache Dec 5, 2024
0957b89
Adjust desktop max width for sections to improve layout consistency
Matei-Iordache Dec 5, 2024
0051612
added checked attribute to selector for default selection
abutuza Dec 5, 2024
b9118f6
remove checked value at active button change
abutuza Dec 5, 2024
dbe2426
Refactor blog-card styles to improve layout and maintain consistency
Matei-Iordache Dec 6, 2024
2edc111
Merge pull request #428 from bitdefender/DEX-21268
inastase Dec 6, 2024
c25539c
Merge pull request #432 from bitdefender/DEX-21356
inastase Dec 6, 2024
04d4487
Update link-checker styles and structure for improved layout and acce…
Matei-Iordache Dec 6, 2024
6182f9b
Center align text in link-checker input div for improved layout
Matei-Iordache Dec 6, 2024
fe88064
Clear error message when input is emptied in link-checker
Matei-Iordache Dec 6, 2024
2f3208b
Clear link-checker result on paste event for better user experience
Matei-Iordache Dec 6, 2024
a63c571
Remove top margin from link-checker result for improved layout
Matei-Iordache Dec 6, 2024
80defad
Remove top margin from link-checker result for improved layout
Matei-Iordache Dec 6, 2024
80fa056
Adjust margin for danger result in link-checker for improved layout
Matei-Iordache Dec 6, 2024
2f94320
Update safe link message to include security software recommendation …
Matei-Iordache Dec 6, 2024
245a0b2
Refactor CSS styles for blog news and link checker components for imp…
Matei-Iordache Dec 9, 2024
6136425
Change to prod route
Matei-Iordache Dec 9, 2024
2fcb82f
Merge pull request #422 from bitdefender/DEX-20997
inastase Dec 9, 2024
3e33321
added price functionality to price condition nanoblock
abutuza Dec 9, 2024
06a57d3
Refactor URL validation regex in link-checker for improved accuracy
Matei-Iordache Dec 9, 2024
8834646
Merge pull request #433 from bitdefender/DEX-20997
inastase Dec 9, 2024
6db28f4
added functionality for prices inside dynamic text
abutuza Dec 9, 2024
4d34551
added missing parameters to buy links
iconstantin-bd Dec 9, 2024
3623fd2
refactored dynamic texts function for better readability and fewer ev…
abutuza Dec 9, 2024
09092ca
modified modal button style to use global settings
abutuza Dec 9, 2024
dbab39f
added comments to explain store interaction
abutuza Dec 9, 2024
46de09b
Merge pull request #435 from bitdefender/DEX-21370
abutuza Dec 9, 2024
f404685
commented out loadEager plugin execution with a note for future consi…
Matei-Iordache Dec 9, 2024
77911f6
DEX-21186 - Adding Zuora products mapping into excell on sharepoint
ltiseanu Dec 9, 2024
69b48a2
DEX-21186 - Adding Zuora products mapping into excell on sharepoint
ltiseanu Dec 9, 2024
a1a48be
removing unused const
ltiseanu Dec 9, 2024
3eed5fc
Merge branch 'main' of https://github.com/bitdefender/www-websites in…
ltiseanu Dec 9, 2024
8aa9744
update
ltiseanu Dec 9, 2024
895f661
update
ltiseanu Dec 9, 2024
7b0ffe1
Merge pull request #420 from bitdefender/login-logic-on-websites
iconstantin-bd Dec 10, 2024
c169a00
Merge pull request #437 from bitdefender/fix-target-exp
Matei-Iordache Dec 10, 2024
a8c0400
Merge pull request #438 from bitdefender/DEX-21186
ltiseanu Dec 10, 2024
25d1310
fixed mega menu error due to missconfigured query
iconstantin-bd Dec 10, 2024
52d3dbb
Merge pull request #439 from bitdefender/fix-mega-menu-error
iconstantin-bd Dec 10, 2024
eb5e113
added missing bundle id
iconstantin-bd Dec 10, 2024
fda7619
for ro domain, Vlaicu will be triggered by default
iconstantin-bd Dec 10, 2024
97259b2
Merge branch 'main' into dex-20840-vlaicu-implementation
iconstantin-bd Dec 10, 2024
8091af1
solved merge issues
iconstantin-bd Dec 10, 2024
5f0854f
fixed styling issues found during block testing
abutuza Dec 11, 2024
4bd5973
changed empty string with constant
iconstantin-bd Dec 11, 2024
c044bb6
update the endpoint for zuoraConfig
iconstantin-bd Dec 11, 2024
e4a59e7
Merge pull request #442 from bitdefender/DEX-21403
abutuza Dec 11, 2024
b594702
add browser detection and update hero link for Firefox
Matei-Iordache Dec 11, 2024
a1f6854
Merge pull request #443 from bitdefender/DEX-21414
Matei-Iordache Dec 11, 2024
0920c3a
Merge pull request #436 from bitdefender/dex-20840-vlaicu-implementation
iconstantin-bd Dec 11, 2024
e9e6b43
updated the id mappings to include secpassm
iconstantin-bd Dec 11, 2024
2b7b4f8
added fix for other domains other than Vlaicu ones
iconstantin-bd Dec 11, 2024
0532b87
Merge pull request #445 from bitdefender/dex-20840-vlaicu-implementation
iconstantin-bd Dec 11, 2024
ff01c4f
prepared Vlaicu for deployment to production on all domains
iconstantin-bd Dec 12, 2024
6127468
removed vlaicuFlag
iconstantin-bd Dec 12, 2024
1de61a3
updated the buy link parameters for Vlaicu
iconstantin-bd Dec 12, 2024
0fd4dda
Merge pull request #450 from bitdefender/DEX-21261-fix-vlaicu-links
iconstantin-bd Dec 12, 2024
ecd4fbb
Merge branch 'main' into dex-20840-vlaicu-implementation
iconstantin-bd Dec 13, 2024
096cdc6
made corner case for SOHO on de
iconstantin-bd Dec 13, 2024
8c233f6
Merge pull request #453 from bitdefender/dex-20840-vlaicu-implementation
iconstantin-bd Dec 16, 2024
797f29f
added correct ids
iconstantin-bd Dec 16, 2024
c7ac2dc
Merge pull request #455 from bitdefender/dex-20840-vlaicu-implementation
inastase Dec 16, 2024
6c4b414
update hero banner img
ltiseanu Dec 16, 2024
c2a8ea2
Merge branch 'main' of https://github.com/bitdefender/www-websites in…
ltiseanu Dec 16, 2024
303ab9b
update
ltiseanu Dec 16, 2024
d964a51
update
ltiseanu Dec 16, 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
  •  
  •  
  •  
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/vendor
_src/plugins
_src/scripts/libs/**
_src/scripts/utils/bot-prevention.js
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