Skip to content

Commit 07795b8

Browse files
committed
Restructuring developer
1 parent ddfd54a commit 07795b8

7 files changed

Lines changed: 62 additions & 62 deletions

File tree

components/seekgpt/SolutionsHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const SolutionsHeader = () => {
2121
high-quality web apps and design systems.
2222
</Text>
2323
</Box>
24-
<NextLink href="/products/docs/overview/introduction" passHref legacyBehavior>
24+
<NextLink href="https://ai.seekgpt.org" passHref legacyBehavior>
2525
<Button
2626
asChild
2727
size={{ initial: "3", xs: "4" }}

components/seekgpt/WaitlistSection.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ export const WaitlistSection = () => {
1414
<Box mb="6">
1515
<Box mb="5">
1616
<SerifHeading mb="3" style={{ maxWidth: 560 }}>
17-
SeekGPT early access
17+
SeekGPT AI Platform
1818
</SerifHeading>
1919
<Text size="5" as="p" mb="6" color="gray" style={{ maxWidth: 520 }}>
20-
Let us Grow Together. Join the waitlist to be the first to know when SeekGPT is available.
20+
Manage your API keys, track usage, and explore the SeekGPT ecosystem.
2121
</Text>
2222
</Box>
23-
<NextLink href="https://waitlist.seekgpt.org" passHref legacyBehavior>
23+
<NextLink href="https://si.seekgpt.org" passHref legacyBehavior>
2424
<Button
2525
asChild
2626
size={{ initial: "3", xs: "4" }}
2727
color="gray"
2828
highContrast
2929
>
3030
<a target="_blank">
31-
Join Waitlist
31+
SeekGPT AI Platform
3232
<svg
3333
width="14"
3434
height="14"

pages/developer/custom.tsx

Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Color from "colorjs.io";
22
import NextLink from "next/link";
3-
import { DeveloperHeader } from "@components/DeveloperHeader";
4-
import { DeveloperMobileMenu } from "@components/DeveloperMobileMenu";
3+
import { ColorsHeader } from "@components/ColorsHeader";
4+
import { ColorsMobileMenu } from "@components/ColorsMobileMenu";
55
import { MobileMenuProvider } from "@components/MobileMenu";
66
import { TitleAndMetaTags } from "@components/TitleAndMetaTags";
77
import {
@@ -211,8 +211,8 @@ export default function Page() {
211211
}}
212212
/>
213213

214-
<DeveloperHeader ghost />
215-
<DeveloperMobileMenu />
214+
<ColorsHeader ghost />
215+
<ColorsMobileMenu />
216216

217217
<TitleAndMetaTags
218218
title="SeekGPT by NarzaryAI Team Members"
@@ -228,14 +228,14 @@ export default function Page() {
228228
<Flex direction="column" align="center" mb="7">
229229
<Flex asChild align="center" gap="1" mb="3">
230230
<Link asChild size="2" color="gray" ml="-2">
231-
<NextLink href="/developer">
231+
<NextLink href="/colors">
232232
<ArrowLeftIcon />
233-
Developer
233+
About Company
234234
</NextLink>
235235
</Link>
236236
</Flex>
237237
<Heading as="h1" align="center" size="8">
238-
Support Teams
238+
Team Members
239239
</Heading>
240240

241241
<SegmentedControl.Root
@@ -339,36 +339,36 @@ export default function Page() {
339339
</ColorStepLabel>
340340

341341
{peopleData.map((person, i) => (
342-
<CustomSwatch
343-
key={person.id.toString()}
344-
scale="gray"
345-
step={person.id.toString()}
346-
cssVariable={`var(--gray-${i + 1})`}
347-
hex={result.grayScale[i]?.toUpperCase()}
348-
hexA={result.grayScaleAlpha[i]?.toUpperCase()}
349-
p3={result.grayScaleWideGamut[i]}
350-
p3A={result.grayScaleAlphaWideGamut[i]}
351-
avatar={person.avatar}
352-
name={person.name}
353-
role={person.role}
354-
/>
355-
))}
342+
<CustomSwatch
343+
key={person.id.toString()}
344+
scale="gray"
345+
step={person.id.toString()}
346+
cssVariable={`var(--gray-${i + 1})`}
347+
hex={result.grayScale[i]?.toUpperCase()}
348+
hexA={result.grayScaleAlpha[i]?.toUpperCase()}
349+
p3={result.grayScaleWideGamut[i]}
350+
p3A={result.grayScaleAlphaWideGamut[i]}
351+
avatar={person.avatar}
352+
name={person.name}
353+
role={person.role}
354+
/>
355+
))}
356356

357357
{peopleData.map((person, i) => (
358-
<CustomSwatch
359-
key={person.id.toString()}
360-
scale="gray"
361-
step={person.id.toString()}
362-
cssVariable={`var(--gray-${i + 1})`}
363-
hex={result.grayScale[i]?.toUpperCase()}
364-
hexA={result.grayScaleAlpha[i]?.toUpperCase()}
365-
p3={result.grayScaleWideGamut[i]}
366-
p3A={result.grayScaleAlphaWideGamut[i]}
367-
avatar={person.avatar}
368-
name={person.name}
369-
role={person.role}
370-
/>
371-
))}
358+
<CustomSwatch
359+
key={person.id.toString()}
360+
scale="gray"
361+
step={person.id.toString()}
362+
cssVariable={`var(--gray-${i + 1})`}
363+
hex={result.grayScale[i]?.toUpperCase()}
364+
hexA={result.grayScaleAlpha[i]?.toUpperCase()}
365+
p3={result.grayScaleWideGamut[i]}
366+
p3A={result.grayScaleAlphaWideGamut[i]}
367+
avatar={person.avatar}
368+
name={person.name}
369+
role={person.role}
370+
/>
371+
))}
372372
</Grid>
373373

