Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions app/(marketing)/docs/autoblog-webhook/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,19 +107,24 @@ User-Agent: @profullstack/autoblog/0.3`}</pre>
"canonical_url": "https://your-site/blog/{slug}",
"title": "string",
"slug": "kebab-case-slug",
"excerpt": "≤240-char prose summary" | null,
"excerpt": "≤240-char prose summary",
"html": "<p>…</p>",
"markdown": "..." | null,
"markdown": "...",
"status": "published",
"published_at": "ISO-8601",
"updated_at": "ISO-8601",
"author": null,
"tags": ["seo", "ai bots"],
"categories": [],
"featured_image": { "url": "https://...", "alt": "..." } | null
"featured_image": { "url": "https://...", "alt": "..." }
}
}
}`}</pre>
<p className="text-sm text-[var(--color-muted)]">
<code>post.excerpt</code>, <code>post.markdown</code>, and{" "}
<code>post.featured_image</code> may each be <code>null</code>
{" "}when unavailable. The example above shows non-null values.
</p>
<p className="text-sm text-[var(--color-muted)]">
<code className="font-mono">meta_description</code> (≤160 chars,
SEO copy) is sent inside the legacy fields when present but the
Expand Down
50 changes: 31 additions & 19 deletions app/signup/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,25 +67,37 @@ export function SignupForm({ redirectTo, defaultEmail }: { redirectTo?: string;
</>
)}
<form onSubmit={onSubmit} className="space-y-3">
<input
type="email"
className="input"
placeholder="you@company.com"
required
value={email}
onChange={(e) => setEmail(e.target.value)}
autoComplete="email"
/>
<input
type="password"
className="input"
placeholder="Password (8+ chars)"
required
minLength={8}
value={password}
onChange={(e) => setPassword(e.target.value)}
autoComplete="new-password"
/>
<div className="space-y-1">
<label htmlFor="signup-email" className="block text-sm font-medium">
Email
</label>
<input
id="signup-email"
type="email"
className="input"
placeholder="you@company.com"
required
value={email}
onChange={(e) => setEmail(e.target.value)}
autoComplete="email"
/>
</div>
<div className="space-y-1">
<label htmlFor="signup-password" className="block text-sm font-medium">
Password
</label>
<input
id="signup-password"
type="password"
className="input"
placeholder="Password (8+ chars)"
required
minLength={8}
value={password}
onChange={(e) => setPassword(e.target.value)}
autoComplete="new-password"
/>
</div>
{error && <p className="text-sm text-[var(--color-fail)]">{error}</p>}
<button type="submit" className="btn btn-primary w-full" disabled={pending}>
{pending ? "Creating account…" : "Create account"}
Expand Down