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

Added Contact Us form for extract api #207

Merged
merged 5 commits into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
15 changes: 15 additions & 0 deletions gatsby-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -1707,6 +1707,21 @@ export const onRouteUpdate = ({ location, prevLocation }) => {

} else if (window.location.pathname.indexOf("contact/sales/seal") >= 0) {

} else if (window.location.pathname.indexOf("contact/sales/form-data-api") >= 0) {

document
.querySelector(".Form-Data-API-ContactUs")
.closest("main")
.setAttribute("daa-lh", "Body");

document
.querySelector(".Form-Data-API")
.setAttribute("daa-lh", "Form Data API");

document
.querySelector(".Hero-Banner")
.setAttribute("daa-lh", "Hero Banner");

} else if (window.location.pathname.indexOf("contact") >= 0) {
document
.querySelector(".Contact-Home")
Expand Down
Loading
Loading