16 Commits
Author SHA1 Message Date
CatoandClaude Opus 5.5 f9361c23b6 fix(nav): every header control is a 44px target (#207)
* fix(nav): every header control is a 44px target

The fleet render sweep (nav contract rule 3) counted 18 sub-44px controls in
the desktop header: text-sm links 20px tall, Get Started 36px, Register 38px,
the Professionals menu button 20px. Fixed in the shared pieces (NavItem,
AuthNav, the hamburger, the mobile drawer) with min-h-11 on the control;
the header stays h-16 and the text size is unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>

* fix(nav): short header links are 44px wide too

About and Login cleared 44px tall but were 41 and 39px wide.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>

---------

Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-26 00:06:54 -07:00
f04d13bf39 refactor(design): finish the colour sweep, and make it enforceable (#148)
#144 put the bot pages on the brand. This does the other 60 files, so the
whole product reads as one thing, and adds the guard that keeps it that way.

~410 raw palette classes became semantic tokens across the public marketing
surface (/try, /enterprise, /about, /knowledge, /personal, /professionals,
/bots, blog, navigation) and the app internals (dashboard, documents, chat,
conversations, onboarding, auth, settings, profile).

Gradient text is gone. Fifteen headings were
`bg-gradient-to-r from-X to-Y bg-clip-text text-transparent`; they are now
solid text-ink or text-action. globals.css says the identity is carried by
typography, and a serif display does not need a gradient to do that.

The 'B' mark was still a blue/purple gradient in BotNavigation's MOBILE menu.
#144 only fixed the desktop header. Both now render the shared <Logo>.

Three defects introduced mid-sweep and corrected, all caught by reading the
diff rather than trusting the regex:
  - degenerate gradients (`from-action-tint to-action-tint`) collapsed to solid
  - dead hovers (tint on tint) rebased to bg-surface + hover:bg-action-tint
  - `to-action\b` matched the prefix of `to-action-hover`, so a collapse left a
    stray `bg-action-hover` as a BASE background in 11 places -- those are the
    primary, not the hover shade

Deliberately NOT changed:
  - components/knowledge/Callout.tsx -- its blue is the `info` half of an
    info/warning/error triad. Semantic status colour is a separate scale from
    the brand accent, and warning is amber, so ochre-ing info would make the
    two nearly indistinguishable.
  - the custom-bot surfaces -- custom_bots.accent_color is a real column with
    a CHECK constraint and the owner picks it. User data, not a design token.

Never-twice: tests/__tests__/lib/design-tokens.test.ts refuses any raw
brand-palette class, and any bg-clip-text, outside those two documented
exceptions. Mutation-verified -- swap one token back to bg-blue-600 and it
fails and names the file. No allowlist debt: every other file was swept rather
than excused.

verify: format, lint, typecheck, 256 tests, build -- all green. Twelve pages
smoke-tested and checked visually against a local production build.


Claude-Session: https://claude.ai/code/session_01HVwg8DKHQktxJuHeLM3xpG

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-28 09:53:41 +00:00
g-butandClaude Opus 4.5 1c7abeebac docs(claude): add global standards reference and update date
- Add @~/.claude/CLAUDE.md import for global engineering standards
- Update Last Updated date to 2026-01-23

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 15:22:36 +01:00
g-butandClaude Sonnet 4.5 9aa417e273 refactor: clean up API routes and components, add shared utilities
Refactored multiple API routes and components to improve code organization and reduce duplication:
- Simplified API route implementations across chat, documents, consultations, and other endpoints
- Reorganized navigation components for better maintainability
- Added shared utility functions and hooks
- Created reusable Avatar and Logo components
- Added validation schemas and API utilities
- Improved type definitions and constants management

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-16 11:04:19 +01:00
g-butandClaude Opus 4.5 db9e7f6f1f feat(nav): unified navigation with auth controls
- Reorganize navigation: Assistants (all bots + documents), Solutions, Learn, About
- Add AuthNav component with login/register and profile dropdown
- Add auth section to mobile navigation drawer
- Update site metadata to "Private AI for Your Data"
- Update Footer with 5-column layout including Projects section
- Fix documents page header by integrating user controls
- Update homepage layout and messaging

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 15:50:54 +01:00
g-butandClaude Opus 4.5 43260cfef2 refactor: rebuild navigation as modular megamenu system
Architecture following DRY, SSOT, SoC principles:

Types (types/navigation.ts):
- MegaMenuHeader, MegaMenuFooter, MegaMenuConfig for dropdown config
- MenuChildItem, MenuItem with proper typing
- NavItemProps, MobileNavProps for component contracts

Components (components/navigation/):
- NavItem: Unified handler for links, dropdowns, CTA buttons
- MegaMenuPanel: Configurable panel with header/footer support
- MegaMenuItem: Individual dropdown item with icon/description
- MobileNav: Extracted mobile drawer (SoC)

Data (data/menuItems.ts):
- SSOT for all navigation with megaMenu config per section
- Helper functions: getNavItems(), getButtonItems()

Features:
- Portal pattern for proper dropdown overlay
- Configurable columns (1-3), headers, footers per section
- Consistent styling with Tailwind

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 00:44:27 +01:00
g-butandClaude Opus 4.5 72c1b947d5 refactor: improve navigation architecture and add knowledge center
- Create useScrollNavigation hook for shared scroll logic (DRY)
- Add centralized navigation color config (SSOT)
- Convert components to named exports (Header, Footer, Navigation, MegaMenu)
- Fix dropdown overlay positioning with Portal pattern
- Add consulting section to homepage
- Create Knowledge Center page with guides and FAQ
- Add Knowledge menu item to navigation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 00:28:45 +01:00
Your Name 8a55e4fb9e feat: Complete deployment automation and modern design overhaul
- Fix header layout to prevent movement when megamenu opens
- Redesign homepage with modern, futuristic aesthetic
- Implement automated deployment with GitHub Actions
- Optimize build process for production deployment
- Add deployment monitoring and verification scripts
- Update README with comprehensive deployment documentation

Breaking changes:
- Header now uses fixed positioning with backdrop blur
- Homepage features gradient backgrounds and glassmorphism effects
- Automated CI/CD pipeline with comprehensive testing and monitoring
2025-10-02 23:46:03 +02:00
G f8a5e8bc2d refactor navigation with mega menu 2025-06-13 16:23:39 +02:00
cato 542eb45ec7 Fix type errors to enable successful build 2025-03-03 11:13:35 +01:00
cato c69d213c9b Remove green Contact Us button from mobile menu 2025-03-03 01:59:55 +01:00
cato 6d5b349a02 Fix type error in Navigation component 2025-03-03 01:20:16 +01:00
cato 626e96a233 Update files and remove unnecessary components 2025-03-03 01:02:26 +01:00
Devin AIandcato 37fa895ef6 fix: update Link href types across all components
Co-Authored-By: G <butaeff@gmail.com>
2025-02-15 13:55:37 +00:00
Devin AIandcato e46dab05e1 fix: update navigation data fetching to use API route
Co-Authored-By: G <butaeff@gmail.com>
2025-02-12 14:23:50 +00:00
Devin AIandcato b65ef37719 feat: complete TinaCMS integration with navigation and blog components
Co-Authored-By: G <butaeff@gmail.com>
2025-02-12 14:23:01 +00:00