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

Mega menu update #507

Closed
wants to merge 1,338 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1338 commits
Select commit Hold shift + click to select a range
8bec92d
fixed product-comparison-last-row-with-prices
vradulescu-bd Aug 9, 2024
8a45b94
fixed product-comparison-last-row-with-prices
vradulescu-bd Aug 9, 2024
bf226a3
DEX-19746 | added the option to add unrefreshable modals
iconstantin-bd Aug 9, 2024
5393719
DEX-19746 | removed not working calls
iconstantin-bd Aug 9, 2024
301de04
DEX-19746 | added correct subdomain check
iconstantin-bd Aug 9, 2024
2ebe2d5
DEX-19746 | added correct import
iconstantin-bd Aug 9, 2024
251e88d
DEX-19746 | added campaign parameter in the form
iconstantin-bd Aug 9, 2024
9696353
DEX-19746 | added json check
iconstantin-bd Aug 9, 2024
74675c9
DEX-19746 | added back the commeted calls
iconstantin-bd Aug 9, 2024
0538d57
DEX-19746 | added correct return type in comment
iconstantin-bd Aug 9, 2024
8ccbf97
DEX-19746 | slight code refactor and added comments
iconstantin-bd Aug 9, 2024
1e30a3d
DEX-19746 | removed unnecessary comment
iconstantin-bd Aug 9, 2024
6206b8f
fix css for hero and header
vradulescu-bd Aug 9, 2024
0aaa806
added pid support in Metadata
vradulescu-bd Aug 12, 2024
bbecd0c
DEX-19746 | commented privacy calls
iconstantin-bd Aug 12, 2024
333abac
Refactor new-prod-boxes.js to match the height of elements based on a…
Matei-Iordache Aug 12, 2024
95d917e
Refactor new-prod-boxes.js to match the height of elements based on a…
Matei-Iordache Aug 12, 2024
6c8f6cf
DEX-19746 | added real time error validation
iconstantin-bd Aug 12, 2024
a9e4ae7
added icon
vradulescu-bd Aug 12, 2024
68bbd1e
DEX-19746 | added submit button logic
iconstantin-bd Aug 12, 2024
7e819a2
DEX-19746 | added form validation in real time
iconstantin-bd Aug 12, 2024
272eeed
Refactor four-cards.js and new-prod-boxes.js to conditionally decorat…
Matei-Iordache Aug 12, 2024
ab7e514
price fixed base uri
vradulescu-bd Aug 12, 2024
efb2807
Merge pull request #160 from bitdefender/new-prod-boxes-match-height
vradulescu-bd Aug 13, 2024
a87aa75
removed debuggers
vradulescu-bd Aug 13, 2024
f121015
DEX-19746 | rewrote some base functions to support variables in all p…
iconstantin-bd Aug 13, 2024
0e54124
DEX-19746 | readded the dip calls
iconstantin-bd Aug 13, 2024
708fb27
DEX-19746 | added smooth scrolling to ToS
iconstantin-bd Aug 13, 2024
4bf8014
DEX-19746 | fixed linter issue
iconstantin-bd Aug 13, 2024
5cfc2a7
added translation support
vradulescu-bd Aug 14, 2024
209c88d
Merge branch 'main' into sync-repo-v
vradulescu-bd Aug 16, 2024
8d75646
added translation support
vradulescu-bd Aug 16, 2024
21ba829
typo fix
vradulescu-bd Aug 16, 2024
9391b16
lint fix
vradulescu-bd Aug 16, 2024
d767674
Merge pull request #155 from bitdefender/DEX-19350
Matei-Iordache Aug 19, 2024
48de8c7
price extend list support
vradulescu-bd Aug 21, 2024
11c7ab9
Merge pull request #138 from bitdefender/sync-repo-v
vradulescu-bd Aug 21, 2024
b8a1797
button fix css
vradulescu-bd Aug 21, 2024
a92accc
Merge pull request #162 from bitdefender/DEX-19784
vradulescu-bd Aug 21, 2024
0611ed4
add dropdown-box component from www-landing-pages
Matei-Iordache Aug 21, 2024
16884ac
Add tags
Matei-Iordache Aug 21, 2024
e95ca10
Merge branch 'main' into DEX-19746-add-emarsys-call
iconstantin-bd Aug 22, 2024
c63b962
pricing fix
vradulescu-bd Aug 22, 2024
e2e1ce4
feat: Make utils.js be a standalone library.
Matei-Iordache Aug 22, 2024
fc32bad
DEX-19662 | added dynamic form type and added cookie
iconstantin-bd Aug 22, 2024
02fec89
Linting errors
Matei-Iordache Aug 22, 2024
3cb663f
DEX-19662 | fixed linting
iconstantin-bd Aug 22, 2024
dfd2404
Merge pull request #165 from bitdefender/DEX-19662-newsletter-pop-up
enake Aug 22, 2024
a8116c4
add new option
Matei-Iordache Aug 22, 2024
a166a37
Merge pull request #164 from bitdefender/fix-utils-import
Matei-Iordache Aug 22, 2024
fb2b9dc
refine dropdown-box component
Matei-Iordache Aug 22, 2024
456b8e2
Change font-weight
Matei-Iordache Aug 22, 2024
0286564
Add container class
Matei-Iordache Aug 22, 2024
6d8ae22
Improvements
Matei-Iordache Aug 22, 2024
6514ff8
Merge branch 'main' into DEX-19788
Matei-Iordache Aug 22, 2024
1ba9f6b
fixes
Matei-Iordache Aug 22, 2024
641f421
fix button
Matei-Iordache Aug 22, 2024
816eb66
Merge branch 'main' into DEX-19821
vradulescu-bd Aug 23, 2024
01ec9d3
Merge pull request #163 from bitdefender/DEX-19821
vradulescu-bd Aug 23, 2024
6bcb1c9
add a new checkmark feature and rewrite the component for clearness
Matei-Iordache Aug 23, 2024
a34e1ea
feat: Add checkmark feature and improve component clarity
Matei-Iordache Aug 23, 2024
b1b1214
one line power
Matei-Iordache Aug 23, 2024
cd836c2
adding changes for hero and columns with video
ltiseanu Aug 24, 2024
c3ea60e
adding class
ltiseanu Aug 24, 2024
6bd003d
add class
ltiseanu Aug 24, 2024
f63b767
update
ltiseanu Aug 24, 2024
0b893e2
add class
ltiseanu Aug 24, 2024
e05bd6d
update
ltiseanu Aug 24, 2024
3364442
feat: updates for sbs page
ltiseanu Aug 24, 2024
f1f7f3a
Feat: scamio page
ltiseanu Aug 24, 2024
ee7f6c5
hide product images
Andserbanbitdefender Aug 26, 2024
09edf33
creator-box
imantescu Aug 26, 2024
b40a57c
Merge pull request #167 from bitdefender/DEX-19814
Andserbanbitdefender Aug 26, 2024
f17067d
Merge branch 'main' into DEX-19746-add-emarsys-call
iconstantin-bd Aug 26, 2024
dff962f
DEX-19746 | removed unnecessary function
iconstantin-bd Aug 26, 2024
d9817b2
update creator-block
imantescu Aug 26, 2024
429386e
Merge pull request #168 from bitdefender/creators-block
imantescu Aug 27, 2024
01af850
Merge pull request #161 from bitdefender/DEX-19746-add-emarsys-call
iconstantin-bd Aug 27, 2024
596851d
updates
ltiseanu Aug 27, 2024
5a7bcf8
Creators page
ltiseanu Aug 27, 2024
3bbbf47
Update Creators page
ltiseanu Aug 28, 2024
5b5b6b6
adding gradient
ltiseanu Aug 28, 2024
e5b2ab5
Updates Creators page
ltiseanu Aug 28, 2024
587248d
fix: lint
ltiseanu Aug 28, 2024
103d4f1
fix: lint css
ltiseanu Aug 28, 2024
edf440c
fix: lint
ltiseanu Aug 28, 2024
60bd1b9
fix eslint
ltiseanu Aug 28, 2024
259c729
fix: lint
ltiseanu Aug 28, 2024
dfbfd06
update creator-components
imantescu Aug 28, 2024
4118282
fix lint css
ltiseanu Aug 28, 2024
4ab5f83
fix: lint
ltiseanu Aug 28, 2024
d941c6a
fix lint
ltiseanu Aug 28, 2024
208ae74
Merge pull request #170 from bitdefender/DEX-19615-creators
ltiseanu Aug 28, 2024
b05e59a
Merge pull request #171 from bitdefender/creators-block
imantescu Aug 28, 2024
91ec0c1
DEX-19813
vradulescu-bd Aug 28, 2024
b92f833
DEX-19813
vradulescu-bd Aug 28, 2024
6a864e0
fix: adding id for tos
ltiseanu Aug 28, 2024
32e42b8
Merge pull request #173 from bitdefender/DEX-19615-creators
imantescu Aug 28, 2024
d511622
feat: Add margin-bottom to new-prod-boxes for better spacing
Matei-Iordache Aug 28, 2024
f44ed8f
Merge branch 'main' into DEX-18444
Matei-Iordache Aug 28, 2024
6272d99
feat: Update dynamic buy link in new-prod-boxes
Matei-Iordache Aug 28, 2024
762ad55
add export function
Matei-Iordache Aug 28, 2024
03c3697
update creator
imantescu Aug 28, 2024
6673d22
Merge pull request #174 from bitdefender/creators-block
imantescu Aug 28, 2024
b7f87e5
Fix: create buy link if not hardcoded
ltiseanu Aug 28, 2024
e9a120f
Merge branch 'main' of https://github.com/bitdefender/www-websites in…
ltiseanu Aug 28, 2024
a4a77e7
fix - remove unnecesary condition
ltiseanu Aug 28, 2024
8ebc976
Update dynamic buy link function in new-prod-boxes
Matei-Iordache Aug 28, 2024
caf1f5d
Update dynamic buy link function in new-prod-boxes
Matei-Iordache Aug 28, 2024
5451407
Update dynamic buy link function in new-prod-boxes
Matei-Iordache Aug 28, 2024
5de9b2d
Update dynamic buy link function in new-prod-boxes
Matei-Iordache Aug 28, 2024
eb6e18d
Merge pull request #175 from bitdefender/DEX-19615-creators
inastase Aug 29, 2024
ffe8dcc
DEX-19813
vradulescu-bd Aug 29, 2024
6356d51
update creators: target blank
imantescu Aug 29, 2024
68ba448
DEX-19813
vradulescu-bd Aug 29, 2024
644303a
Merge pull request #177 from bitdefender/creators-block
imantescu Aug 29, 2024
3622890
update creator after feedback
imantescu Aug 29, 2024
9601a4e
update creators after feedback
imantescu Aug 29, 2024
55b69f1
Merge pull request #178 from bitdefender/creators-update
imantescu Aug 29, 2024
2a52700
Update dynamic buy link function in new-prod-boxes
Matei-Iordache Aug 29, 2024
a7de3e7
Merge branch 'main' into DEX-18444
Matei-Iordache Aug 29, 2024
406b2c0
Linting fix
Matei-Iordache Aug 29, 2024
0b7b15e
refactor: Adjust dropdown-box layout and logic
Matei-Iordache Aug 29, 2024
a3b5a9f
Merge branch 'main' into DEX-19788
Matei-Iordache Aug 29, 2024
2ef91a6
updates
ltiseanu Aug 29, 2024
8b8d3ef
Merge branch 'main' of https://github.com/bitdefender/www-websites in…
ltiseanu Aug 29, 2024
ea55239
Merge pull request #166 from bitdefender/DEX-19788
Matei-Iordache Aug 29, 2024
3988e2b
New Updates creators
ltiseanu Aug 29, 2024
a34f513
Merge pull request #179 from bitdefender/DEX-19615-creators
inastase Aug 29, 2024
22928a0
adding new price near biling text
ltiseanu Aug 29, 2024
7685a09
fix
ltiseanu Aug 29, 2024
452754a
adding font for creators
ltiseanu Aug 29, 2024
f0625eb
fix lint
ltiseanu Aug 29, 2024
d1c6c20
Merge pull request #180 from bitdefender/DEX-19615-creators
ltiseanu Aug 29, 2024
e98e54a
Merge branch 'main' into DEX-18444
Matei-Iordache Aug 29, 2024
87cbd3e
Solve conflicts
Matei-Iordache Aug 29, 2024
456e1a6
Merge pull request #176 from bitdefender/DEX-18444
Matei-Iordache Aug 29, 2024
9ad0aab
Merge branch 'main' into DEX-19271
Matei-Iordache Aug 30, 2024
c872024
Merge pull request #141 from bitdefender/DEX-19271
Matei-Iordache Aug 30, 2024
3be18ae
update mobile version creators page
imantescu Aug 30, 2024
7e2285d
update creators page
imantescu Aug 30, 2024
db6b62e
Merge pull request #181 from bitdefender/creators-update
enake Aug 30, 2024
0c32051
update creators page
imantescu Aug 30, 2024
97366f3
Merge pull request #182 from bitdefender/creators-update
enake Aug 30, 2024
cbce47e
Merge branch 'main' of https://github.com/bitdefender/www-websites in…
ltiseanu Sep 1, 2024
08b8e47
update css creators page
imantescu Sep 2, 2024
695f9b8
Merge pull request #183 from bitdefender/creators-page
imantescu Sep 2, 2024
95106ec
chore: Update product-comparison-table CSS and JS
Matei-Iordache Sep 2, 2024
c9903b1
Merge branch 'main' of github.com:bitdefender/www-websites
Matei-Iordache Sep 2, 2024
cfdf2a5
refactor: Update add-on price calculation in new-prod-boxes.js
Matei-Iordache Sep 2, 2024
73d5a1f
Merge pull request #184 from bitdefender/fix-product-comparisson-table
Matei-Iordache Sep 3, 2024
ab4d895
refactor: Update add-on price calculation in new-prod-boxes.js
Matei-Iordache Sep 3, 2024
354eaa7
update headings creators page
imantescu Sep 3, 2024
8d8861a
zuora-pricing
vradulescu-bd Sep 3, 2024
36d19ed
update headings creators page
imantescu Sep 3, 2024
646d26b
Merge pull request #186 from bitdefender/creators-page
imantescu Sep 3, 2024
de1c219
Merge pull request #185 from bitdefender/DEX-18444
Matei-Iordache Sep 3, 2024
17c720f
zuora-pricing
vradulescu-bd Sep 3, 2024
0d82258
zuora-pricing
vradulescu-bd Sep 3, 2024
ee22650
feat: Migrare upgrade/free
ltiseanu Sep 3, 2024
64148e6
fix: lint
ltiseanu Sep 3, 2024
cdd59c4
fix: lint
ltiseanu Sep 3, 2024
23221f1
fix lint
ltiseanu Sep 3, 2024
5cce022
fix: lint
ltiseanu Sep 3, 2024
cea3941
fix lint
ltiseanu Sep 3, 2024
119991a
fix css template creators
imantescu Sep 3, 2024
167af8b
refactor: Update add-on price calculation and plan switcher in new-pr…
Matei-Iordache Sep 3, 2024
e80ff44
zuora-pricing
vradulescu-bd Sep 3, 2024
b27e34e
zuora-pricing
vradulescu-bd Sep 3, 2024
1687a8a
Merge pull request #187 from bitdefender/zuora-pricing
vradulescu-bd Sep 3, 2024
7959649
barchart fix
vradulescu-bd Sep 3, 2024
71a991d
Merge branch 'main' into DEX-19813
vradulescu-bd Sep 3, 2024
5fac1e8
Merge pull request #172 from bitdefender/DEX-19813
vradulescu-bd Sep 3, 2024
2841536
Merge pull request #189 from bitdefender/creators-page
enake Sep 4, 2024
1bc74e9
update currency for $ on creators page
imantescu Sep 4, 2024
04fdff6
update currency for $ on creators page
imantescu Sep 4, 2024
a571571
Merge branch 'main' into DEX-19880
Matei-Iordache Sep 4, 2024
94b4d0b
update currency for $ and £ on creators page
imantescu Sep 4, 2024
1057894
update currency on creators page
imantescu Sep 4, 2024
cb8b938
update currency on creators page
imantescu Sep 4, 2024
0ac7460
Merge pull request #191 from bitdefender/currency-creators-page
enake Sep 4, 2024
e258938
Merge pull request #190 from bitdefender/DEX-19984
enake Sep 4, 2024
f42d959
update regions creators page
imantescu Sep 4, 2024
c138f7f
update regions on creators page
imantescu Sep 4, 2024
913b2c7
Merge pull request #193 from bitdefender/currency-creators-page
enake Sep 4, 2024
9d9179f
update regions creators page
imantescu Sep 4, 2024
1677cb6
update regions creators page
imantescu Sep 4, 2024
7c489d1
update regions creators page
imantescu Sep 4, 2024
d28721b
update regions creators page
imantescu Sep 4, 2024
1f04b4b
Merge pull request #194 from bitdefender/currency-creators-page
enake Sep 4, 2024
5886b3d
fix link-uri de buy uk
imantescu Sep 4, 2024
cbc3c9a
Merge pull request #195 from bitdefender/currency-creators-page
enake Sep 5, 2024
219626d
refactor: Update add-on price calculation and plan switcher in new-pr…
Matei-Iordache Sep 5, 2024
7cec406
newPriceListed was never given a default value, it broke if the hideD…
Matei-Iordache Sep 5, 2024
d61f1f0
delete console.log
Matei-Iordache Sep 5, 2024
5316019
Merge pull request #196 from bitdefender/fix-pricing
enake Sep 5, 2024
d82a5d2
update adobeDataLayer for creators page
imantescu Sep 5, 2024
8b5b49b
Merge branch 'main' into DEX-19880
Matei-Iordache Sep 5, 2024
1a32b7c
Delete Comment
Matei-Iordache Sep 5, 2024
d4eff1b
adobeDataLayer for creators page
imantescu Sep 5, 2024
3349a13
Merge pull request #197 from bitdefender/currency-creators-page
enake Sep 5, 2024
0ae0808
fix for landing page creators
imantescu Sep 5, 2024
7a08aba
Merge pull request #198 from bitdefender/currency-creators-page
enake Sep 5, 2024
25755a7
refactor: Update add-on price calculation and plan switcher in new-pr…
Matei-Iordache Sep 5, 2024
5234f92
Merge pull request #192 from bitdefender/DEX-19880
Matei-Iordache Sep 5, 2024
744ed78
chore: Add unique IDs to each section in the page
Matei-Iordache Sep 6, 2024
59a625f
Merge pull request #199 from bitdefender/DEX-19998
Matei-Iordache Sep 6, 2024
58a450d
fix text save creators page
imantescu Sep 6, 2024
8c51d51
Merge pull request #200 from bitdefender/currency-creators-page
enake Sep 6, 2024
00504d7
fix-save-creators
imantescu Sep 6, 2024
97f5055
Merge pull request #202 from bitdefender/fix-save-creators
enake Sep 6, 2024
ed0c00e
take 1 on fixing data layer on import
Matei-Iordache Sep 6, 2024
943e564
take 2
Matei-Iordache Sep 6, 2024
d3d70b1
take 3
Matei-Iordache Sep 6, 2024
faab138
chore: Fix import path for sendAnalyticsPageLoadedEvent in new-prod-b…
Matei-Iordache Sep 6, 2024
6121630
take 4
Matei-Iordache Sep 6, 2024
30f6e8d
take 5
Matei-Iordache Sep 6, 2024
2b29220
TAKE 6
Matei-Iordache Sep 6, 2024
002f647
Take 7
Matei-Iordache Sep 6, 2024
b61c180
Take 8
Matei-Iordache Sep 6, 2024
f5e87d3
Cleanup
Matei-Iordache Sep 6, 2024
a77345c
Modify parameter name
Matei-Iordache Sep 6, 2024
2629648
Merge pull request #203 from bitdefender/fix-data-layer
enake Sep 6, 2024
e3007d1
updated the way links are created
iconstantin-bd Sep 9, 2024
bcf5070
added TO DO comment
iconstantin-bd Sep 9, 2024
216a045
fixed linter
iconstantin-bd Sep 9, 2024
199e4a1
Merge pull request #204 from bitdefender/header-single-domain
enake Sep 9, 2024
f5d07ba
Revert "update regions creators page"
vradulescu-bd Sep 9, 2024
c4347aa
Merge pull request #205 from bitdefender/revert-194-currency-creators…
enake Sep 9, 2024
9df7c34
columns lint
ltiseanu Sep 10, 2024
29544be
lint fix
ltiseanu Sep 10, 2024
e7a881d
lint fix
ltiseanu Sep 10, 2024
1985629
lint fix
ltiseanu Sep 10, 2024
6f15182
lint fix
ltiseanu Sep 10, 2024
58efa96
lint fix
ltiseanu Sep 10, 2024
9921345
fix lint
ltiseanu Sep 10, 2024
ddba1f0
fix lint
ltiseanu Sep 10, 2024
9f42e8f
fix lint
ltiseanu Sep 10, 2024
4bb51da
lint fix
ltiseanu Sep 10, 2024
7558f13
lint fix
ltiseanu Sep 10, 2024
101de30
Merge branch 'main' of https://github.com/bitdefender/www-websites in…
ltiseanu Sep 10, 2024
ac45ccb
lint fix
ltiseanu Sep 10, 2024
e595753
fix lint
ltiseanu Sep 10, 2024
84f2d93
lint fix
ltiseanu Sep 10, 2024
11fab75
fix lint
ltiseanu Sep 10, 2024
0d1e1da
fix: blog insert image to always fill the container
enake Sep 10, 2024
07080cf
feat: update the prod host
enake Sep 10, 2024
79e31d0
Merge pull request #206 from bitdefender/blog-fix
enake Sep 10, 2024
14f1d7b
Merge pull request #188 from bitdefender/migrare_us
ltiseanu Sep 10, 2024
99ff160
mega menu upate
vradulescu-bd Sep 11, 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
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}/_src/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 @@ -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