This repository has been archived on 2026-11-17. You can view files and clone it, but cannot push or open issues or pull requests.
gitgram-ai/gitgram/web/components/LandingNavbar.tsx
caelum0x 49b183818c Unify gitgram + aitimemachine into the monorepo (de-submodule) and merge vendored engines
Convert gitgram/ and aitimemachine/ from embedded git repos (which showed as
opaque submodule gitlinks on GitHub) into fully-tracked first-party content.

AITM now merges its 7 vendored repos as first-party engines:
- memory: beads (Go task DAG) + context7 (docs SDK), unified into saved_contexts
- git: vendored C git (bundled binary) + gitnexus (in-process code intelligence)
- agentic: a2a (@a2a-js/sdk) + pal (AITM-managed Python subprocess)

Includes the full session's product build: Gitgram web/mobile/backend features,
AITM website/CLI/MCP, the unified memory layer, engine build tooling
(scripts/build-engines.sh, Dockerfile, CI), docs (README, ENGINES.md, ARCHITECTURE.md),
and extensive test suites.

Build artifacts, node_modules, external/, and gemini-cli are gitignored.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 14:14:09 +03:00

72 lines
2.8 KiB
TypeScript

'use client'
import Link from 'next/link'
import { usePathname } from 'next/navigation'
export default function LandingNavbar() {
const pathname = usePathname()
return (
<nav className="fixed top-0 left-0 right-0 z-50 border-b border-border/50 bg-background/80 backdrop-blur-xl">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="flex items-center justify-between h-16">
{/* Logo */}
<Link href="/" className="flex items-center gap-2">
<div className="w-8 h-8 rounded-lg bg-gradient-to-br from-primary to-accent flex items-center justify-center">
<svg className="w-5 h-5 text-white" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
<path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4" />
<path d="M9 18c-4.51 2-5-2-7-2" />
</svg>
</div>
<span className="text-xl font-bold text-foreground">Gitgram</span>
</Link>
{/* Nav Links */}
<div className="hidden md:flex items-center gap-6">
<Link
href="/pricing"
className={`text-sm font-medium transition-colors ${
pathname === '/pricing' ? 'text-foreground' : 'text-foreground-secondary hover:text-foreground'
}`}
>
Pricing
</Link>
<Link
href="/terms"
className={`text-sm font-medium transition-colors ${
pathname === '/terms' ? 'text-foreground' : 'text-foreground-secondary hover:text-foreground'
}`}
>
Terms
</Link>
<Link
href="/privacy-policy"
className={`text-sm font-medium transition-colors ${
pathname === '/privacy-policy' ? 'text-foreground' : 'text-foreground-secondary hover:text-foreground'
}`}
>
Privacy
</Link>
</div>
{/* Auth Buttons */}
<div className="flex items-center gap-3">
<Link
href="/login"
className="text-sm font-medium text-foreground-secondary hover:text-foreground transition-colors"
>
Login
</Link>
<Link
href="/register"
className="px-4 py-2 text-sm font-semibold bg-primary text-white rounded-lg hover:bg-primary/90 transition-colors"
>
Get Started
</Link>
</div>
</div>
</div>
</nav>
)
}