Skip to content

Commit 4c4b7c1

Browse files
committed
feat: remap hero link to #get-in-touch form
remove unused mailto constant
1 parent 8093b79 commit 4c4b7c1

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

app/[locale]/enterprise/constants.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

app/[locale]/enterprise/page.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ import { BASE_TIME_UNIT } from "@/lib/constants"
5252
import CasesColumn from "./_components/CasesColumn"
5353
import EnterpriseContactForm from "./_components/ContactForm/lazy"
5454
import FeatureCard from "./_components/FeatureCard"
55-
import { ENTERPRISE_MAILTO } from "./constants"
5655
import type { Case, EcosystemPlayer, Feature } from "./types"
5756
import { parseActivity } from "./utils"
5857

@@ -63,6 +62,8 @@ import { fetchTotalEthStaked } from "@/lib/api/fetchTotalEthStaked"
6362
import EthGlyph from "@/public/images/assets/svgs/eth-diamond-rainbow.svg"
6463
import heroImage from "@/public/images/heroes/enterprise-hero-white.png"
6564

65+
const GET_IN_TOUCH_ID = "get-in-touch"
66+
6667
const FeaturesSwiper = dynamic(() => import("./_components/FeaturesSwiper"), {
6768
ssr: false,
6869
loading: () => (
@@ -295,7 +296,7 @@ const Page = async ({ params }: { params: { locale: Lang } }) => {
295296
buttons={[
296297
{
297298
content: t("page-enterprise-hero-cta"),
298-
href: ENTERPRISE_MAILTO,
299+
href: `#${GET_IN_TOUCH_ID}`,
299300
matomo: {
300301
eventCategory: "enterprise",
301302
eventAction: "CTA",
@@ -484,7 +485,7 @@ const Page = async ({ params }: { params: { locale: Lang } }) => {
484485
</section>
485486

486487
<section
487-
id="team"
488+
id={GET_IN_TOUCH_ID}
488489
className="flex w-full flex-col items-center gap-y-12 rounded-4xl border border-accent-a/20 bg-gradient-to-b from-accent-a/5 to-accent-a/10 px-4 py-10 md:py-12"
489490
>
490491
<div className="flex flex-col items-center gap-2">

0 commit comments

Comments
 (0)