Skip to content

Commit

Permalink
Add registration token iframe for storage nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
amozoss committed Mar 13, 2024
1 parent ac0d705 commit 14fa442
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/node/get-started/auth-token/page.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ redirects:

## Get your token

Make sure you have copied your personal single-use authorization token from the [Node Hosting signup page](https://www.storj.io/host-a-node). It looks like this:
Please enter your email address below to receive your authentication token and copy it to be used at a later step.

![The entire string, including your email is your auth token.](https://link.storjshare.io/raw/jua7rls6hkx5556qfcmhrqed2tfa/docs/images/jKgCrF0NC1sP8vXkcW8e4_screen-shot-2022-05-26-at-113436-am.png)
{% registration-token /%}

By using your authorization token, you agree to the [Storage Node Operator Terms and Conditions](https://storj.io/storj-operator-terms).

{% callout type="info" %}
If you do not have an authorization token yet, [sign up to Hosting a node](https://registration.storj.io).
Make sure you have copied your personal single-use authorization token to be used at a later step
{% /callout %}

By using your authorization token, you agree to the [Storage Node Operator Terms and Conditions](https://storj.io/storj-operator-terms).
17 changes: 17 additions & 0 deletions src/components/RegistrationToken.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
export function RegistrationToken({}) {
return (
<iframe
src="https://registration.storj.io/iframe/"
width="100%"
height="350px"
border="0"
style={{
width: 330,
border: 0,
marginRight: 'auto',
marginLeft: 'auto',
textAlign: 'center',
}}
></iframe>
)
}
4 changes: 4 additions & 0 deletions src/markdoc/tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { QuickLink, QuickLinks } from '@/components/QuickLinks'
import { TagLinks } from '@/components/TagLinks'
import PartnerIntegration from '@/components/PartnerIntegration'
import YouTubeEmbed from '@/components/YouTubeEmbed'
import { RegistrationToken } from '@/components/RegistrationToken'

const tags = {
callout: {
Expand Down Expand Up @@ -102,6 +103,9 @@ const tags = {
'content-delivery',
],
},
'registration-token': {
render: RegistrationToken,
},
'quick-links': {
render: QuickLinks,
},
Expand Down

0 comments on commit 14fa442

Please sign in to comment.