Skip to content

standardsats/valet.finance

 
 

Repository files navigation

Valet — Landing Page

Marketing site for Valet, a non-custodial Bitcoin Lightning wallet for Android built on the IMMORTAN library. Static site built with Astro.

Design principle: content / code separation

All human-readable copy lives in src/data/*.ts. Components in src/components/ contain only structure, layout, and SVG — no prose. To change wording, edit the data files; you never need to touch a component.

src/
├── data/                 ← ALL copy lives here
│   ├── site.ts           ← nav links, footer columns, legal text
│   ├── hero.ts           ← headline, lede, CTA labels, phone manifest
│   ├── sovereignty.ts    ← comparison grid cells
│   ├── features.ts       ← feature cards + channel-viz data
│   ├── faq.ts            ← Q&A pairs
│   └── opensource.ts     ← stats, CTA labels, terminal lines
├── components/           ← structure + SVG only
├── layouts/
│   └── BaseLayout.astro  ← <html>, fonts, theme init, SVG defs
├── pages/
│   └── index.astro       ← composes the page
└── styles/
    └── global.css        ← all styles + the three color schemes

Develop

Requires Node 20 (see .nvmrc).

npm install
npm run dev        # local dev server
npm run check      # astro check (TypeScript)
npm run build      # production build → dist/
npm run preview    # serve the built site

Theming

Single dark color scheme is used by default. Theming is defined via CSS custom properties in global.css and wired in BaseLayout.astro via data-scheme="dark".

CI/CD

.github/workflows/ci.yml runs on every push and PR to main/master:

  1. npm ci
  2. npx astro check — catches TypeScript / template type errors
  3. npm run build — catches broken imports and build failures

Deploy — Cloudflare Pages

Connect the repository in the Cloudflare Pages dashboard:

Setting Value
Framework preset Astro
Build command npm run build
Output directory dist

No Wrangler config or API secrets are needed — Cloudflare Pages builds and deploys from the GitHub integration automatically. Every push to main ships; pull requests get preview deployments.

License

App is GPL-3.0. This marketing site's copy and assets belong to the Valet project.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • CSS 41.5%
  • Astro 30.7%
  • TypeScript 27.5%
  • JavaScript 0.3%