diff --git a/examples/react/w3console/src/brand.tsx b/examples/react/w3console/src/brand.tsx new file mode 100644 index 00000000..bb7b9a29 --- /dev/null +++ b/examples/react/w3console/src/brand.tsx @@ -0,0 +1,18 @@ +export const serviceName = import.meta.env.VITE_W3UP_SERVICE_BRAND_NAME || 'dev.web3.storage' +export const tosUrl = import.meta.env.VITE_W3UP_PROVIDER == 'did:web:nft.storage' ? 'https://nft.storage/terms' : 'https://web3.storage/terms' +export const LogoIcon = () => ( + +) \ No newline at end of file diff --git a/examples/react/w3console/src/components/Authenticator.tsx b/examples/react/w3console/src/components/Authenticator.tsx index bb745ec2..910e9783 100644 --- a/examples/react/w3console/src/components/Authenticator.tsx +++ b/examples/react/w3console/src/components/Authenticator.tsx @@ -1,28 +1,41 @@ -import React from 'react' import { Authenticator as AuthCore, useAuthenticator } from '@w3ui/react-keyring' +import { serviceName, tosUrl, LogoIcon } from '../brand' export function AuthenticationForm (): JSX.Element { const [{ submitted }] = useAuthenticator() - return (
+ By registering with {serviceName} w3up beta, you agree to the Terms of Service. + If you have an existing non-w3up beta account with {serviceName} and register for + the w3up beta version of {serviceName} using the same email, then at the end of the + beta period, these accounts will be combined. Until the beta period is over and this + migration occurs, uploads to w3up will not appear in your {serviceName} account + (and vice versa), even if you register with the same email. +
+ ) } diff --git a/examples/react/w3console/src/pages/index.tsx b/examples/react/w3console/src/pages/index.tsx index e0725de8..9a5fb3cb 100644 --- a/examples/react/w3console/src/pages/index.tsx +++ b/examples/react/w3console/src/pages/index.tsx @@ -14,6 +14,7 @@ import { UploadsList } from '../components/UploadsList' import { SpaceFinder } from '../components/SpaceFinder' import { SpaceCreatorForm, SpaceCreator } from '../components/SpaceCreator' import { AuthenticationEnsurer } from '../components/Authenticator' +import { tosUrl, LogoIcon } from '../brand' function SpaceRegistrar (): JSX.Element { const [, { registerSpace }] = useKeyring() @@ -172,21 +173,7 @@ function SpaceSelector (props: any): JSX.Element { export function Logo (): JSX.Element { return (- {serviceName} w3up is currently a beta preview feature for {serviceName}, - and will eventually be used as the primary upload API for {serviceName}. - {serviceName} includes w3up-client, - w3ui, - w3cli, and the - underlying APIs and services - for uploading data (collectively, the “w3up beta”). By using the {serviceName} - w3up beta, you consent to the general {serviceName} - {import.meta.env.VITE_W3UP_PROVIDER == 'did:web:nft.storage' ? - Terms of Service : - Terms of Service - } +
+ {serviceName} w3up is currently a beta preview feature for {serviceName}, + and will eventually be used as the primary upload API for {serviceName}.{' '} + {serviceName} includes w3up-client,{' '} + w3ui,{' '} + w3cli, and the{' '} + underlying APIs and services{' '} + for uploading data (collectively, the “w3up beta”). By using the {serviceName}{' '} + w3up beta, you consent to the general {serviceName} Terms of Service {import.meta.env.VITE_W3UP_PROVIDER == 'did:web:nft.storage' && ', meaning you will only upload NFT data (i.e., off-chain NFT metadata and assets) via your account' } .
-+
{import.meta.env.VITE_W3UP_PROVIDER == 'did:web:web3.storage' && 'Registering for and uploading data to the web3.storage w3up beta is currently free. ' } - At the end of the preview period, accounts registered through the {serviceName} w3up beta + At the end of the preview period, accounts registered through the {serviceName} w3up beta (“w3up account(s)”) will ultimately be integrated with the broader account system of {serviceName}.
- In order to register for the {serviceName} w3up beta, you will be required to provide and verify an +
+ In order to register for the {serviceName} w3up beta, you will be required to provide and verify an email address, which will be permanently associated with your {serviceName} w3up account and cannot be changed.
-- If you sign up for the {serviceName} w3up beta with the same email address used for a {serviceName} account, - at the end of the preview period we will merge your data uploaded through the w3up beta with the {serviceName} +
+ If you sign up for the {serviceName} w3up beta with the same email address used for a {serviceName} account, + at the end of the preview period we will merge your data uploaded through the w3up beta with the {serviceName}{' '} account linked to the same email.
-- If you intend to separate uploaded data between web3.storage and NFT.Storage using w3up during the w3up beta period (e.g., - you want your NFT data to be stored for free on NFT.Storage and non-NFT data to be stored for payment on web3.storage), +
+ If you intend to separate uploaded data between web3.storage and NFT.Storage using w3up during the w3up beta period (e.g., + you want your NFT data to be stored for free on NFT.Storage and non-NFT data to be stored for payment on web3.storage), please register for the {import.meta.env.VITE_W3UP_PROVIDER == 'did:web:nft.storage' ? 'web3.storage' : 'NFT.Storage'} w3up beta separately.
- At the end of the preview period, your web3.storage w3up beta account will be integrated with the broader web3.storage - account system. You acknowledge that once the preview period ends, all data uploaded through the w3up beta will be combined - with existing uploads to your web3.storage account, and any aggregate data volume exceeding the Free Tier data limits of - web3.storage during this preview window will eventually require payment for us to continue storing it and making it available. -
-- Please refer to the web3.storage website for information on pricing. If you exceed - the Free Tier data limits of web3.storage and do not intend to pay, please do not use the w3up beta for long-term storage. -
++ At the end of the preview period, your web3.storage w3up beta account will be integrated with the broader web3.storage + account system. You acknowledge that once the preview period ends, all data uploaded through the w3up beta will be combined + with existing uploads to your web3.storage account, and any aggregate data volume exceeding the Free Tier data limits of + web3.storage during this preview window will eventually require payment for us to continue storing it and making it available. +
++ Please refer to the web3.storage website for information on pricing. If you exceed + the Free Tier data limits of web3.storage and do not intend to pay, please do not use the w3up beta for long-term storage. +
- At the end of the preview period, your NFT.Storage w3up beta account will be integrated with the broader NFT.Storage account system. - You acknowledge that once the preview period ends, all data uploaded through the w3up beta will be combined with existing uploads to +
+ At the end of the preview period, your NFT.Storage w3up beta account will be integrated with the broader NFT.Storage account system. + You acknowledge that once the preview period ends, all data uploaded through the w3up beta will be combined with existing uploads to your NFT.Storage account.
}