The landing page for usewraith.xyz. A minimal, dark, developer-focused single-page site that explains what Wraith Protocol is and links to docs, demo, and console.
- Vite + React + TypeScript
- Tailwind CSS v4
- Deployed to Vercel
pnpm install
pnpm devpnpm buildThe build pipeline performs the following steps:
- Compiles TypeScript and builds the client production assets via Vite.
- Runs the Open Graph image generator (
scripts/og.ts) to pre-render cards for all routes and patches the output HTML files with page-specific titles, descriptions, and JSON-LD breadcrumb schemas. - Runs the sitemap generator (
scripts/sitemap.ts) to scan the build output directory and automatically generate a freshsitemap.xmlfor all static routes.
robots.txt: Located inpublic/robots.txtand copied to the build root. It allows indexing on all paths and points crawlers to the sitemap location.sitemap.xml: Dynamically compiled during build time intodist/sitemap.xmlandpublic/sitemap.xml.- JSON-LD: Embedded in the site's
<head>:- Global
Organizationschema representing Wraith Protocol. - Global
SoftwareApplicationschema representing the Wraith SDK. - Page-specific
BreadcrumbListschema dynamically injected for each static route slug (e.g./stellar,/faq, etc.) at build time.
- Global
pnpm format # write
pnpm format:check # check only