clavitor/clavitor.ai
James af47846f23 web: split language/currency selector into two dropdowns
Replaces the combined locale dropdown with two independent selectors:
- Language dropdown: flag + 2-letter code (e.g., '🇺🇸 EN')
- Currency dropdown: symbol + 3-letter code (e.g., '$ USD')

Changes:
- test-index.html: Split combined dropdown into nav-dropdown--language and nav-dropdown--currency
- clavitor.css: Add styles for split selectors with 8px gap, mobile stacking
- JavaScript: Independent state management for each selector

Design requirements met:
- Both dropdowns fit within nav bar without wrapping
- Mobile: stack vertically in hamburger menu
- 8px gap between selectors using existing spacing

fixes #10

Author: Emma <emma-20250409-001>
2026-04-09 03:39:51 -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 ui: remove strikethrough pricing — always show $12/yr 2026-04-09 03:36:54 -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: split language/currency selector into two dropdowns 2026-04-09 03:39:51 -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: split language/currency selector into two dropdowns 2026-04-09 03:39:51 -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.