Repository navigation
smtpfa.st email + layout polish (docs / 404 / hero / seeder) - #20
Merged
Merged
Conversation
Email provider swap: - Replace Resend SDK with smtpfa.st REST in lib/email.ts. The sendEmail() helper from the prior refactor is the only call site that changes — every other email path was already routed through it. - Drop the resend npm dep. - .env.example, docker-compose, setup-server.sh, README, CLAUDE.md, skills, admin system page, and examples/ all updated to reference SMTPFAST_API_KEY / SMTPFAST_FROM_EMAIL. Middleware: - /docs, /llms.txt, /llms-full.txt, /api/openapi.json, /api/raw/ added to publicPaths so they're not auth-gated. /docs was the user-reported bug — visitors were getting redirected to /login. Seeder: - Change seed credentials to admin@admin.com / password (per request). Both are surfaced in the console log on seed. Layout fixes: - Docs index: drop the cramped 2-column card grid (it was getting squeezed by the dev-docs sidebar). New layout is a "Start here" featured quickstart card + a single-column list of remaining guides. Reads way better at narrow content widths. - 404 page: was sparse + uninspired. Now a terminal-card mock with a monospace "404" art block, a list of suggested URLs (Home / Docs / Blog / Pricing) with hover-arrow affordance, and the same window chrome the hero terminal uses. - Homepage hero: added a terminal-card mock showing the /customize skill in action — the "what makes Surge different" hook is now visual. Updated badge to "Built for Claude Code · MIT licensed", headline to "Ship your SaaS in prompts, not months", and tagline to mention skills/subagents/MCP. Vitest 68/68 green, tsc clean.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Email provider swap
Resend → smtpfa.st. The
sendEmail()helper from the last refactor is the only call site that changes; every other email path was already routed through it.lib/email.tsrewritten on top of smtpfa.st's REST API (no SDK dep)resendnpm dep dropped.env.example,docker-compose*.yml,scripts/setup-server.sh, README, CLAUDE.md, skills (add-email,customize), admin system page, examples — all referenceSMTPFAST_API_KEY/SMTPFAST_FROM_EMAILnowMiddleware: /docs not auth-gated
/docswas missing frompublicPaths, so visitors were getting redirected to/login. Added/docs,/llms.txt,/llms-full.txt,/api/openapi.json,/api/raw/.Seeder
Changed to
admin@admin.com/passwordper request. Both surfaced in the console log on seed.Layout polish
/customizeskill in action — the visual hook for "what makes Surge different". Updated badge to "Built for Claude Code · MIT licensed", headline to "Ship your SaaS in prompts, not months", tagline mentions skills/subagents/MCP.Verified
npx tsc --noEmit: clean on touched filesnpm test: 68/68 ✓