Skip to content

Commit 18dc2f5

Browse files
committed
contact sales --> contact us!
1 parent aa1b1fc commit 18dc2f5

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/packages/next/components/landing/header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export default function Header(props: Props) {
7272
}}
7373
>
7474
{true || account ? (
75-
<LiveDemo context="header" />
75+
<LiveDemo context="header" type="primary" />
7676
) : (
7777
<Button
7878
type="primary"

src/packages/next/components/landing/live-demo.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { useEffect, useState } from "react";
55

66
export function liveDemoUrl(context) {
77
return getSupportUrl({
8-
subject: "Contact Sales",
8+
subject: "Contact Us!",
99
type: "question",
1010
body: `I would like to chat with a Sales Representative!\n\nWHEN IS A GOOD TIME (include timezone!): [REQUIRED]\n\nYOUR ORGANIZATION: [REQUIRED]\n\n(Only requests filled out in good faith will receive a response.)\n`,
1111
hideExtra: true,
@@ -18,16 +18,17 @@ export function liveDemoUrl(context) {
1818
interface Props {
1919
context: string;
2020
label?;
21+
type?;
2122
}
2223

23-
export default function LiveDemo({ context, label }: Props) {
24+
export default function LiveDemo({ context, label, type }: Props) {
2425
const [href, setHref] = useState<string | undefined>(undefined);
2526
useEffect(() => {
2627
setHref(liveDemoUrl(context));
2728
}, []);
2829
return (
29-
<Button href={href} type="primary">
30-
<Icon name="users" /> {label ?? "Contact Sales"}
30+
<Button href={href} type={type}>
31+
<Icon name="users" /> {label ?? "Contact Us!"}
3132
</Button>
3233
);
3334
}

0 commit comments

Comments
 (0)