Skip to content

Commit

Permalink
feat: update pinning api access tooltip copy (#1726)
Browse files Browse the repository at this point in the history
  • Loading branch information
e-schneid authored Aug 17, 2022
1 parent b6bdbda commit a9d2798
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { useState } from 'react';

import Modal from 'modules/zero/components/modal/modal';
import Link from 'components/link/link';
import CloseIcon from 'assets/icons/close';
import Button from 'components/button/button.js';
import { createPinningServiceRequest } from 'lib/api';
Expand Down Expand Up @@ -38,7 +39,13 @@ const PinningRequestModal = ({ isOpen, onClose }) => {
>
<div className="user-request-modal__container">
<GradientBackground variant="saturated-variant" />
<h1 className="user-request-modal__heading">Request API Pinning Access</h1>
<h1 className="user-request-modal__heading">Request Bulk Pinning API Access</h1>
<p className="user-request-modal__description">
Web3.Storage is capable of efficiently ingesting billions of records. Whether or not your data is already on
IPFS, we have simple API for bulk data import. You do not need to request bulk API access if you are just
looking to upload your data to Web3.Storage. Check out{' '}
<Link href="/docs/how-tos/pinning-services-api/">the docs</Link> for more details.
</p>
<form onSubmit={handleCreateUserRequest}>
<div className="input-container">
<label htmlFor="reason">Why you are looking for pinning service API access:</label>
Expand Down
2 changes: 1 addition & 1 deletion packages/website/content/pages/app/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"test_token": "Want to test the token quickly?<span className='testing-cta'> Paste it in <a href='https://bafybeic5r5yxjh5xpmeczfp34ysrjcoa66pllnjgffahopzrl5yhex7d7i.ipfs.dweb.link/' target='_blank' rel='noreferrer'>this demo website</a></span>"
},
"pinning_request": {
"text": "Request API Pinning Access"
"text": "Request bulk pinning API access"
},
"token_creator": {
"prompt": "+ Create a new API Token",
Expand Down
10 changes: 10 additions & 0 deletions packages/website/styles/layouts/userRequestsModals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,13 @@
.user-request-modal__heading {
font-size: 1.5rem;
}

.user-request-modal__description {
margin-top: 10px;
font-size: 14px;
line-height: 18px;

a {
text-decoration: underline;
}
}

0 comments on commit a9d2798

Please sign in to comment.