374374
<Theme className="radix-themes-default-fonts">
@@ -409,6 +409,7 @@ const peopleData = [
409409
{ id: 11, name: "Arjun Nath", role: "Supporting Staff", avatar: "/avatars/arjun.png" },
410410
{ id: 12, name: "Meera Jain", role: "Supporting Staff", avatar: "/avatars/meera.png" },
411411
];
412+
412413
const ToDoList = ({ items, onItemsChange }: ToDoList) => {
413414
return (
414415
<Flex gap="2" direction="column">

pages/developer/docs/overview/[slug].tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function ColorsGettingStartedDoc({ frontmatter, code }: Doc) {
2222
return (
2323
<>
2424
<TitleAndMetaTags
25-
title={`${frontmatter.metaTitle} – SeekGPT Developer`}
25+
title={`${frontmatter.metaTitle} – SeekGPT | NarzaryAI`}
2626
description={frontmatter.metaDescription}
2727
image="seekgpt.png"
2828
/>
@@ -41,11 +41,11 @@ export default function ColorsGettingStartedDoc({ frontmatter, code }: Doc) {
4141
}
4242

4343
export async function getStaticPaths() {
44-
const frontmatters = getAllFrontmatter("developer/docs/overview");
44+
const frontmatters = getAllFrontmatter("company/docs/overview");
4545

4646
return {
4747
paths: frontmatters.map((frontmatter) => ({
48-
params: { slug: frontmatter.slug.replace("developer/docs/overview/", "") },
48+
params: { slug: frontmatter.slug.replace("company/docs/overview/", "") },
4949
})),
5050
fallback: false,
5151
};
@@ -55,7 +55,7 @@ export async function getStaticProps(
5555
context: GetStaticPropsContext<{ slug: string }>,
5656
) {
5757
const { frontmatter, code } = await getMdxBySlug(
58-
"developer/docs/overview/",
58+
"company/docs/overview/",
5959
context.params!.slug,
6060
);
6161
return { props: { frontmatter, code } };

pages/developer/docs/palette-composition/[slug].tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ export default function ColorsPaletteCompostionDoc({ frontmatter, code }: Doc) {
6262
}
6363

6464
export async function getStaticPaths() {
65-
const frontmatters = getAllFrontmatter("developer/docs/palette-composition");
65+
const frontmatters = getAllFrontmatter("company/docs/palette-composition");
6666

6767
return {
6868
paths: frontmatters.map((frontmatter) => ({
6969
params: {
70-
slug: frontmatter.slug.replace("developer/docs/palette-composition/", ""),
70+
slug: frontmatter.slug.replace("company/docs/palette-composition/", ""),
7171
},
7272
})),
7373
fallback: false,
@@ -78,7 +78,7 @@ export async function getStaticProps(
7878
context: GetStaticPropsContext<{ slug: string }>,
7979
) {
8080
const { frontmatter, code } = await getMdxBySlug(
81-
"developer/docs/palette-composition/",
81+
"company/docs/palette-composition/",
8282
context.params!.slug,
8383
);
8484
return { props: { frontmatter, code } };

pages/developer/index.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ export default function ColorsHome() {
6868

6969
<Box mx={{ initial: "5", xs: "6", sm: "7", md: "9" }} position="relative">
7070
<TitleAndMetaTags
71-
title="Developers | SeekGPT by NarzaryAI"
72-
description="Our vision is to establish SeekGPT as a globally recognized, open, and ethically grounded Artificial General Intelligence (AGI) foundational model, driven by India's diverse talent and cultural values, contributing to the advancement of humanity."
71+
title="About SeekGPT by NarzaryAI"
72+
description="ur vision is to establish SeekGPT as a globally recognized, open, and ethically grounded Artificial General Intelligence (AGI) foundational model, driven by India's diverse talent and cultural values, contributing to the advancement of humanity."
7373
image="seekgpt.png"
7474
/>
7575
<Section size={{ initial: "2", md: "4" }}>
7676
<Container>
7777
<SerifHeading mb="3" style={{ maxWidth: 720 }}>
78-
SeekGPT Developers
78+
SeekGPT by NarzaryAI
7979

8080
</SerifHeading>
8181

@@ -88,7 +88,7 @@ export default function ColorsHome() {
8888

8989
<Flex gap="4">
9090
<ColorsMarketingButton asChild size={{ initial: "3", xs: "4" }}>
91-
<NextLink href="/developer/docs/overview/installation">
91+
<NextLink href="/developer/docs/overview/about-us">
9292
Developer Documentations
9393
<svg
9494
width="14"
@@ -110,7 +110,7 @@ export default function ColorsHome() {
110110
size={{ initial: "3", xs: "4" }}
111111
asChild
112112
>
113-
<NextLink href="/developer/custom">Supporting Members</NextLink>
113+
<NextLink href="/developer/custom">Team Members</NextLink>
114114
</Button>
115115
</Flex>
116116
<Flex gap="4" p="8" align={"end"}>

pages/index.tsx

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ const MainContent = () => (
291291

292292
<Flex gap="4" direction={{ initial: "column", xs: "row" }}>
293293
<NextLink
294-
href="/developer"
294+
href="https://ai.seekgpt.org"
295295
passHref
296296
legacyBehavior
297297
>
@@ -409,7 +409,7 @@ const SecondMainContent = () => (
409409

410410
<Flex gap="4" direction={{ initial: "column", xs: "row" }}>
411411
<NextLink
412-
href="#"
412+
href="https://ai.seekgpt.org/console/token"
413413
passHref
414414
legacyBehavior
415415
>
@@ -419,8 +419,7 @@ const SecondMainContent = () => (
419419
color="gray"
420420
highContrast
421421
style={{ flexGrow: 1 }}
422-
disabled
423-
title="This feature is not available yet"
422+
title="Get API Key"
424423
>
425424
<a>
426425
Get API Key
@@ -437,7 +436,7 @@ const SecondMainContent = () => (
437436
</a>
438437
</Button>
439438
</NextLink>
440-
<NextLink href="https://chat.seekgpt.org" passHref legacyBehavior>
439+
<NextLink href="https://ai.seekgpt.org" passHref legacyBehavior>
441440
<Button
442441
asChild
443442
size={{ initial: "3", xs: "4" }}
@@ -447,7 +446,7 @@ const SecondMainContent = () => (
447446
>
448447
<a target="_blank" rel="noopener noreferrer">
449448
<GridIcon width="18" height="18" style={{ marginTop: 1 }} />
450-
Chat with SeekGPT
449+
Explore SeekGPT AI Platform
451450
</a>
452451
</Button>
453452
</NextLink>
@@ -500,9 +499,9 @@ const redBackgroundImageStyle = {
500499
const codeExample = `
501500
from seekgpt import SeekGPT
502501
client = SeekGPT(
503-
api_base="https://api.seekgpt.org/v1",
504-
api_key="nsk_7302d0fc2623cd5c4dbbb29ed54a4f03", # Working demo key change with yours
505-
default_model="seekgpt-mini", # The model available on the compatible host
502+
api_base="https://ai.seekgpt.org/v1",
503+
api_key="sk-7302d0fc2623cd5c4dbbb29ed54a4f03", # Your API SeekGPT key
504+
default_model="gpt-5", # The model available on the compatible host
506505
)
507506
response = client.chat(
508507
messages=[{"role": "user", "content": "Hello OpenAI!"}]
@@ -515,7 +514,7 @@ const secondCodeExample = `
515514
import OpenAI from 'openai';
516515
const openai = new OpenAI({
517516
apiKey: "your_api_key", // Your API key for the compatible host
518-
baseURL: "https://api.seekgpt.org/v1", // The base URL of the compatible host
517+
baseURL: "https://ai.seekgpt.org/v1", // The base URL of the compatible host
519518
});
520519
async function aiChat() {
521520
try {

0 commit comments

Comments
 (0)