diff --git a/src/components/ScrollToTop.jsx b/src/components/ScrollToTop.jsx index 7990ed8..6d3ead6 100644 --- a/src/components/ScrollToTop.jsx +++ b/src/components/ScrollToTop.jsx @@ -2,9 +2,16 @@ import { useEffect } from 'react' import { useLocation } from 'react-router-dom' export default function ScrollToTop() { - const { pathname } = useLocation() + const { pathname, hash } = useLocation() useEffect(() => { + if (hash) { + const el = document.querySelector(hash) + if (el) { + el.scrollIntoView({ behavior: 'smooth' }) + return + } + } window.scrollTo(0, 0) - }, [pathname]) + }, [pathname, hash]) return null } diff --git a/src/components/layout/Footer.jsx b/src/components/layout/Footer.jsx index 1ec7be0..4e20a4f 100644 --- a/src/components/layout/Footer.jsx +++ b/src/components/layout/Footer.jsx @@ -72,7 +72,7 @@ const Footer = () => { diff --git a/src/components/layout/Header.jsx b/src/components/layout/Header.jsx index 63d0fd8..882e299 100644 --- a/src/components/layout/Header.jsx +++ b/src/components/layout/Header.jsx @@ -138,7 +138,7 @@ const Header = () => { {/* CTA Button */}
- + Request Consultation
@@ -242,7 +242,7 @@ const Header = () => { {/* CTA */}
{
{ Queue North helps organizations choose, implement, and support the phone, contact center, network, and IT systems that keep daily operations moving.

- + Start a Conversation
Request Consultation diff --git a/src/pages/Home.jsx b/src/pages/Home.jsx index 0fa12c4..fda79f6 100644 --- a/src/pages/Home.jsx +++ b/src/pages/Home.jsx @@ -153,7 +153,7 @@ const Home = () => { Business phone, contact center, network, and IT support built around one accountable implementation partner.

- + Schedule Consultation
diff --git a/src/pages/Industries.jsx b/src/pages/Industries.jsx index 43d47db..d635afb 100644 --- a/src/pages/Industries.jsx +++ b/src/pages/Industries.jsx @@ -50,7 +50,7 @@ const Industries = () => { Communications and infrastructure solutions shaped by the compliance, workflow, and connectivity demands of your specific environment.

Talk to a Specialist @@ -120,7 +120,7 @@ const Industries = () => {
Talk to a Specialist diff --git a/src/pages/IndustryDetail.jsx b/src/pages/IndustryDetail.jsx index 35eadac..3edd2fa 100644 --- a/src/pages/IndustryDetail.jsx +++ b/src/pages/IndustryDetail.jsx @@ -119,7 +119,7 @@ const IndustryDetail = () => {

{industry.name}

- + Request Consultation
diff --git a/src/pages/ServiceDetail.jsx b/src/pages/ServiceDetail.jsx index 47cfbaf..0e6b2ed 100644 --- a/src/pages/ServiceDetail.jsx +++ b/src/pages/ServiceDetail.jsx @@ -84,7 +84,7 @@ const ServiceDetail = () => {

{service.name}

{service.shortDesc}

- + Request This Service
- + Request This Service
diff --git a/src/pages/Services.jsx b/src/pages/Services.jsx index 7de0290..c1a12f3 100644 --- a/src/pages/Services.jsx +++ b/src/pages/Services.jsx @@ -96,7 +96,7 @@ const Services = () => {

Get a Free Quote @@ -135,7 +135,7 @@ const Services = () => {

Talk through options @@ -188,7 +188,7 @@ const Services = () => {
Schedule a Consultation