-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for new org-invite bot (#136)
- Loading branch information
1 parent
9c19e7f
commit 86504dd
Showing
3 changed files
with
81 additions
and
23 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,52 @@ | ||
--- | ||
title: Invite Sent | ||
--- | ||
|
||
# Invite Sent | ||
|
||
Please check your email for an invite to the organization. If you don't see it, check your spam folder. | ||
|
||
Once you have accepted the invite, click the button below to continue. | ||
|
||
<script src="https://www.google.com/recaptcha/api.js" async defer></script> | ||
|
||
<> | ||
{(() => { | ||
globalThis.onSubmit = token => document.getElementById("org-form").submit(); | ||
})()} | ||
</> | ||
|
||
import BrowserOnly from "@docusaurus/BrowserOnly"; | ||
|
||
<form | ||
id="org-form" | ||
action="https://roblox-ts-org-invite-production.up.railway.app/add-to-team" | ||
method="post" | ||
style={{ | ||
display: "flex", | ||
}} | ||
> | ||
<BrowserOnly> | ||
{() => <input type="hidden" name="username" value={new URLSearchParams(location.search).get("username")} />} | ||
</BrowserOnly> | ||
<button | ||
className="g-recaptcha" | ||
data-sitekey="6LeJpLIUAAAAANNNvHEWfIBZR08Tamp06xD4yIBy" | ||
data-callback="onSubmit" | ||
style={{ | ||
borderRadius: "0.4rem", | ||
border: "1px solid white", | ||
boxSizing: "border-box", | ||
height: "2rem", | ||
padding: "1rem", | ||
verticalAlign: "middle", | ||
lineHeight: 0, | ||
fontFamily: "var(--ifm-font-family-base)", | ||
background: "transparent", | ||
color: "white", | ||
width: "5rem", | ||
}} | ||
> | ||
Done | ||
</button> | ||
</form> |