diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index ec2925d..35e2408 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -174,7 +174,9 @@ export default defineConfig({ vite: { plugins: [ - llmstxt(), + llmstxt({ + ignoreFiles: ['pro.md'], + }), ], }, @@ -204,6 +206,7 @@ export default defineConfig({ nav: [ { text: 'Guide', link: '/guide/getting_started', activeMatch: '/guide/' }, { text: 'LLMs', link: '/llms-full.txt' }, + { text: 'TestProSoon', link: '/pro' }, ], sidebar: { '/guide/': guideSidebar, diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts index 3249570..1b9f9fa 100644 --- a/docs/.vitepress/theme/index.ts +++ b/docs/.vitepress/theme/index.ts @@ -4,6 +4,7 @@ import type { Theme } from 'vitepress' import DefaultTheme from 'vitepress/theme' import AvailableSince from './components/AvailableSince.vue' import LandingLayout from './layouts/LandingLayout.vue' +import TestProLayout from './layouts/TestProLayout.vue' import './style.css' export default { @@ -16,5 +17,6 @@ export default { enhanceApp({ app, router, siteData }) { app.component('AvailableSince', AvailableSince) app.component('LandingLayout', LandingLayout) + app.component('TestProLayout', TestProLayout) } } satisfies Theme diff --git a/docs/.vitepress/theme/layouts/TestProLayout.vue b/docs/.vitepress/theme/layouts/TestProLayout.vue new file mode 100644 index 0000000..9a1beb7 --- /dev/null +++ b/docs/.vitepress/theme/layouts/TestProLayout.vue @@ -0,0 +1,914 @@ + + + + + diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css index d76b78e..ddbfcd5 100644 --- a/docs/.vitepress/theme/style.css +++ b/docs/.vitepress/theme/style.css @@ -172,6 +172,56 @@ border-bottom-color: #2a2430 !important; } +/** + * Component: Nav (TestPro stamp) + * -------------------------------------------------------------------------- */ + +.nav-soon { + display: inline-block; + margin-left: 6px; + padding: 2px 4px 1px; + border-radius: 3px; + background-color: var(--vp-c-danger-2); + color: var(--vp-c-white); + font-family: var(--vp-font-family-mono); + font-size: 9px; + font-weight: 500; + line-height: 1.2; + letter-spacing: 0.1em; + text-transform: uppercase; + vertical-align: 4px; + transform: rotate(-7deg); + box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.18); +} + +.nav-soon span { + display: inline-block; + animation: nav-soon-hop 0.4s ease-out calc(1s + var(--i, 0) * 60ms); +} + +.nav-soon span:nth-child(2) { --i: 1; } +.nav-soon span:nth-child(3) { --i: 2; } +.nav-soon span:nth-child(4) { --i: 3; } + +@keyframes nav-soon-hop { + 40% { transform: translateY(-3px) rotate(-8deg); animation-timing-function: ease-in; } + 100% { transform: none; } +} + +.VPNavBarMenuLink.active .nav-soon span { + animation: none; +} + +.VPNavBarMenuLink.active .nav-soon.hop span { + animation: nav-soon-hop 0.4s ease-out calc(var(--i, 0) * 60ms); +} + +@media (prefers-reduced-motion: reduce) { + .nav-soon span { + animation: none !important; + } +} + /** * Code blocks * -------------------------------------------------------------------------- */ diff --git a/docs/pro.md b/docs/pro.md new file mode 100644 index 0000000..5509110 --- /dev/null +++ b/docs/pro.md @@ -0,0 +1,5 @@ +--- +layout: TestProLayout +title: "TestPro: TestProf for AI agents" +description: "TestProf plus the secret sauce for AI agents. Your agent knows where to look and what to fix. Battle-tested profilers prove the speedup is real." +--- diff --git a/docs/public/forms/testpro-waitlist.html b/docs/public/forms/testpro-waitlist.html new file mode 100644 index 0000000..62ddaec --- /dev/null +++ b/docs/public/forms/testpro-waitlist.html @@ -0,0 +1,14 @@ + + + + + + TestPro waitlist + + + + +