Skip to content

Reference

Quick reference materials for Velocity development.

CategoryCountDescription
UI Components33Button, Input, Card, Badge, Alert, etc.
Layout Components4Header, Footer, ThemeToggle, Analytics
Pattern Components3ContactForm, NewsletterForm, FormField
Blog Components4ArticleHero, BlogCard, ShareButtons, RelatedPosts
Landing Components7Hero, CTA, FeatureTabs, etc.
SEO Components3SEO, JsonLd, Breadcrumbs
Hero Components2Hero variants
Total56
FilePurpose
astro.config.mjsAstro configuration
src/content.config.tsContent collection schemas
src/config/site.config.tsSite metadata, branding, contact
src/config/routes.tsType-safe routing
src/styles/global.cssTailwind + design tokens
src/styles/tokens/colors.cssColor tokens
src/lib/og.tsOG image configuration
src/lib/schema.tsJSON-LD schema helpers
CommandDescription
pnpm devStart development server
pnpm buildBuild for production
pnpm previewPreview production build
pnpm lintRun ESLint
pnpm formatFormat with Prettier
pnpm checkRun type checker
pnpm testRun tests
CollectionLocationFormat
Blogsrc/content/blog/MDX
Pagessrc/content/pages/MDX
Authorssrc/content/authors/JSON
FAQssrc/content/faqs/JSON
TokenPurpose
--backgroundPrimary background
--foregroundPrimary text
--primaryPrimary action color
--borderStandard border
--surface-invertInverted background
ClassPurpose
bg-backgroundBackground color
text-foregroundText color
bg-primaryPrimary button
bg-surface-invertDark section
LayoutUse Case
BaseLayoutCore HTML wrapper
PageLayoutStandard pages
BlogLayoutBlog articles
LandingLayoutMarketing pages
EndpointMethodPurpose
/api/contactPOSTContact form
/api/newsletterPOSTNewsletter signup
  • Astro 6 — Web framework
  • Tailwind CSS v4 — Styling
  • TypeScript — Type safety
  • OKLCH — Color format
  • Satori — OG image generation