Skip to content

Commit 855c0ee

Browse files
authored
Fixing URLs within editor interface for new docs structure (#8762)
1 parent f01fba1 commit 855c0ee

File tree

6 files changed

+10
-20
lines changed

6 files changed

+10
-20
lines changed

packages/app/src/app/components/Create/ImportTemplate/ImportTemplate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export const ImportTemplate = () => {
104104
<a
105105
target="_blank"
106106
rel="noreferrer noopener"
107-
href={docsUrl('/learn/sandboxes/synced-templates')}
107+
href={docsUrl('/learn/vm-sandboxes/synced-templates#what-are-synced-templates')}
108108
>
109109
here
110110
</a>

packages/app/src/app/components/WorkspaceSetup/steps/FAQ.tsx

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -148,25 +148,15 @@ const content = {
148148
question:
149149
'What will happen when I hit my workspace member limit on a Pro plan? Will I have the option to pay for more members individually?',
150150
answer:
151-
'If you hit the workspace member limit, please reach out to our <a href=mailto:[email protected]>customer team</a> to discuss a custom plan to suit your needs.',
151+
'If you hit the workspace member limit, please reach out to our <a href=https://www.together.ai/contact-sales>sales team</a> to discuss a custom plan to suit your needs.',
152152
},
153153
{
154-
question:
155-
'I’m currently on a plan with annual billing. Do your new plans have an annual option?',
156-
answer:
157-
'We can offer annual billing for custom <a href=https://codesandbox.io/enterprise>Enterprise plans</a>. However, at the moment, our new Pro plan is only available with monthly billing. We will introduce annual billing in the near future. ',
158-
},
159-
{
160-
question: 'My Sandbox or Devbox is frozen. What does that mean?',
161-
answer: `In Devboxes and repositories, the VM will become frozen if the workspace does not have enough available credits to run a VM. You may encounter a frozen state if:
154+
question: 'My Sandbox is frozen. What does that mean?',
155+
answer: `In VM Sandboxes and repositories, the VM will become frozen if the workspace does not have enough available credits to run a VM. You may encounter a frozen state if:
162156
- you are on a Free workspace and have run out of credits;
163157
- you are on a Pro workspace but your credit spend has hit the spending limit.
164158
165-
To get out of the frozen state, you can either <a href=/upgrade>upgrade</a> to Pro (if you are on Free) or adjust your spending limit. Otherwise, you must wait until the start of the next billing cycle for your credits to renew.
166-
167-
You may also experience a similar “frozen” state with Sandboxes. When the Sandbox limit included in your workspace is exceeded, Sandboxes over the limit will become read-only.
168-
169-
To regain edit access to Sandboxes over the limit, you can either <a href=/upgrade>upgrade</a> to Pro (if you are on Free) or increase your Sandbox limit with <a href=/docs/learn/plans/plans#add-ons>add-ons</a>.`,
159+
To get out of the frozen state, you can either <a href=/upgrade>upgrade</a> to Pro (if you are on Free) or adjust your spending limit. Otherwise, you must wait until the start of the next billing cycle for your credits to renew.`,
170160
},
171161
{
172162
question: 'What is your cancelation and refund policy?',

packages/app/src/app/components/WorkspaceSetup/steps/Plans.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ const FeaturesComparison: React.FC<{ plans: PricingPlanFeatures[] }> = ({
699699
<a
700700
target="_blank"
701701
rel="noreferrer"
702-
href="https://codesandbox.io/docs/learn/devboxes/editors?tab=sandbox"
702+
href="https://codesandbox.io/docs/learn/browser-sandboxes/overview"
703703
>
704704
Learn more about Sandboxes.
705705
</a>
@@ -717,7 +717,7 @@ const FeaturesComparison: React.FC<{ plans: PricingPlanFeatures[] }> = ({
717717
<a
718718
target="_blank"
719719
rel="noreferrer"
720-
href="https://codesandbox.io/docs/learn/devboxes/overview?tab=devbox#difference-between-devboxes--sandboxes"
720+
href="https://codesandbox.io/docs/learn/vm-sandboxes/overview"
721721
>
722722
Learn more about Devboxes.
723723
</a>

packages/app/src/app/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export const DIALOG_TRANSITION_DURATION = 0.25;
22
export const DIALOG_WIDTH = 420;
33
export const REPLY_TRANSITION_DELAY = 0.5;
44
export const ORGANIZATION_CONTACT_LINK =
5-
'https://webforms.pipedrive.com/f/72gS7iXoP8qjL8Ku9HZQcN5UKpUpZkgKRCjhbqREjCOYyBgzrCKCr7Mys5AyczOHBN';
5+
'https://www.together.ai/contact-sales';
66

77
export const CSB_FRIENDS_LINK =
88
'https://codesandbox.io/docs/learn/plans/codesandbox-friends';

packages/app/src/app/pages/GitHub/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export const GitHub: FunctionComponent = withTheme(({ theme }) => {
8484
repository.
8585
<br />
8686
<a
87-
href="/docs/importing#import-from-github"
87+
href="/docs/learn/repositories/getting-started/repo-import"
8888
rel="noopener norefereer"
8989
target="_blank"
9090
>

packages/components/src/components/ExternalCard/index.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const video = {
3434
const thumbless = {
3535
title: 'Uploading Static Files',
3636
url:
37-
'https://codesandbox.io/docs/learn/sandboxes/editors#uploading-static-files',
37+
'https://codesandbox.io/docs/learn/vm-sandboxes/upload',
3838
thumbnail: 'https://malformed-url.com',
3939
};
4040

0 commit comments

Comments
 (0)