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 tracking #512

Open
wants to merge 1,587 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1587 commits
Select commit Hold shift + click to select a range
07080cf
feat: update the prod host
enake Sep 10, 2024
79e31d0
Merge pull request #206 from bitdefender/blog-fix
enake Sep 10, 2024
1e4f375
aligned cards
abutuza Sep 10, 2024
14f1d7b
Merge pull request #188 from bitdefender/migrare_us
ltiseanu Sep 10, 2024
b2057ef
chore: Update CSS margin in new-prod-boxes.css
Matei-Iordache Sep 10, 2024
85f3953
aligned featured cards
abutuza Sep 10, 2024
23e0e0d
refactor: Improve product card alignment and height matching
Matei-Iordache Sep 10, 2024
63ad948
refactor: Improve product card alignment and height matching
abutuza Sep 10, 2024
99ff160
mega menu upate
vradulescu-bd Sep 11, 2024
9f38cee
Merge pull request #209 from bitdefender/mega-menu-update
vradulescu-bd Sep 11, 2024
0c0fa93
fix issue on buylink
ltiseanu Sep 11, 2024
4a01cc3
Merge pull request #210 from bitdefender/migrare_us
ltiseanu Sep 11, 2024
c841cf4
fix display old price
ltiseanu Sep 11, 2024
298b868
price list updates + run lint changes
vradulescu-bd Sep 11, 2024
4922691
Merge pull request #207 from bitdefender/align-new-prod-boxes-icons
Matei-Iordache Sep 11, 2024
e089b89
price list updates + run lint changes
vradulescu-bd Sep 11, 2024
d6e94dd
Merge pull request #212 from bitdefender/DEX-20028
vradulescu-bd Sep 11, 2024
d824098
Merge pull request #211 from bitdefender/migrare_us
ltiseanu Sep 11, 2024
039f30c
Merge pull request #208 from bitdefender/DEX-20033
abutuza Sep 11, 2024
c9be03e
matched ul height
abutuza Sep 11, 2024
c5d5c96
Add posibility to add more tags, rewrite css so it sits better, adjus…
Matei-Iordache Sep 12, 2024
e38d68c
zuora update buy link fix
vradulescu-bd Sep 12, 2024
9e1ff41
Merge pull request #213 from bitdefender/DEX-20045
Matei-Iordache Sep 12, 2024
95c1ae7
aligned cards for products not on sale
abutuza Sep 12, 2024
2f145a5
Merge pull request #214 from bitdefender/DEX-20080
vradulescu-bd Sep 13, 2024
e1d8563
adjusted product cards alignment
abutuza Sep 13, 2024
1800fc9
adjusted product cards alignment
abutuza Sep 13, 2024
7988bbd
Merge pull request #215 from bitdefender/DEX-20033
abutuza Sep 13, 2024
27b9751
fixed h3 positioning
abutuza Sep 13, 2024
ee7d345
fixed h3 positioning
abutuza Sep 13, 2024
fb1ace8
fix: styling pages for migration
ltiseanu Sep 16, 2024
d29fa21
updates
ltiseanu Sep 16, 2024
b81ed87
updated buy link + extended scrolling support
vradulescu-bd Sep 16, 2024
d0aa7dc
Merge pull request #216 from bitdefender/buylink-update
enake Sep 16, 2024
205597f
fix
Andserbanbitdefender Sep 16, 2024
871f504
lint
Andserbanbitdefender Sep 16, 2024
cb0906a
fix: hero discount label
enake Sep 16, 2024
6b56ae5
Merge pull request #218 from bitdefender/hero-label
enake Sep 16, 2024
5414588
Merge pull request #217 from bitdefender/fix-undefined-old-price
enake Sep 16, 2024
70e1612
added testing support
vradulescu-bd Sep 16, 2024
ab22c20
added testing support
vradulescu-bd Sep 16, 2024
645127b
added testing support
vradulescu-bd Sep 16, 2024
55095d7
added the footer, language banner and mega menu logic
iconstantin-bd Sep 16, 2024
6417b4a
fixed linter
iconstantin-bd Sep 16, 2024
d053de0
Merge branch 'main' into add-the-language-banner-and-footer
iconstantin-bd Sep 16, 2024
ccfad82
fixed more linter errors
iconstantin-bd Sep 16, 2024
0c45605
styling updates
ltiseanu Sep 17, 2024
8ec6d81
Merge pull request #221 from bitdefender/add-the-language-banner-and-…
enake Sep 17, 2024
7cfbe83
Merge pull request #220 from bitdefender/20042
enake Sep 17, 2024
6c8b65e
Updates
ltiseanu Sep 17, 2024
3a56c55
extended support
vradulescu-bd Sep 17, 2024
335978b
Merge pull request #223 from bitdefender/DEX-20034-fix
enake Sep 17, 2024
c14e69b
fix: 404 page fragments
enake Sep 17, 2024
6830328
Merge pull request #224 from bitdefender/404
enake Sep 17, 2024
9703c1c
DEX-20103 | added AEM Target code
iconstantin-bd Sep 17, 2024
c606f77
MIgration updates
ltiseanu Sep 17, 2024
964c7ce
added special case for china websites
iconstantin-bd Sep 17, 2024
07894c6
fixed linter
iconstantin-bd Sep 17, 2024
bc927b8
Merge branch 'main' of https://github.com/bitdefender/www-websites in…
ltiseanu Sep 17, 2024
14fbfa0
fix: lint
ltiseanu Sep 17, 2024
fcfd821
fix lint js
ltiseanu Sep 17, 2024
b43455a
Updates buy links to have data sets for testing
vradulescu-bd Sep 17, 2024
9c03227
fix: lint css
ltiseanu Sep 17, 2024
caad5d3
fix: lint
ltiseanu Sep 17, 2024
a65d2b7
Merge pull request #225 from bitdefender/revert-code-from-old-footer
iconstantin-bd Sep 17, 2024
18b4ee6
force locale revert
vradulescu-bd Sep 17, 2024
67aa257
fix lint css
ltiseanu Sep 17, 2024
f27b012
fix: lint css
ltiseanu Sep 17, 2024
bf61b40
fix: lint css
ltiseanu Sep 17, 2024
4d82d18
fix: lint css
ltiseanu Sep 17, 2024
ef699cc
fix lint css
ltiseanu Sep 17, 2024
cdbe624
fix lint css
ltiseanu Sep 17, 2024
eae65f2
fix lint css
ltiseanu Sep 17, 2024
222c596
added more reverted code
iconstantin-bd Sep 17, 2024
75fbf15
fix lint css
ltiseanu Sep 17, 2024
1e8c0de
Merge pull request #227 from bitdefender/cross-buy-link-fixes
vradulescu-bd Sep 17, 2024
75c880d
fixed linting
iconstantin-bd Sep 17, 2024
0e82382
fix lint css
ltiseanu Sep 17, 2024
2a17e2e
fix lint css
ltiseanu Sep 17, 2024
5490a8a
Merge pull request #226 from bitdefender/migrare_us
enake Sep 17, 2024
127bbfb
Merge pull request #228 from bitdefender/revert-code-from-old-footer
enake Sep 17, 2024
d9059f0
fix: index
enake Sep 18, 2024
4f85efd
Merge pull request #229 from bitdefender/index
enake Sep 18, 2024
fab067d
fix: breadcrumbs no longer take in the account the locale
enake Sep 18, 2024
9616b01
Merge pull request #230 from bitdefender/index
enake Sep 18, 2024
40f26de
Merge branch 'main' into DEX-19622
iconstantin-bd Sep 18, 2024
adfe778
Merge branch 'main' into DEX-19622
iconstantin-bd Sep 18, 2024
136b010
fixed linting issue
iconstantin-bd Sep 18, 2024
de5519f
Merge pull request #169 from bitdefender/DEX-19622
enake Sep 18, 2024
78f8e2e
fix
vradulescu-bd Sep 18, 2024
f0c5bb0
Merge branch 'main' into DEX-20128
vradulescu-bd Sep 18, 2024
25ddb5e
Merge pull request #231 from bitdefender/DEX-20128
vradulescu-bd Sep 18, 2024
b555ba6
DEX-20103 | added Target and Visitor classes
iconstantin-bd Sep 18, 2024
2facd52
fix
vradulescu-bd Sep 18, 2024
c38c43d
Merge pull request #232 from bitdefender/product-compariso-products
vradulescu-bd Sep 18, 2024
685e971
buttom price fix
vradulescu-bd Sep 18, 2024
a896f5b
options fix
vradulescu-bd Sep 18, 2024
8f2fdfa
Merge pull request #233 from bitdefender/product-compariso-products
inastase Sep 23, 2024
73dd0d5
fixed section overflowing page
abutuza Sep 24, 2024
8c6dc94
aligned chat-options like in prod env
abutuza Sep 24, 2024
dcaa9b1
DEX-19990 - Update on Bitdefender.com/trusted
ltiseanu Sep 24, 2024
92abdf6
fixed lint
abutuza Sep 24, 2024
ced871c
Merge pull request #236 from bitdefender/DEX-20083
abutuza Sep 24, 2024
5115b22
Update
ltiseanu Sep 24, 2024
51a4caa
Merge pull request #235 from bitdefender/trusted_updates
ltiseanu Sep 25, 2024
7891af0
addon title and title links
Andserbanbitdefender Sep 25, 2024
4de2bec
fixed card alignment bugs
abutuza Sep 25, 2024
f093aa1
lint
Andserbanbitdefender Sep 25, 2024
99e94a3
fixed render-highlight
abutuza Sep 25, 2024
7988f48
removed hardcoded height logic
abutuza Sep 26, 2024
2be8c7c
options fix
vradulescu-bd Sep 26, 2024
e7381e5
Merge remote-tracking branch 'origin/main' into DEX-20033
abutuza Sep 26, 2024
dca6ee9
adjusted hero styling
abutuza Sep 26, 2024
42a039e
Merge pull request #237 from bitdefender/tiltles-style+addon+title
Andserbanbitdefender Sep 26, 2024
358ef19
Merge pull request #238 from bitdefender/product-compariso-products
vradulescu-bd Sep 26, 2024
9bdeb10
fixed modal styles by adding correct class to body
iconstantin-bd Sep 26, 2024
0c4f0d8
Revert "adjusted hero styling"
abutuza Sep 26, 2024
43aa966
fixed lint
abutuza Sep 26, 2024
7a76bfc
Adding new info to DataLayer
ltiseanu Sep 26, 2024
d791135
Merge branch 'main' of https://github.com/bitdefender/www-websites in…
ltiseanu Sep 26, 2024
ed39bd0
adding new condition
ltiseanu Sep 26, 2024
74e7bdb
adding currency iso value
ltiseanu Sep 26, 2024
bb91f01
remove alloy script
ltiseanu Sep 26, 2024
3de5dff
addin new key for products: from info to all
ltiseanu Sep 26, 2024
77b63a1
changing key value
ltiseanu Sep 26, 2024
aa77096
update pushProductsToDataLayer function
ltiseanu Sep 26, 2024
3673a99
Merge pull request #239 from bitdefender/fix-modal-styles
iconstantin-bd Sep 26, 2024
5c3ea58
Merge pull request #240 from bitdefender/DEX-20033
enake Sep 27, 2024
039e0e9
reverted to fix buy cards
iconstantin-bd Sep 27, 2024
90d78b3
Merge pull request #241 from bitdefender/fix-modal-styles
inastase Sep 27, 2024
c2eff63
fixed modal styles yet again
iconstantin-bd Sep 27, 2024
b863e6e
added missing css
iconstantin-bd Sep 27, 2024
3d5881c
add font-size
Andserbanbitdefender Sep 27, 2024
a888f31
Merge pull request #242 from bitdefender/fix-modal-styles
iconstantin-bd Sep 27, 2024
419d429
Merge pull request #243 from bitdefender/highlight-savings-size
vradulescu-bd Sep 27, 2024
66ba22a
fixed discount price formatting
abutuza Sep 27, 2024
a19314b
fixed lint
abutuza Sep 27, 2024
bb51610
Merge pull request #244 from bitdefender/DEX-20033
abutuza Sep 27, 2024
f1ab3c6
New Update
ltiseanu Sep 30, 2024
774fdbc
update
ltiseanu Sep 30, 2024
ba7652c
new updates on dataLayer
ltiseanu Sep 30, 2024
fadfb77
Add black buttons on new-prod-boxes component
Matei-Iordache Sep 30, 2024
3cce142
Merge pull request #245 from bitdefender/add-black-buttons
Matei-Iordache Sep 30, 2024
77d4320
Fix setting aria-label for icons in lib-franklin.js
Matei-Iordache Sep 30, 2024
c0b481c
Merge pull request #246 from bitdefender/fix-icons
Matei-Iordache Sep 30, 2024
b53a705
add a cursor pointer on the whole radio button, not just the ::before…
Matei-Iordache Sep 30, 2024
3401e94
add addon title from metadata
Andserbanbitdefender Sep 30, 2024
eb3ce3b
lint
Andserbanbitdefender Sep 30, 2024
cd9d220
fixed zuora prices
iconstantin-bd Sep 30, 2024
d481055
Merge pull request #248 from bitdefender/changes-new-prod-box
inastase Sep 30, 2024
ce08da6
Merge pull request #247 from bitdefender/fix-radio-buttons
Matei-Iordache Sep 30, 2024
624a3bb
new update on adobedatalayer obj
ltiseanu Sep 30, 2024
6f3303d
fix: err
ltiseanu Sep 30, 2024
42eaddb
fixed striketrough old price display issue
iconstantin-bd Sep 30, 2024
57c71ee
update
ltiseanu Sep 30, 2024
f840d9f
update
ltiseanu Sep 30, 2024
c7ea907
update
ltiseanu Sep 30, 2024
4601213
update
ltiseanu Sep 30, 2024
f05dcff
update
ltiseanu Sep 30, 2024
45a2edd
fix: downloaded event
ltiseanu Sep 30, 2024
2062120
update
ltiseanu Sep 30, 2024
83ca5aa
updated the percentage discount to use Math.round
iconstantin-bd Sep 30, 2024
e611f96
update tracking
ltiseanu Sep 30, 2024
d9086c9
Merge pull request #249 from bitdefender/feature-fix-zuora-prices
enake Sep 30, 2024
f8c439e
Merge branch 'main' of https://github.com/bitdefender/www-websites in…
ltiseanu Oct 1, 2024
8453a2b
lint fixes
ltiseanu Oct 1, 2024
1d5b915
update
ltiseanu Oct 1, 2024
5e70688
update
ltiseanu Oct 1, 2024
639e776
update
ltiseanu Oct 1, 2024
666c86a
fix lint
ltiseanu Oct 1, 2024
5fa0b84
fix: lint
ltiseanu Oct 1, 2024
96cad37
fix lint
ltiseanu Oct 1, 2024
0a6bb2f
fix lint
ltiseanu Oct 1, 2024
3f2ce5c
fix lint
ltiseanu Oct 1, 2024
9f0837c
Merge pull request #250 from bitdefender/migration-datalayer
inastase Oct 1, 2024
2f1cc39
fix: name - page loaded event
ltiseanu Oct 1, 2024
0245fed
fix: remove console.log
ltiseanu Oct 1, 2024
0347281
update
ltiseanu Oct 1, 2024
8b8f2e4
Merge pull request #251 from bitdefender/migration-datalayer
enake Oct 1, 2024
988baee
adding locale
ltiseanu Oct 1, 2024
4b5e0f3
update
ltiseanu Oct 1, 2024
dc2953c
fix locale
ltiseanu Oct 1, 2024
f57b149
Merge pull request #252 from bitdefender/migration-datalayer
enake Oct 1, 2024
d1939e3
updates
ltiseanu Oct 1, 2024
db1fcb3
update adding product name
ltiseanu Oct 1, 2024
26ea58b
changing datalayer location
ltiseanu Oct 1, 2024
cc7b711
fix
vradulescu-bd Oct 1, 2024
59c717b
Merge pull request #254 from bitdefender/columns-style-fix
enake Oct 1, 2024
6acbef4
fix: buy links based on locale
enake Oct 1, 2024
bc7b3a4
Merge pull request #255 from bitdefender/fix-buy-link
enake Oct 1, 2024
5f67f80
cleaning blocks from datalayer
ltiseanu Oct 1, 2024
6175583
fix: footer logic for AEM
enake Oct 1, 2024
9da1f90
Merge branch 'main' of https://github.com/bitdefender/www-websites in…
ltiseanu Oct 1, 2024
6352029
adding getPriceLocalMapByLocale
ltiseanu Oct 1, 2024
322d6d2
Merge pull request #257 from bitdefender/footer-fix
enake Oct 1, 2024
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
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
c378d32
removed from scripts.ks
vradulescu-bd Oct 4, 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
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/scripts/zuora.js
_src/vendor
_src/plugins
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
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
Loading