Skip to content

Commit b11aa99

Browse files
fix: address fifth round of PR review comments
- Add title and loading="lazy" to AuthKit iframe embeds - Fix /llms.txt → /snap/llms.txt link in agents page - Remove non-existent /markdown-content reference from agents page - Add outputFileTracingIncludes for snap MDX files in Vercel bundle Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 0d818d9 commit b11aa99

4 files changed

Lines changed: 9 additions & 7 deletions

File tree

next.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ import remarkGfm from "remark-gfm";
44

55
const nextConfig: NextConfig = {
66
pageExtensions: ["ts", "tsx", "md", "mdx"],
7+
outputFileTracingIncludes: {
8+
"/snap/llms.txt": ["./src/app/(docs)/snap/**/page.mdx"],
9+
},
710
};
811

912
const withMDX = createMDX({

src/app/(docs)/auth-kit/examples/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
A frontend-only app that lets users Sign in with Farcaster and shows them their profile picture and username.
66

7-
<iframe src="https://farcaster-auth-kit-vite-demo.replit.app/" width="700" height="500" />
7+
<iframe src="https://farcaster-auth-kit-vite-demo.replit.app/" width="700" height="500" title="AuthKit client-side demo" loading="lazy" />
88

99
[Try Demo](https://farcaster-auth-kit-vite-demo.replit.app/) | [View Source](https://github.com/farcasterxyz/connect-monorepo/tree/main/examples/frontend-only)
1010

1111
## Server Side
1212

1313
A Next.js app that lets users Sign in with Farcaster and handles sessions server-side.
1414

15-
<iframe src="https://farcaster-auth-kit-next-auth-demo.replit.app/" width="700" height="500" />
15+
<iframe src="https://farcaster-auth-kit-next-auth-demo.replit.app/" width="700" height="500" title="AuthKit server-side demo" loading="lazy" />
1616

1717
[Try Demo](https://farcaster-auth-kit-next-auth-demo.replit.app/) | [View Source](https://github.com/farcasterxyz/connect-monorepo/tree/main/examples/with-next-auth)

src/app/(docs)/auth-kit/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
AuthKit is a React library that lets users log in to your app with a Farcaster account.
66

7-
<iframe src="https://farcaster-auth-kit-vite-demo.replit.app/" width="700" height="500" />
7+
<iframe src="https://farcaster-auth-kit-vite-demo.replit.app/" width="700" height="500" title="AuthKit Sign In demo" loading="lazy" />
88

99
Click "Sign in With Farcaster" above to try it out on web or click [here](https://sign-in-with-farcaster-demo.replit.app/) for mobile.
1010

src/app/(docs)/snap/agents/page.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ Snaps.
77

88
The full docs are available in machine-readable form:
99

10-
- **[/llms.txt](/llms.txt)** — all documentation concatenated into a single plain-text
11-
file, suitable for pasting into a context window or fetching at the start of a session
12-
- **`/markdown-content/<slug>`** — individual pages as plain markdown (e.g.
13-
`/markdown-content/elements`, `/markdown-content/buttons`)
10+
- **[/snap/llms.txt](/snap/llms.txt)** — all snap documentation concatenated into a single
11+
plain-text file, suitable for pasting into a context window or fetching at the start of
12+
a session
1413

1514
## Creating a snap with an agent
1615

0 commit comments

Comments
 (0)