-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: ✨ add contact form * fix: 🐛 update explanation text
- Loading branch information
1 parent
c51ebe4
commit 7973ecf
Showing
5 changed files
with
55 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 99 | ||
sidebar_position: 98 | ||
title: Changelog | ||
--- | ||
|
||
|
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,10 @@ | ||
--- | ||
sidebar_position: 99 | ||
title: Contact Us | ||
--- | ||
|
||
Want to provide feedback about our dataset? Have a question about our project? Need help using our data? Let us know! | ||
|
||
import TallyEmbed from '@site/src/components/TallyEmbed'; | ||
|
||
<TallyEmbed /> |
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,31 @@ | ||
/* eslint-disable no-param-reassign */ | ||
/* eslint-disable no-undef */ | ||
import React, { useEffect } from 'react'; | ||
|
||
export default function TallyEmbed() { | ||
useEffect(() => { | ||
const script = document.createElement('script'); | ||
script.src = 'https://tally.so/widgets/embed.js'; | ||
script.onload = function () { | ||
if (typeof Tally !== 'undefined') { | ||
Tally.loadEmbeds(); | ||
} else { | ||
document.querySelectorAll('iframe[data-tally-src]:not([src])').forEach((iframe) => { | ||
iframe.src = iframe.dataset.tallySrc; | ||
}); | ||
} | ||
}; | ||
script.onerror = script.onload; | ||
document.body.appendChild(script); | ||
}, []); | ||
|
||
return ( | ||
<iframe | ||
data-tally-src="https://tally.so/embed/wdY71y?alignLeft=1&hideTitle=1&transparentBackground=1&dynamicHeight=1" | ||
loading="lazy" | ||
width="100%" | ||
height="276" | ||
title="AI-READI Contact Form" | ||
/> | ||
); | ||
} |