Skip to content

Commit 7b4ff19

Browse files
committed
get eval lic cta button form
1 parent aa44f5e commit 7b4ff19

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/components/form/BookDemoForm/BookDemoForm.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ type BookDemoType = {
1414
tell_us_more: string;
1515
};
1616

17-
const BookDemoForm = () => {
17+
interface BookDemoFormProps {
18+
submit_text?: string;
19+
}
20+
21+
const BookDemoForm = ({ submit_text = "Submit" }: BookDemoFormProps) => {
1822
const [okMessage, setOkMessage] = useState(false);
1923
const [errorMessage, setErrorMessage] = useState(false);
2024
const [values, setValues] = useState<BookDemoType>({
@@ -94,7 +98,7 @@ const BookDemoForm = () => {
9498
<textarea rows={7} name="tell_us_more" onChange={handleInputChange}></textarea>
9599
</label>
96100
<div className="button">
97-
<Button text="Submit" type="submit" />
101+
<Button text={submit_text} type="submit" />
98102
</div>
99103
</form>
100104
{okMessage && (

src/pages/pricing.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const tags = [
8787
</div>
8888
<ContentLimiter contentId="sla-support-content" maxWidth={1100}>
8989
<div class="product-features">
90-
<BookDemoForm client:load />
90+
<BookDemoForm submit_text="Get Evaluation Key" client:load />
9191
</div>
9292
</ContentLimiter>
9393
</div>

0 commit comments

Comments
 (0)