From df7c80e6c7f942bd4b2fec643be26b8c25e7e28d Mon Sep 17 00:00:00 2001 From: Derek Cofausper <256792747+decofe@users.noreply.github.com> Date: Tue, 7 Apr 2026 04:42:07 +0000 Subject: [PATCH 1/3] chore: remove placeholder template page Co-Authored-By: Uddhav <255779543+letstokenize@users.noreply.github.com> --- src/pages/guide/_template.mdx | 136 ---------------------------------- 1 file changed, 136 deletions(-) delete mode 100644 src/pages/guide/_template.mdx diff --git a/src/pages/guide/_template.mdx b/src/pages/guide/_template.mdx deleted file mode 100644 index 516907a..0000000 --- a/src/pages/guide/_template.mdx +++ /dev/null @@ -1,136 +0,0 @@ ---- -searchable: false ---- - -import { Cards, Card } from 'vocs' -import * as Demo from '../../components/guides/Demo.tsx' -import * as Step from '../../components/guides/steps' - -# !Replace Me! - -{/* Short description of the guide. What we are building, why we are building it, and what we will learn. */} - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam elementum odio ante, sit amet tincidunt leo scelerisque vitae. - - - - - - - -## Steps - -{/* Steps to follow to get the demo working and fully functioning end-to-end */} - -### Lorem - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. - -:::code-group - -```tsx twoslash [Component.tsx] -// @noErrors -export function Component() { - return ( -
- {/* Component code here */} -
- ) -} -``` - -```tsx twoslash [config.ts] filename="config.ts" -// @noErrors -import { createConfig, http } from 'wagmi' -import { tempo } from 'viem/chains' -import { KeyManager, webAuthn } from 'wagmi/tempo' - -export const config = createConfig({ - chains: [tempo], - connectors: [webAuthn({ - keyManager: KeyManager.localStorage(), - })], - transports: { - [tempo.id]: http(), - }, -}) -``` - -::: - -### Ipsum - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. - -:::code-group - -```tsx twoslash [Component.tsx] -// @noErrors -export function Component() { - // Component code here -} -``` - -```tsx twoslash [config.ts] filename="config.ts" -// @noErrors -import { createConfig, http } from 'wagmi' -import { tempo } from 'viem/chains' -import { KeyManager, webAuthn } from 'wagmi/tempo' - -export const config = createConfig({ - chains: [tempo], - connectors: [webAuthn({ - keyManager: KeyManager.localStorage(), - })], - transports: { - [tempo.id]: http(), - }, -}) -``` - -::: - -:::: - -## Recipes - -{/* Any peripheral things you can do beyond the above steps */} - -### Foo - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. - -### Bar - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. - -## Best Practices - -{/* Any best practices or tips to follow when using this feature */} - -### Foo - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. - -### Bar - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. - -## Learning Resources - -{/* Outlink to any useful links to read in /documentation/* */} - - - - - From 3cadc7517d31b69290af9f48e1036e4ce47d0ad1 Mon Sep 17 00:00:00 2001 From: Derek Cofausper <256792747+decofe@users.noreply.github.com> Date: Tue, 7 Apr 2026 05:58:42 +0000 Subject: [PATCH 2/3] Revert "chore: remove placeholder template page" This reverts commit df7c80e6c7f942bd4b2fec643be26b8c25e7e28d. --- src/pages/guide/_template.mdx | 136 ++++++++++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 src/pages/guide/_template.mdx diff --git a/src/pages/guide/_template.mdx b/src/pages/guide/_template.mdx new file mode 100644 index 0000000..516907a --- /dev/null +++ b/src/pages/guide/_template.mdx @@ -0,0 +1,136 @@ +--- +searchable: false +--- + +import { Cards, Card } from 'vocs' +import * as Demo from '../../components/guides/Demo.tsx' +import * as Step from '../../components/guides/steps' + +# !Replace Me! + +{/* Short description of the guide. What we are building, why we are building it, and what we will learn. */} + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam elementum odio ante, sit amet tincidunt leo scelerisque vitae. + + + + + + + +## Steps + +{/* Steps to follow to get the demo working and fully functioning end-to-end */} + +### Lorem + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. + +:::code-group + +```tsx twoslash [Component.tsx] +// @noErrors +export function Component() { + return ( +
+ {/* Component code here */} +
+ ) +} +``` + +```tsx twoslash [config.ts] filename="config.ts" +// @noErrors +import { createConfig, http } from 'wagmi' +import { tempo } from 'viem/chains' +import { KeyManager, webAuthn } from 'wagmi/tempo' + +export const config = createConfig({ + chains: [tempo], + connectors: [webAuthn({ + keyManager: KeyManager.localStorage(), + })], + transports: { + [tempo.id]: http(), + }, +}) +``` + +::: + +### Ipsum + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. + +:::code-group + +```tsx twoslash [Component.tsx] +// @noErrors +export function Component() { + // Component code here +} +``` + +```tsx twoslash [config.ts] filename="config.ts" +// @noErrors +import { createConfig, http } from 'wagmi' +import { tempo } from 'viem/chains' +import { KeyManager, webAuthn } from 'wagmi/tempo' + +export const config = createConfig({ + chains: [tempo], + connectors: [webAuthn({ + keyManager: KeyManager.localStorage(), + })], + transports: { + [tempo.id]: http(), + }, +}) +``` + +::: + +:::: + +## Recipes + +{/* Any peripheral things you can do beyond the above steps */} + +### Foo + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. + +### Bar + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. + +## Best Practices + +{/* Any best practices or tips to follow when using this feature */} + +### Foo + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. + +### Bar + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. + +## Learning Resources + +{/* Outlink to any useful links to read in /documentation/* */} + + + + + From 0c3d3aad72af518236c41a63ff4c0e4a15c0bccf Mon Sep 17 00:00:00 2001 From: Derek Cofausper <256792747+decofe@users.noreply.github.com> Date: Tue, 7 Apr 2026 05:58:57 +0000 Subject: [PATCH 3/3] chore: move guide template out of routable pages directory Moves _template.mdx from src/pages/guide/ to src/templates/ so it's kept as a reference but not served as a route by Vocs. Co-authored-by: Uddhav <255779543+letstokenize@users.noreply.github.com> Amp-Thread-ID: https://ampcode.com/threads/T-019d663f-0b84-76ef-b02d-4eca5f580b33 --- src/{pages/guide/_template.mdx => templates/_guide-template.mdx} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/{pages/guide/_template.mdx => templates/_guide-template.mdx} (100%) diff --git a/src/pages/guide/_template.mdx b/src/templates/_guide-template.mdx similarity index 100% rename from src/pages/guide/_template.mdx rename to src/templates/_guide-template.mdx