clavitor/clavitor.ai
James cdfa87b8ce web: Add currency dropdown sections with Popular/All Currencies split
Implements frontend styling for issue #11:
- Add .dropdown-section CSS for section headers (Popular, All Currencies)
- Add .dropdown-divider CSS for visual separation between sections
- Update test-index.html with dynamic currency loading from /api/currencies
- Update base.tmpl with split language/currency selectors
- JavaScript fetches currencies and renders with section headers
- Maintains localStorage persistence for currency preference
- Error handling with ERR-CURRENCY-001/002 codes

Design Requirements Met:
- Section headers use 11px uppercase with 0.08em letter-spacing
- Divider uses 1px border with 8px vertical margins
- Dropdown maintains existing hover/click behavior
- Mobile responsive (stacks in hamburger menu)

fixes #11

Author: Luna <luna-20250409-001>
2026-04-09 03:46:42 -04:00
..
admin Address Hans' workflow feedback - make it actionable 2026-04-09 01:10:39 -04:00
fonts Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
templates web: Add currency dropdown sections with Popular/All Currencies split 2026-04-09 03:46:42 -04:00
.DS_Store Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
CLAUDE.md Address Hans' workflow feedback - make it actionable 2026-04-09 01:10:39 -04:00
Makefile Multi-project update: import system, edition system, web UI, CLI, website, POP sync 2026-04-05 06:40:40 -04:00
OAUTH_SETUP.md Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
README.md Multi-project update: import system, edition system, web UI, CLI, website, POP sync 2026-04-05 06:40:40 -04:00
apple-touch-icon.png Multi-project update: import system, edition system, web UI, CLI, website, POP sync 2026-04-05 06:40:40 -04:00
clavitor-logo.svg Multi-project update: import system, edition system, web UI, CLI, website, POP sync 2026-04-05 06:40:40 -04:00
clavitor-web Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
clavitor-web-linux-amd64 Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
clavitor.css web: Add currency dropdown sections with Popular/All Currencies split 2026-04-09 03:46:42 -04:00
clavitor.db Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
clavitor.db.backup-prod-20260408_001632 Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
clavitor.db.backup-prod-20260408_001632.gz Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
clavitor.db.backup-prod-20260408_001632.xz Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
clavitor.db.backup-prod-20260408_001632.zst Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
clavitor.db.backup-prod-20260408_001632.zst19 Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
clavitor.db.backup.20260407_235845 Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
corporate.db Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
favicon.svg Multi-project update: import system, edition system, web UI, CLI, website, POP sync 2026-04-05 06:40:40 -04:00
go.mod Multi-project update: import system, edition system, web UI, CLI, website, POP sync 2026-04-05 06:40:40 -04:00
go.sum Multi-project update: import system, edition system, web UI, CLI, website, POP sync 2026-04-05 06:40:40 -04:00
main.go clavitor.ai: oauth, onboarding flow, admin, templates, css 2026-04-08 12:11:05 -04:00
oauth.go clavitor.ai: oauth, onboarding flow, admin, templates, css 2026-04-08 12:11:05 -04:00
onboarding.go clavitor.ai: oauth, onboarding flow, admin, templates, css 2026-04-08 12:11:05 -04:00
schema.sql Multi-project update: import system, edition system, web UI, CLI, website, POP sync 2026-04-05 06:40:40 -04:00
test-for-mme.html Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
test-hosted.html ui: remove strikethrough pricing — always show $12/yr 2026-04-09 03:36:54 -04:00
test-index.html web: Add currency dropdown sections with Popular/All Currencies split 2026-04-09 03:46:42 -04:00
test-mobile.html Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
test-signup.html Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
tlw.go clavitor.ai: oauth, onboarding flow, admin, templates, css 2026-04-08 12:11:05 -04:00
worldmap.svg Multi-project update: import system, edition system, web UI, CLI, website, POP sync 2026-04-05 06:40:40 -04:00

README.md

Styleguide

clavitor.css is the single global stylesheet for all clavitor web surfaces — marketing site (clavitor-web) and the app UI (clavitor).

Rules (no exceptions)

  1. One stylesheet. clavitor.css only. No Tailwind, no inline styles, no <style> blocks.
  2. One rule per class. If you need a variant, add a modifier class (e.g. .card.gold), not a new inline style.
  3. One width. --width: 1280px via .container. Never hardcode a max-width anywhere else.
  4. One padding. --pad: 2rem via .container. Never hardcode horizontal padding.
  5. CSS variables for everything. Colors, spacing, radius, fonts — all via var(--*).

To use in clavitor app

Copy or symlink clavitor.css into clavitor/web/ and embed it. The token set (colors, fonts, radius) is shared — app UI should feel identical to the marketing site.