-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* π Fixed styling on ROI form * π Updated interestForm to include a page URL field. * π§βπ» Made the Registration of interest button text modifiable * π Fixed live editing for interest form button * π§ͺ Performing mimetype test for webp files * β Removed unused "useTina" import * Revert "π§ͺ Performing mimetype test for webp files" * πAdded expression of interest jot form ID to global settings * π§ - Updated interest form to use global setting for registration of interest jotform - Fixed interest form using formId as page url * π¨ Fixed build errors * β removed page url from tina schema (the jotform captures it now) * πΎ rebuilt project schema --------- Co-authored-by: Calinator444 <[email protected]>
- Loading branch information
1 parent
4fb5d2b
commit dc0d224
Showing
6 changed files
with
42 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { Template } from "tinacms"; | ||
import globals from "../../content/global/index.json"; | ||
import { JotFormEmbed } from "../blocks"; | ||
|
||
export const InterestForm = (props) => { | ||
return ( | ||
<JotFormEmbed | ||
jotFormId={`${globals.registrationOfInterestJotFormId}`} | ||
buttonText={props.buttonText || "I am interested"} | ||
containerClass="" | ||
/> | ||
); | ||
}; | ||
|
||
export const interestFormSchema: Template = { | ||
label: "Interest Form", | ||
name: "InterestForm", | ||
fields: [ | ||
{ | ||
type: "string", | ||
label: "Button Text", | ||
name: "buttonText", | ||
required: false, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.