kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/716/head
rodzic
14eeb04b98
commit
17e152a905
|
@ -139,7 +139,7 @@ export default async function TheBestDamnLandingPageEver() {
|
|||
MCP client.
|
||||
</h5>
|
||||
|
||||
<SupplySideCTA variant='book-call' />
|
||||
<SupplySideCTA variant='docs' />
|
||||
</div>
|
||||
</DotsSection>
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ import { GitHubIcon } from '@/icons/github'
|
|||
import {
|
||||
calendarBookingUrl,
|
||||
docsPublishingQuickStartUrl,
|
||||
docsPublishingUrl,
|
||||
githubUrl
|
||||
} from '@/lib/config'
|
||||
|
||||
|
@ -19,7 +20,7 @@ export function SupplySideCTA({
|
|||
variant = 'github',
|
||||
heroVariant = 'orange'
|
||||
}: {
|
||||
variant?: 'book-call' | 'github' | 'github-2'
|
||||
variant?: 'book-call' | 'docs' | 'github' | 'github-2'
|
||||
heroVariant?: HeroButtonVariant
|
||||
}) {
|
||||
const ctx = useAgentic()
|
||||
|
@ -47,6 +48,10 @@ export function SupplySideCTA({
|
|||
Star us on GitHub
|
||||
</Link>
|
||||
</Button>
|
||||
) : variant === 'docs' ? (
|
||||
<Button variant='outline' asChild className='h-full py-[9px]'>
|
||||
<Link href={docsPublishingUrl}>Publishing Docs</Link>
|
||||
</Button>
|
||||
) : (
|
||||
<Button variant='outline' asChild className='h-full py-[9px]'>
|
||||
<Link href={calendarBookingUrl} target='_blank' rel='noopener'>
|
||||
|
|
|
@ -0,0 +1,44 @@
|
|||
const isServer = globalThis.window === undefined
|
||||
const isSafari =
|
||||
!isServer && /^((?!chrome|android).)*safari/i.test(navigator.userAgent)
|
||||
|
||||
if (!isServer) {
|
||||
// Workaround for nav links not being able to point to relative paths
|
||||
for (const a of document.querySelectorAll(
|
||||
'a[href="https://docs.agentic.so/contact"]'
|
||||
)) {
|
||||
a.removeAttribute('target')
|
||||
a.setAttribute('href', '/contact')
|
||||
}
|
||||
|
||||
// document
|
||||
// .getElementById('https://docs.agentic.so/contact')
|
||||
// .querySelector('.lucide-arrow-up-right')
|
||||
// .classList.add('hidden')
|
||||
}
|
||||
|
||||
const detail = `
|
||||
- https://github.com/transitive-bullshit/agentic
|
||||
- https://x.com/transitive_bs
|
||||
`
|
||||
|
||||
const banner = `
|
||||
█████╗ ██████╗ ███████╗███╗ ██╗████████╗██╗ ██████╗
|
||||
██╔══██╗██╔════╝ ██╔════╝████╗ ██║╚══██╔══╝██║██╔════╝
|
||||
███████║██║ ███╗█████╗ ██╔██╗ ██║ ██║ ██║██║
|
||||
██╔══██║██║ ██║██╔══╝ ██║╚██╗██║ ██║ ██║██║
|
||||
██║ ██║╚██████╔╝███████╗██║ ╚████║ ██║ ██║╚██████╗
|
||||
╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═════╝
|
||||
|
||||
${detail}
|
||||
`
|
||||
|
||||
function bootstrap() {
|
||||
if (isSafari) {
|
||||
console.log(detail)
|
||||
} else {
|
||||
console.log(banner)
|
||||
}
|
||||
}
|
||||
|
||||
bootstrap()
|
12
todo.md
12
todo.md
|
@ -9,18 +9,16 @@
|
|||
- stripe
|
||||
- double check stripe upgrade flow and add fireworks
|
||||
- should we bypass stripe for `free` plans to increase conversions?
|
||||
- handle browser back/forward with `?next=`
|
||||
- add some social proof to signup page
|
||||
- example usage
|
||||
- double check example usage for all TS sdks now that real examples are working
|
||||
- fix mcp examples
|
||||
- add example usage to project detail pages
|
||||
- import react example usage component into docs
|
||||
- docs
|
||||
- main readme
|
||||
- sub readmes (https://www.npmjs.com/package/@agentic/cli)
|
||||
- hosted docs
|
||||
- social images
|
||||
- add really strict free rate-limits to `@agentic/search`
|
||||
- **move legacy packages, examples, and docs over**
|
||||
- double-check free-tier rate-limits for `@agentic/search`
|
||||
- replace json project and components with actual designs
|
||||
- implement footer
|
||||
- finesse header (mobile)
|
||||
|
@ -34,8 +32,8 @@
|
|||
- maybe default `strict` to `false` in `createAIFunction` for now?
|
||||
- also add `@agentic/json-schema` to `createJsonSchema` parsing instead of current no-op
|
||||
- add support to `@agentic/platform-tool-client` for
|
||||
- double check example usage for all TS sdks
|
||||
- add docs on using multiple tools with `AIFunctionSet`
|
||||
- add ts sdk examples to e2e tests
|
||||
|
||||
## TODO: Post-MVP
|
||||
|
||||
|
@ -51,6 +49,8 @@
|
|||
- => **punt on this for mvp**
|
||||
- **website**
|
||||
- llms.txt and llms.txt for all projects
|
||||
- handle browser back/forward with `?next=`
|
||||
- add some social proof to signup page
|
||||
- first-party deployment hosting
|
||||
- api gateway stress tests
|
||||
- auth
|
||||
|
|
Ładowanie…
Reference in New Issue