Skip to content

Commit ce1be0e

Browse files
authored
Up page (#107)
1 parent c3369c9 commit ce1be0e

5 files changed

Lines changed: 16 additions & 18 deletions

File tree

src/app/_components/Header/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,16 @@ const Header: React.FC<HeaderProps> = ({ isHome, className, ...rest }) => {
4949
<div className="w-full border-b border-white/15 bg-gradient-to-r from-[#7b2d8e] via-[#973aa8] to-[#7b2d8e] text-white">
5050
<div className="mx-auto flex w-full max-w-[1150px] items-center justify-center gap-2 px-4 py-2.5 text-[12px] font-medium leading-5 sm:px-5 sm:text-sm">
5151
<span className="truncate">
52-
<b>AI Chat Plugin is here!</b> Build AI agents that edit your
53-
projects.
52+
<b>New:</b> Open Studio directly inside ChatGPT and keep editing
53+
without leaving the conversation.
5454
</span>
5555
<a
56-
href="https://app.grapesjs.com/docs-sdk/plugins/ai/overview"
56+
href={urls.getChatGptAppUrl()}
5757
target="_blank"
5858
rel="noopener noreferrer"
5959
className="shrink-0 font-semibold text-purple-200 transition-colors hover:text-white"
6060
>
61-
View Docs -&gt;
61+
Open App -&gt;
6262
</a>
6363
</div>
6464
</div>

src/app/sdk/SdkPage.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@ export default function SDKPage() {
7979
Embed an AI-powered visual editor in your app.
8080
</h1>
8181
<p className={cn(styles.p)}>
82-
White-label, no-code editor that integrates seamlessly into your
83-
stack.
84-
<br />
8582
Build with AI, drag & drop, or code.
8683
<br />
8784
For <b className="text-white">Newsletters</b>,{" "}
@@ -95,7 +92,7 @@ export default function SDKPage() {
9592
href={urls.getSdkLicensesUrl({ ref: "heroAccount" })}
9693
variant="tertiary"
9794
>
98-
Get License
95+
Get a License
9996
</CTALink>
10097
</div>
10198

@@ -207,7 +204,7 @@ export default function SDKPage() {
207204
href={urls.getSdkLicensesUrl({ ref: "featuresCta" })}
208205
className="my-10"
209206
>
210-
Start Now<span className="font-[400]"> - It's free</span>
207+
Get a License
211208
</CTALink>
212209

213210
<section className={styles.card}>
@@ -468,7 +465,7 @@ export default function SDKPage() {
468465
Join the thousands of companies & developers using our editor today
469466
</p>
470467
<CTALink href={urls.getSdkLicensesUrl({ ref: "preSponsorCta" })}>
471-
Get Started for Free
468+
Get a License
472469
</CTALink>
473470
</section>
474471

src/app/sdk/email/page.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export default function EmailSDKPage() {
115115
href={urls.getSdkLicensesUrl({ ref: "emailHeroCta" })}
116116
className="inline-block px-8 py-4 bg-violet-600 text-white font-semibold rounded-lg hover:bg-violet-700 transition-colors duration-200 text-lg"
117117
>
118-
Get Started for Free
118+
Get a License
119119
</a>
120120
<a
121121
href={urls.getGettingStartedDocsUrl()}
@@ -362,7 +362,7 @@ export default function EmailSDKPage() {
362362
href={urls.getSdkLicensesUrl({ ref: "emailCta" })}
363363
className="inline-block px-8 py-4 bg-violet-600 text-white font-semibold rounded-lg hover:bg-violet-700 transition-colors duration-200 text-lg"
364364
>
365-
Get Started for Free
365+
Get a License
366366
</a>
367367
<a
368368
href={urls.getContactUsUrl()}
@@ -381,4 +381,3 @@ export default function EmailSDKPage() {
381381
</div>
382382
);
383383
}
384-

src/app/sdk/pricing/sdkPricingData.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export const sdkPricingPlans: SdkPricingPlan[] = [
135135
description: "Free access. Forever",
136136
preList: "All basic features",
137137
cta: {
138-
label: "Try Now",
138+
label: "Get a License",
139139
href: urls.getSdkLicensesUrl({ plan: "free" }),
140140
},
141141
cardFeatures: [
@@ -175,7 +175,7 @@ export const sdkPricingPlans: SdkPricingPlan[] = [
175175
priceSuffix: { monthly: "/month", annual: "/year" },
176176
includes: "free",
177177
cta: {
178-
label: "Get This Plan",
178+
label: "Get a License",
179179
href: urls.getSdkLicensesUrl({ plan: "startup" }),
180180
},
181181
cardFeatures: [
@@ -215,7 +215,7 @@ export const sdkPricingPlans: SdkPricingPlan[] = [
215215
priceSuffix: { monthly: "/month", annual: "/year" },
216216
includes: "startup",
217217
cta: {
218-
label: "Get This Plan",
218+
label: "Get a License",
219219
href: urls.getSdkLicensesUrl({ plan: "business" }),
220220
},
221221
cardFeatures: [

src/lib/urls.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ const getRef = ({ ref, plan }: UrlProps = {}) =>
1414
ref
1515
? `&utm_medium=${ref}`
1616
: plan
17-
? `&utm_medium=ctaSdkPlan${toCapitalCase(plan)}`
18-
: "";
17+
? `&utm_medium=ctaSdkPlan${toCapitalCase(plan)}`
18+
: "";
1919

2020
const urls = {
2121
getGettingStartedDocsUrl: () =>
2222
`${APP_URL}/docs-sdk/overview/getting-started?${UTM_PARAMS}&utm_medium=docsHeader`,
23+
getChatGptAppUrl: () =>
24+
"https://chatgpt.com/apps/grapes-studio/asdk_app_69dd38930d64819196c02d0f9db061b5",
2325
getGrapesJsDocs: () => `${SITE_URL}/docs/?${UTM_PARAMS}`,
2426
getStudioEditorUrl: () =>
2527
`${APP_URL}/playground?${UTM_PARAMS}&utm_medium=tryEditor`,

0 commit comments

Comments
 (0)