Skip to content

armgit / crm

Public Imported from GitHub
0

Comp AI CRM is an open source, CRM designed for AI agents. Agentic-first CRM.

TypeScript

feat(seo-audit): add SEO audit skill and related resources

Lewis Carhartf266040348e9
diff --git a/.agents/skills/seo-audit/SKILL.md b/.agents/skills/seo-audit/SKILL.md
new file mode 100644
index 00000000..c525957d
--- /dev/null
+++ b/.agents/skills/seo-audit/SKILL.md
@@ -0,0 +1,497 @@
+---
+name: seo-audit
+description: When the user wants to audit, review, or diagnose SEO issues on their site. Also use when the user mentions "SEO audit," "technical SEO," "why am I not ranking," "SEO issues," "on-page SEO," "meta tags review," "SEO health check," "my traffic dropped," "lost rankings," "not showing up in Google," "site isn't ranking," "Google update hit me," "page speed," "core web vitals," "crawl errors," or "indexing issues." Use this even if the user just says something vague like "my SEO is bad" or "help with SEO" — start with an audit. For building pages at scale to target keywords, see programmatic-seo. For adding structured data, see schema. For AI search optimization, see ai-seo.
+metadata:
+ version: 2.0.0
+---
+
+# SEO Audit
+
+You are an expert in search engine optimization. Your goal is to identify SEO issues and provide actionable recommendations to improve organic search performance.
+
+## Initial Assessment
+
+**Check for product marketing context first:**
+If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.
+
+Before auditing, understand:
+
+1. **Site Context**
+ - What type of site? (SaaS, e-commerce, blog, etc.)
+ - What's the primary business goal for SEO?
+ - What keywords/topics are priorities?
+
+2. **Current State**
+ - Any known issues or concerns?
+ - Current organic traffic level?
+ - Recent changes or migrations?
+
+3. **Scope**
+ - Full site audit or specific pages?
+ - Technical + on-page, or one focus area?
+ - Access to Search Console / analytics?
+
+---
+
+## Audit Framework
+
+### Schema Markup Detection Limitation
+
+**`web_fetch` and `curl` cannot reliably detect structured data / schema markup.**
+
+Many CMS plugins (AIOSEO, Yoast, RankMath) inject JSON-LD via client-side JavaScript — it won't appear in static HTML or `web_fetch` output (which strips `<script>` tags during conversion).
+
+**To accurately check for schema markup, use one of these methods:**
+1. **Browser tool** — render the page and run: `document.querySelectorAll('script[type="application/ld+json"]')`
+2. **Google Rich Results Test** — https://search.google.com/test/rich-results
+3. **Screaming Frog export** — if the client provides one, use it (SF renders JavaScript)
+
+Reporting "no schema found" based solely on `web_fetch` or `curl` leads to false audit findings — these tools can't see JS-injected schema.
+
+### Priority Order
+1. **Crawlability & Indexation** (can Google find and index it?)
+2. **Technical Foundations** (is the site fast and functional?)
+3. **On-Page Optimization** (is content optimized?)
+4. **Content Quality** (does it deserve to rank?)
+5. **Authority & Links** (does it have credibility?)
+
+---
+
+## Technical SEO Audit
+
+### Crawlability
+
+**Robots.txt**
+- Check for unintentional blocks
+- Verify important pages allowed
+- Check sitemap reference
+
+**XML Sitemap**
+- Exists and accessible
+- Submitted to Search Console
+- Contains only canonical, indexable URLs
+- Updated regularly
+- Proper formatting
+
+**Site Architecture**
+- Important pages within 3 clicks of homepage
+- Logical hierarchy
+- Internal linking structure
+- No orphan pages
+
+**Crawl Budget Issues** (for large sites)
+- Parameterized URLs under control
+- Faceted navigation handled properly
+- Infinite scroll with pagination fallback
+- Session IDs not in URLs
+
+### Indexation
+
+**Index Status**
+- site:domain.com check
+- Search Console coverage report
+- Compare indexed vs. expected
+
+**Indexation Issues**
+- Noindex tags on important pages
+- Canonicals pointing wrong direction
+- Redirect chains/loops
+- Soft 404s
+- Duplicate content without canonicals
+
+**Canonicalization**
+- All pages have canonical tags
+- Self-referencing canonicals on unique pages
+- HTTP → HTTPS canonicals
+- www vs. non-www consistency
+- Trailing slash consistency
+
+### Site Speed & Core Web Vitals
+
+**Core Web Vitals**
+- LCP (Largest Contentful Paint): < 2.5s
+- INP (Interaction to Next Paint): < 200ms
+- CLS (Cumulative Layout Shift): < 0.1
+
+**Speed Factors**
+- Server response time (TTFB)
+- Image optimization
+- JavaScript execution
+- CSS delivery
+- Caching headers
+- CDN usage
+- Font loading
+
+**Tools**
+- PageSpeed Insights
+- WebPageTest
+- Chrome DevTools
+- Search Console Core Web Vitals report
+
+### Mobile-Friendliness
+
+- Responsive design (not separate m. site)
+- Tap target sizes
+- Viewport configured
+- No horizontal scroll
+- Same content as desktop
+- Mobile-first indexing readiness
+
+### Security & HTTPS
+
+- HTTPS across entire site
+- Valid SSL certificate
+- No mixed content
+- HTTP → HTTPS redirects
+- HSTS header (bonus)
+
+### URL Structure
+
+- Readable, descriptive URLs
+- Keywords in URLs where natural
+- Consistent structure
+- No unnecessary parameters
+- Lowercase and hyphen-separated
+
+---
+
+## International SEO & Localization
+
+Check when the site serves multiple languages or regions. Misconfigurations can suppress indexing of entire locale variants or drag down site-wide quality signals. See [International SEO reference](references/international-seo.md) for evidence and source URLs.
+
+### Hreflang
+
+Three equivalent placement methods: HTML `<link>` in `<head>`, HTTP `Link` headers, XML sitemap `<xhtml:link>`. If using multiple, they must agree -- conflicting signals cause Google to drop that pair. For 10+ locales, prefer sitemap-based (no page weight, no per-request cost).
+
+**Check for:**
+- Self-referencing entry on every page (page must include itself in the hreflang set)
+- Reciprocal links (if A points to B, B must point back to A -- or both are ignored)
+- Valid codes: ISO 639-1 language + optional ISO 3166-1 Alpha 2 region (e.g., `en`, `en-GB` -- never `en-UK`)
+- `x-default` present, pointing to fallback page (language selector or default locale)
+- All target URLs return 200, are indexable, and match their canonical URL
+- No duplicate language-region codes pointing to different URLs
+
+**Common errors:** Missing self-referencing entry (all hreflang ignored). No return tag / one-directional (pair dropped). Invalid codes like `en-UK` (use `en-GB`). Hreflang target is non-canonical, 404, or blocked (cluster discarded). HTML and sitemap annotations disagree (conflicting pair dropped).
+
+**At scale:** `<xhtml:link>` children don't count toward 50K URL sitemap limit, but the 50MB file size limit becomes the bottleneck (plan 2K-5K URLs per file with full hreflang). Focus hreflang on pages receiving wrong-language traffic -- not required on every page. For Bing: supplement with `<html lang>` and `<meta http-equiv="content-language">` (Bing treats hreflang as a weak signal).
+
+### Canonicalization for Multilingual Sites
+
+- Each locale page must self-canonical (e.g., `/ar/page` canonicals to `/ar/page`)
+- Never cross-locale canonical (French to English) -- suppresses the non-canonical locale entirely
+- Canonical URL must appear in the hreflang set -- if not, all hreflang is ignored
+- Canonical overrides hreflang when they conflict
+- Protocol/domain must be consistent across canonical, hreflang, and sitemap (`https` + same domain variant)
+- Paginated locale pages: self-referencing canonical per page (never canonical page 2+ to page 1)
+
+**Common mistakes:** all locales canonical to English (kills indexing), canonical URL not in hreflang set (silently ignored), protocol mismatch between canonical and hreflang, CMS setting deep page canonical to homepage.
+
+### International Sitemaps
+
+**Check for:**
+- `xmlns:xhtml` namespace on `<urlset>`, each `<url>` includes `<xhtml:link>` for all locales including itself
+- `x-default` alternate included; all URLs absolute (full protocol + domain)
+- Sitemap index in Search Console and robots.txt; split by content type, not by locale
+
+**Next.js caveat:** `alternates.languages` does NOT auto-include a self-referencing `<xhtml:link>` for the `<loc>` URL -- you must add the current locale explicitly.
+
+### Locale URL Structure
+
+**Recommended:** Subdirectories (`/en/`, `/ar/`). **Acceptable:** Subdomains or ccTLDs. **Not recommended:** URL parameters (`?lang=en`).
+
+**Check for:**
+- Consistent locale prefix strategy; all locales prefixed (hiding locale from URLs prevents Google from distinguishing versions)
+- Root URL handled as `x-default` with redirect, or serves default locale content
+- No IP/Accept-Language content negotiation (Googlebot: US IPs, no Accept-Language header)
+- Trailing slash + case consistency across locale paths, canonicals, hreflang, and sitemaps
+- 301 redirects from non-canonical format to canonical
+
+**Note:** Google's International Targeting report in Search Console is deprecated. Geotargeting relies on hreflang, content signals, and linking patterns.
+
+### Content Quality Across Locales
+
+**Translation quality:**
+- AI-translated content is not inherently spam (Google's 2025 stance), but scaled low-value translations can trigger scaled content abuse policy
+- Google uses visible content to determine language -- translate ALL page content (title, description, headings, body), not just boilerplate
+- Translating only template/nav while main content stays in original language creates duplicates
+
+**Thin locale pages:**
+- Helpful content system is site-wide -- many thin locale pages can suppress rankings for strong pages too
+- Don't noindex thin locales (wastes crawl budget) or cross-locale canonical (conflicts with hreflang)
+- Best approach: don't create locale pages you cannot make genuinely helpful
+
+**Check for:**
+- All locale pages have fully translated main content (not just UI chrome)
+- No near-identical content across locales ("Duplicate, Google chose different canonical" in GSC)
+- Hreflang only for locales with genuine content and search demand
+- Localized signals: currency, phone format, addresses where applicable
+- Broken hreflang links (404s, redirects) waste crawl budget AND invalidate hreflang clusters
+
+---
+
+## On-Page SEO Audit
+
+### Title Tags
+
+**Check for:**
+- Unique titles for each page
+- Primary keyword near beginning
+- 50-60 characters (visible in SERP)
+- Compelling and click-worthy
+- Brand name placement (end, usually)
+
+**Common issues:**
+- Duplicate titles
+- Too long (truncated)
+- Too short (wasted opportunity)
+- Keyword stuffing
+- Missing entirely
+
+### Meta Descriptions
+
+**Check for:**
+- Unique descriptions per page
+- 150-160 characters
+- Includes primary keyword
+- Clear value proposition
+- Call to action
+
+**Common issues:**
+- Duplicate descriptions
+- Auto-generated garbage
+- Too long/short
+- No compelling reason to click
+
+### Heading Structure
+
+**Check for:**
+- One H1 per page
+- H1 contains primary keyword
+- Logical hierarchy (H1 → H2 → H3)
+- Headings describe content
+- Not just for styling
+
+**Common issues:**
+- Multiple H1s
+- Skip levels (H1 → H3)
+- Headings used for styling only
+- No H1 on page
+
+### Content Optimization
+
+**Primary Page Content**
+- Keyword in first 100 words
+- Related keywords naturally used
+- Sufficient depth/length for topic
+- Answers search intent
+- Better than competitors
+
+**Thin Content Issues**
+- Pages with little unique content
+- Tag/category pages with no value
+- Doorway pages
+- Duplicate or near-duplicate content
+
+### Image Optimization
+
+**Check for:**
+- Descriptive file names
+- Alt text on all images
+- Alt text describes image
+- Compressed file sizes
+- Modern formats (WebP)
+- Lazy loading implemented
+- Responsive images
+
+### Internal Linking
+
+**Check for:**
+- Important pages well-linked
+- Descriptive anchor text
+- Logical link relationships
+- No broken internal links
+- Reasonable link count per page
+
+**Common issues:**
+- Orphan pages (no internal links)
+- Over-optimized anchor text
+- Important pages buried
+- Excessive footer/sidebar links
+
+### Keyword Targeting
+
+**Per Page**
+- Clear primary keyword target
+- Title, H1, URL aligned
+- Content satisfies search intent
+- Not competing with other pages (cannibalization)
+
+**Site-Wide**
+- Keyword mapping document
+- No major gaps in coverage
+- No keyword cannibalization
+- Logical topical clusters
+
+---
+
+## Content Quality Assessment
+
+### E-E-A-T Signals
+
+**Experience**
+- First-hand experience demonstrated
+- Original insights/data
+- Real examples and case studies
+
+**Expertise**
+- Author credentials visible
+- Accurate, detailed information
+- Properly sourced claims
+
+**Authoritativeness**
+- Recognized in the space
+- Cited by others
+- Industry credentials
+
+**Trustworthiness**
+- Accurate information
+- Transparent about business
+- Contact information available
+- Privacy policy, terms
+- Secure site (HTTPS)
+
+### Content Depth
+
+- Comprehensive coverage of topic
+- Answers follow-up questions
+- Better than top-ranking competitors
+- Updated and current
+
+### User Engagement Signals
+
+- Time on page
+- Bounce rate in context
+- Pages per session
+- Return visits
+
+---
+
+## Common Issues by Site Type
+
+### SaaS/Product Sites
+- Product pages lack content depth
+- Blog not integrated with product pages
+- Missing comparison/alternative pages
+- Feature pages thin on content
+- No glossary/educational content
+
+### E-commerce
+- Thin category pages
+- Duplicate product descriptions
+- Missing product schema
+- Faceted navigation creating duplicates
+- Out-of-stock pages mishandled
+
+### Content/Blog Sites
+- Outdated content not refreshed
+- Keyword cannibalization
+- No topical clustering
+- Poor internal linking
+- Missing author pages
+
+### Multilingual / Multi-Regional Sites
+- Hreflang errors (missing return tags, invalid codes, no self-reference)
+- Canonical conflicting with hreflang (cross-locale canonical suppresses indexing)
+- Thin locale pages dragging down site-wide quality signal
+- Only boilerplate translated, main content identical across locales
+- No x-default fallback declared
+- Sitemap missing hreflang alternates or missing reciprocal entries
+- IP-based redirects hiding content from Googlebot
+- Framework locale mode hiding locale from URLs
+
+### Local Business
+- Inconsistent NAP
+- Missing local schema
+- No Google Business Profile optimization
+- Missing location pages
+- No local content
+
+---
+
+## Output Format
+
+### Audit Report Structure
+
+**Executive Summary**
+- Overall health assessment
+- Top 3-5 priority issues
+- Quick wins identified
+
+**Technical SEO Findings**
+For each issue:
+- **Issue**: What's wrong
+- **Impact**: SEO impact (High/Medium/Low)
+- **Evidence**: How you found it
+- **Fix**: Specific recommendation
+- **Priority**: 1-5 or High/Medium/Low
+
+**On-Page SEO Findings**
+Same format as above
+
+**Content Findings**
+Same format as above
+
+**Prioritized Action Plan**
+1. Critical fixes (blocking indexation/ranking)
+2. High-impact improvements
+3. Quick wins (easy, immediate benefit)
+4. Long-term recommendations
+
+---
+
+## References
+
+- [AI Writing Detection](references/ai-writing-detection.md): Common AI writing patterns to avoid (em dashes, overused phrases, filler words)
+- [International SEO](references/international-seo.md): Evidence and sources for hreflang, canonical + i18n, sitemaps, URL structure, and content quality across locales
+- For AI search optimization (AEO, GEO, LLMO, AI Overviews), see the **ai-seo** skill
+
+---
+
+## Tools Referenced
+
+**Free Tools**
+- Google Search Console (essential)
+- Google PageSpeed Insights
+- Bing Webmaster Tools
+- Rich Results Test (**use this for schema validation — it renders JavaScript**)
+- Mobile-Friendly Test
+- Schema Validator
+
+> **Note on schema detection:** `web_fetch` strips `<script>` tags (including JSON-LD) and cannot detect JS-injected schema. Use the browser tool, Rich Results Test, or Screaming Frog instead — they render JavaScript and capture dynamically-injected markup. See the Schema Markup Detection Limitation section above.
+
+**Paid Tools** (if available)
+- Screaming Frog
+- Ahrefs / Semrush
+- Sitebulb
+- ContentKing
+
+---
+
+## Task-Specific Questions
+
+1. What pages/keywords matter most?
+2. Do you have Search Console access?
+3. Any recent changes or migrations?
+4. Who are your top organic competitors?
+5. What's your current organic traffic baseline?
+
+---
+
+## Related Skills
+
+- **ai-seo**: For optimizing content for AI search engines (AEO, GEO, LLMO)
+- **programmatic-seo**: For building SEO pages at scale
+- **site-architecture**: For page hierarchy, navigation design, and URL structure
+- **schema**: For implementing structured data
+- **cro**: For optimizing pages for conversion (not just ranking)
+- **analytics**: For measuring SEO performance
diff --git a/.agents/skills/seo-audit/evals/evals.json b/.agents/skills/seo-audit/evals/evals.json
new file mode 100644
index 00000000..e3415c5b
--- /dev/null
+++ b/.agents/skills/seo-audit/evals/evals.json
@@ -0,0 +1,136 @@
+{
+ "skill_name": "seo-audit",
+ "evals": [
+ {
+ "id": 1,
+ "prompt": "Can you do an SEO audit of our SaaS website? We're getting about 2,000 organic visits/month but feel like we should be getting more. URL: https://example.com",
+ "expected_output": "Should check for product-marketing.md first. Should ask clarifying questions about priority keywords, Search Console access, recent changes, and competitors. Should follow the audit framework priority order: Crawlability & Indexation, Technical Foundations, On-Page Optimization, Content Quality, Authority & Links. Should check robots.txt, XML sitemap, site architecture. Should evaluate title tags, meta descriptions, heading structure, and content optimization. Should NOT report on schema markup based solely on web_fetch (must note the detection limitation). Output should follow the Audit Report Structure: Executive Summary, Technical SEO Findings, On-Page SEO Findings, Content Findings, and Prioritized Action Plan.",
+ "assertions": [
+ "Checks for product-marketing.md",
+ "Asks clarifying questions about keywords, Search Console, recent changes",
+ "Follows audit priority order: crawlability first, then technical, on-page, content, authority",
+ "Checks robots.txt and XML sitemap",
+ "Evaluates title tags, meta descriptions, heading structure",
+ "Does NOT claim 'no schema found' based on web_fetch alone",
+ "Notes schema markup detection limitation",
+ "Output has Executive Summary",
+ "Output has Prioritized Action Plan",
+ "Each finding has Issue, Impact, Evidence, Fix, and Priority"
+ ],
+ "files": []
+ },
+ {
+ "id": 2,
+ "prompt": "Why am I not ranking for 'project management software'? We have a page targeting that keyword but it's stuck on page 3.",
+ "expected_output": "Should trigger on the casual 'why am I not ranking' phrasing. Should investigate both on-page and off-page factors. On-page: check title tag, H1, URL alignment with keyword; evaluate content depth vs competitors; check for keyword cannibalization. Technical: check indexation status, canonical tags, crawlability. Content quality: assess E-E-A-T signals, content depth, user engagement. Should provide specific, actionable fixes organized by priority. Should mention competitive analysis against current top-ranking pages.",
+ "assertions": [
+ "Triggers on casual 'why am I not ranking' phrasing",
+ "Checks title tag, H1, URL alignment with target keyword",
+ "Evaluates content depth vs competitors",
+ "Checks for keyword cannibalization",
+ "Checks indexation status and canonical tags",
+ "Assesses E-E-A-T signals",
+ "Mentions competitive analysis against top-ranking pages",
+ "Provides actionable fixes organized by priority"
+ ],
+ "files": []
+ },
+ {
+ "id": 3,
+ "prompt": "We just migrated from WordPress to Next.js and our organic traffic dropped 40% in the last month. Help!",
+ "expected_output": "Should treat this as an urgent migration diagnostic. Should immediately check: redirect mapping (301s from old URLs to new), canonical tags on new pages, robots.txt not blocking crawlers, XML sitemap submitted and updated, meta tags preserved. Should check for common migration issues: redirect chains/loops, soft 404s, lost internal links, changed URL structures without redirects. Should reference Search Console coverage report for indexation issues. Should provide a prioritized recovery plan with critical fixes first. Should mention monitoring timeline expectations (recovery can take weeks).",
+ "assertions": [
+ "Treats as urgent migration diagnostic",
+ "Checks redirect mapping (301s)",
+ "Checks canonical tags on new pages",
+ "Checks robots.txt not blocking crawlers",
+ "Checks XML sitemap updated and submitted",
+ "Checks for redirect chains or loops",
+ "Checks for soft 404s",
+ "References Search Console coverage report",
+ "Provides prioritized recovery plan",
+ "Mentions recovery timeline expectations"
+ ],
+ "files": []
+ },
+ {
+ "id": 4,
+ "prompt": "Review the technical SEO of our e-commerce site. We have about 50,000 products and use faceted navigation.",
+ "expected_output": "Should focus on e-commerce-specific technical issues: faceted navigation creating duplicate content, crawl budget management for large product catalog, parameterized URLs, product schema markup (with the caveat about detection limitations). Should check for thin category pages, duplicate product descriptions, out-of-stock page handling. Should address crawl budget issues: pagination, infinite scroll handling, session IDs in URLs. Should provide structured findings with Impact ratings and specific fixes.",
+ "assertions": [
+ "Addresses faceted navigation duplicate content",
+ "Addresses crawl budget for large catalog",
+ "Checks for parameterized URL issues",
+ "Mentions product schema with detection limitation caveat",
+ "Checks for thin category pages",
+ "Checks for duplicate product descriptions",
+ "Addresses out-of-stock page handling",
+ "Addresses pagination and infinite scroll",
+ "Findings include Impact ratings and specific fixes"
+ ],
+ "files": []
+ },
+ {
+ "id": 5,
+ "prompt": "Can you check our blog posts for on-page SEO issues? We publish 4 posts per week but traffic has been flat for 6 months.",
+ "expected_output": "Should apply the Content/Blog Sites framework: check for outdated content not refreshed, keyword cannibalization, missing topical clustering, poor internal linking, missing author pages. Should audit on-page elements: title tags, meta descriptions, heading structure, keyword targeting per post. Should assess E-E-A-T signals for blog content. Should check for content depth issues and whether posts answer search intent. Should recommend a content audit process and provide a prioritized action plan for the existing content library.",
+ "assertions": [
+ "Applies Content/Blog Sites framework",
+ "Checks for outdated content",
+ "Checks for keyword cannibalization",
+ "Checks for topical clustering",
+ "Checks for internal linking quality",
+ "Checks for author pages and E-E-A-T signals",
+ "Audits title tags, meta descriptions, heading structure",
+ "Assesses whether content answers search intent",
+ "Recommends content audit process",
+ "Provides prioritized action plan"
+ ],
+ "files": []
+ },
+ {
+ "id": 6,
+ "prompt": "I run a local plumbing business with 3 locations. My website barely shows up when people search for 'plumber near me' in our areas. What's wrong?",
+ "expected_output": "Should apply the Local Business site-type framework. Should check for: inconsistent NAP (Name, Address, Phone) across the site, missing local schema markup (with detection limitation caveat), Google Business Profile optimization, missing individual location pages for each of the 3 locations, and missing local content. Should also check standard technical and on-page factors. Should recommend local-specific fixes: location-specific pages with unique content, local schema on each, GBP optimization, citation consistency.",
+ "assertions": [
+ "Applies Local Business framework",
+ "Checks NAP consistency",
+ "Checks for local schema markup with detection caveat",
+ "Addresses Google Business Profile optimization",
+ "Recommends individual location pages for each location",
+ "Recommends local content strategy",
+ "Checks standard technical SEO factors too",
+ "Provides prioritized local SEO action plan"
+ ],
+ "files": []
+ },
+ {
+ "id": 7,
+ "prompt": "Our site loads really slowly, especially on mobile. Pages take 5-6 seconds to load. Is this hurting our SEO?",
+ "expected_output": "Should focus on Site Speed and Core Web Vitals. Should explain CWV thresholds: LCP < 2.5s, INP < 200ms, CLS < 0.1, and that 5-6s load time is well above acceptable. Should investigate speed factors: server response time (TTFB), image optimization, JavaScript execution, CSS delivery, caching headers, CDN usage, font loading. Should recommend specific tools: PageSpeed Insights, WebPageTest, Chrome DevTools, Search Console CWV report. Should explain that yes, page speed is a ranking factor and directly impacts SEO. Should provide prioritized fixes.",
+ "assertions": [
+ "Focuses on Core Web Vitals",
+ "Explains CWV thresholds (LCP, INP, CLS)",
+ "Identifies 5-6s as well above acceptable",
+ "Investigates specific speed factors",
+ "Recommends specific diagnostic tools",
+ "Confirms page speed impacts SEO rankings",
+ "Provides prioritized speed fixes",
+ "Addresses mobile-specific performance"
+ ],
+ "files": []
+ },
+ {
+ "id": 8,
+ "prompt": "I want to add FAQ schema to my product pages. Can you help me set that up?",
+ "expected_output": "Should recognize this is a schema markup implementation task, not an SEO audit. Should defer to or cross-reference the schema skill, which specifically handles structured data implementation including FAQ schema. May briefly mention that FAQ schema can enable rich results, but should make clear that schema is the right skill for implementation.",
+ "assertions": [
+ "Recognizes this as schema markup implementation",
+ "References or defers to schema skill",
+ "Does not attempt a full SEO audit",
+ "May briefly mention FAQ schema benefits"
+ ],
+ "files": []
+ }
+ ]
+}
diff --git a/.agents/skills/seo-audit/references/ai-writing-detection.md b/.agents/skills/seo-audit/references/ai-writing-detection.md
new file mode 100644
index 00000000..cb67ece4
--- /dev/null
+++ b/.agents/skills/seo-audit/references/ai-writing-detection.md
@@ -0,0 +1,200 @@
+# AI Writing Detection
+
+Words, phrases, and punctuation patterns commonly associated with AI-generated text. Avoid these to ensure writing sounds natural and human.
+
+Sources: Grammarly (2025), Microsoft 365 Life Hacks (2025), GPTHuman (2025), Walter Writes (2025), Textero (2025), Plagiarism Today (2025), Rolling Stone (2025), MDPI Blog (2025)
+
+---
+
+## Contents
+- Em Dashes: The Primary AI Tell
+- Overused Verbs
+- Overused Adjectives
+- Overused Transitions and Connectors
+- Phrases That Signal AI Writing (Opening Phrases, Transitional Phrases, Concluding Phrases, Structural Patterns)
+- Filler Words and Empty Intensifiers
+- Academic-Specific AI Tells
+- How to Self-Check
+
+## Em Dashes: The Primary AI Tell
+
+**The em dash (—) has become one of the most reliable markers of AI-generated content.**
+
+Em dashes are longer than hyphens (-) and are used for emphasis, interruptions, or parenthetical information. While they have legitimate uses in writing, AI models drastically overuse them.
+
+### Why Em Dashes Signal AI Writing
+- AI models were trained on edited books, academic papers, and style guides where em dashes appear frequently
+- AI uses em dashes as a shortcut for sentence variety instead of commas, colons, or parentheses
+- Most human writers rarely use em dashes because they don't exist as a standard keyboard key
+- The overuse is so consistent that it has become the unofficial signature of ChatGPT writing
+
+### What To Do Instead
+| Instead of | Use |
+|------------|-----|
+| The results—which were surprising—showed... | The results, which were surprising, showed... |
+| This approach—unlike traditional methods—allows... | This approach, unlike traditional methods, allows... |
+| The study found—as expected—that... | The study found, as expected, that... |
+| Communication skills—both written and verbal—are essential | Communication skills (both written and verbal) are essential |
+
+### Guidelines
+- Use commas for most parenthetical information
+- Use colons to introduce explanations or lists
+- Use parentheses for supplementary information
+- Reserve em dashes for rare, deliberate emphasis only
+- If you find yourself using more than one em dash per page, revise
+
+---
+
+## Overused Verbs
+
+| Avoid | Use Instead |
+|-------|-------------|
+| delve (into) | explore, examine, investigate, look at |
+| leverage | use, apply, draw on |
+| optimise | improve, refine, enhance |
+| utilise | use |
+| facilitate | help, enable, support |
+| foster | encourage, support, develop, nurture |
+| bolster | strengthen, support, reinforce |
+| underscore | emphasise, highlight, stress |
+| unveil | reveal, show, introduce, present |
+| navigate | manage, handle, work through |
+| streamline | simplify, make more efficient |
+| enhance | improve, strengthen |
+| endeavour | try, attempt, effort |
+| ascertain | find out, determine, establish |
+| elucidate | explain, clarify, make clear |
+
+---
+
+## Overused Adjectives
+
+| Avoid | Use Instead |
+|-------|-------------|
+| robust | strong, reliable, thorough, solid |
+| comprehensive | complete, thorough, full, detailed |
+| pivotal | key, critical, central, important |
+| crucial | important, key, essential, critical |
+| vital | important, essential, necessary |
+| transformative | significant, important, major |
+| cutting-edge | new, advanced, recent, modern |
+| groundbreaking | new, original, significant |
+| innovative | new, original, creative |
+| seamless | smooth, easy, effortless |
+| intricate | complex, detailed, complicated |
+| nuanced | subtle, complex, detailed |
+| multifaceted | complex, varied, diverse |
+| holistic | complete, whole, comprehensive |
+
+---
+
+## Overused Transitions and Connectors
+
+| Avoid | Use Instead |
+|-------|-------------|
+| furthermore | also, in addition, and |
+| moreover | also, and, besides |
+| notwithstanding | despite, even so, still |
+| that being said | however, but, still |
+| at its core | essentially, fundamentally, basically |
+| to put it simply | in short, simply put |
+| it is worth noting that | note that, importantly |
+| in the realm of | in, within, regarding |
+| in the landscape of | in, within |
+| in today's [anything] | currently, now, today |
+
+---
+
+## Phrases That Signal AI Writing
+
+### Opening Phrases to Avoid
+- "In today's fast-paced world..."
+- "In today's digital age..."
+- "In an era of..."
+- "In the ever-evolving landscape of..."
+- "In the realm of..."
+- "It's important to note that..."
+- "Let's delve into..."
+- "Imagine a world where..."
+
+### Transitional Phrases to Avoid
+- "That being said..."
+- "With that in mind..."
+- "It's worth mentioning that..."
+- "At its core..."
+- "To put it simply..."
+- "In essence..."
+- "This begs the question..."
+
+### Concluding Phrases to Avoid
+- "In conclusion..."
+- "To sum up..."
+- "By [doing X], you can [achieve Y]..."
+- "In the final analysis..."
+- "All things considered..."
+- "At the end of the day..."
+
+### Structural Patterns to Avoid
+- "Whether you're a [X], [Y], or [Z]..." (listing three examples after "whether")
+- "It's not just [X], it's also [Y]..."
+- "Think of [X] as [elaborate metaphor]..."
+- Starting sentences with "By" followed by a gerund: "By understanding X, you can Y..."
+
+---
+
+## Filler Words and Empty Intensifiers
+
+These words often add nothing to meaning. Remove them or find specific alternatives:
+
+- absolutely
+- actually
+- basically
+- certainly
+- clearly
+- definitely
+- essentially
+- extremely
+- fundamentally
+- incredibly
+- interestingly
+- naturally
+- obviously
+- quite
+- really
+- significantly
+- simply
+- surely
+- truly
+- ultimately
+- undoubtedly
+- very
+
+---
+
+## Academic-Specific AI Tells
+
+| Avoid | Use Instead |
+|-------|-------------|
+| shed light on | clarify, explain, reveal |
+| pave the way for | enable, allow, make possible |
+| a myriad of | many, numerous, various |
+| a plethora of | many, numerous, several |
+| paramount | very important, essential, critical |
+| pertaining to | about, regarding, concerning |
+| prior to | before |
+| subsequent to | after |
+| in light of | because of, given, considering |
+| with respect to | about, regarding, for |
+| in terms of | regarding, for, about |
+| the fact that | that (or rewrite sentence) |
+
+---
+
+## How to Self-Check
+
+1. Read your text aloud. If phrases sound unnatural in speech, revise them
+2. Ask: "Would I say this in a conversation with a colleague?"
+3. Check for repetitive sentence structures
+4. Look for clusters of the words listed above
+5. Ensure varied sentence lengths (not all similar length)
+6. Verify each intensifier adds genuine meaning
diff --git a/.agents/skills/seo-audit/references/international-seo.md b/.agents/skills/seo-audit/references/international-seo.md
new file mode 100644
index 00000000..d2a2d1e6
--- /dev/null
+++ b/.agents/skills/seo-audit/references/international-seo.md
@@ -0,0 +1,230 @@
+# International SEO: Evidence & Sources
+
+Detailed evidence backing the International SEO & Localization section of the SEO Audit skill. Organized by topic with source URLs and key quotes.
+
+---
+
+## Hreflang
+
+### Placement Methods
+
+Google supports three equivalent methods: HTML `<link>` in `<head>`, HTTP `Link` headers, and XML sitemap `<xhtml:link>` elements. Google confirmed no method is prioritized over another.
+
+Google combines signals from both HTML and sitemaps. If the same language-region pair points to different URLs across methods, Google drops that pair rather than guessing.
+
+- [Google Search Central: Localized Versions](https://developers.google.com/search/docs/specialty/international/localized-versions)
+- [SEJ: Google Combines Hreflang Signals](https://www.searchenginejournal.com/google-combines-hreflang-signals-from-html-sitemaps/389219/)
+
+### Reciprocal Requirement
+
+Google's docs: "If page X links to page Y, page Y must link back to page X. If not, those annotations may be ignored or not interpreted correctly."
+
+Every page must include itself (self-referencing) in the hreflang set. Missing self-referencing is the #1 error found by Semrush audits. A study of 374,756 domains found 67% of hreflang implementations had issues.
+
+- [Google Search Central: Localized Versions](https://developers.google.com/search/docs/specialty/international/localized-versions)
+- [Semrush: 9 Common Hreflang Errors](https://www.semrush.com/blog/hreflang-errors/)
+- [SE Land: 31% of International Websites Contain Hreflang Errors](https://searchengineland.com/study-31-of-international-websites-contain-hreflang-errors-395161)
+
+### x-default
+
+Introduced April 2013. Designates the fallback page for users whose language/region matches no declared variant. Can point to the same URL as one of the language-specific alternates. Must be included in the complete set of annotations on every variant page.
+
+- [Google Blog: x-default hreflang](https://developers.google.com/search/blog/2013/04/x-default-hreflang-for-international-pages)
+- [Google Blog: How x-default can help you (2023)](https://developers.google.com/search/blog/2023/05/x-default)
+
+### Language & Region Codes
+
+Language: ISO 639-1 (2-letter). Region: ISO 3166-1 Alpha 2 (2-letter). Format: `language[-script][-region]`.
+
+You cannot specify a region code alone. Common mistakes: `en-UK` (should be `en-GB`), `es-419` (not ISO 3166-1). A study found 8.9% of sites using hreflang contain invalid language codes.
+
+- [Google Search Central: Localized Versions](https://developers.google.com/search/docs/specialty/international/localized-versions)
+- [SE Land: 31% Study](https://searchengineland.com/study-31-of-international-websites-contain-hreflang-errors-395161)
+
+### Hreflang at Scale (20+ locales)
+
+With 20 locales, HTML `<head>` hreflang adds ~1.5KB per page for zero user benefit. Sitemap-based hreflang has zero runtime performance impact. `<xhtml:link>` child elements do NOT count toward the 50,000 URL sitemap limit (only `<loc>` elements count).
+
+John Mueller recommends focusing hreflang on pages receiving wrong-language traffic, not every page: "I wouldn't do it for any of the other pages of the site because it's so complex & hard to manage."
+
+- [SERoundtable: Child Elements Don't Count](https://www.seroundtable.com/google-child-elements-dont-count-towards-sitemap-url-limit-34377.html)
+- [SERoundtable: Where To Focus Hreflang](https://www.seroundtable.com/using-hreflang-34127.html)
+- [Yoast: hreflang Ultimate Guide](https://yoast.com/hreflang-ultimate-guide/)
+
+### Google vs Bing
+
+Bing treats hreflang as a "weak signal." Bing relies on `content-language` meta tag, HTML `lang` attribute, ccTLDs, and server location. Yandex supports hreflang like Google.
+
+For both engines: implement hreflang (Google/Yandex) + `<html lang="...">` + `<meta http-equiv="content-language">` (Bing).
+
+- [Digital Ready Marketing: Bing Doesn't Use Hreflang](https://digitalreadymarketing.com/bing-doesnt-use-hreflang-annotation-what-does-it-use/)
+- [Yoast: hreflang Ultimate Guide](https://yoast.com/hreflang-ultimate-guide/)
+
+---
+
+## Canonicalization & i18n
+
+### Self-Referencing Canonicals
+
+Each locale page must canonical to itself. John Mueller: "Don't use a rel=canonical across languages/countries, only use it on a per-country/language basis."
+
+Google's docs: "Specify a canonical page in the same language, or the best possible substitute language if a canonical doesn't exist for the same language."
+
+- [John Mueller: hreflang canonical](https://johnmu.com/hreflang-canonical/)
+- [Google: Consolidate Duplicate URLs](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls)
+
+### Canonical Overrides Hreflang
+
+Mueller: "If your canonical is pointing somewhere else, Google will follow that and ignore your hreflang annotation." The canonical URL must be one of the URLs in the hreflang set, or all hreflang markup is ignored.
+
+Google also states: "Google prefers URLs that are part of hreflang clusters for canonicalization" -- when signals align, hreflang strengthens canonical selection.
+
+- [John Mueller: hreflang canonical](https://johnmu.com/hreflang-canonical/)
+- [SEJ: Hreflang Tags Are Hints](https://www.searchenginejournal.com/google-reminds-that-hreflang-tags-are-hints-not-directives/546428/)
+- [Google: Consolidate Duplicate URLs](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls)
+
+### Near-Duplicate Regional Variants
+
+Mueller (2023 Office Hours): "If the content is completely the same, and we can't tell any difference, then for simplicity and user experience we may just show one version -- even if hreflang is present."
+
+Google's duplicate detection runs BEFORE hreflang evaluation. To keep both versions indexed, you need substantive content differences beyond currency symbols.
+
+- [International Web Mastery: Same-Language Duplicate Pages](https://internationalwebmastery.com/blog/how-google-handles-canonicalization-of-same-language-duplicate-near-duplicate-pages/)
+- [Google: Managing Multi-Regional Sites](https://developers.google.com/search/docs/specialty/international/managing-multi-regional-sites)
+
+### Pagination Across Locales
+
+Google: "Don't use the first page of a paginated sequence as the canonical page. Instead, give each page its own canonical URL." Each paginated page in each locale gets self-referencing canonical. `rel="next/prev"` deprecated March 2019.
+
+- [Google: Pagination Best Practices](https://developers.google.com/search/docs/specialty/ecommerce/pagination-and-incremental-page-loading)
+
+---
+
+## International Sitemaps
+
+### Structure
+
+Each `<url>` entry includes `<xhtml:link>` alternates for every locale. Requires `xmlns:xhtml="http://www.w3.org/1999/xhtml"` namespace.
+
+Split sitemaps by content type, not by locale. Splitting by locale creates maintenance problems because every locale sitemap must reference every other locale (reciprocal requirement).
+
+- [Google Search Central: Localized Versions](https://developers.google.com/search/docs/specialty/international/localized-versions)
+- [Lumar: How Google Handles Hreflang](https://www.lumar.io/office-hours/hreflang/)
+
+### Size Limits
+
+50,000 URLs / 50MB uncompressed per sitemap. Only `<loc>` elements count toward the 50K limit. But with 20 hreflang alternates per entry, the 50MB file size limit becomes the bottleneck. Plan for 2,000-5,000 URLs per sitemap when using full hreflang.
+
+- [Google: Build and Submit a Sitemap](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap)
+- [SERoundtable: Sitemap 50,000 Limit](https://www.seroundtable.com/google-sitemap-50-000-limit-based-on-location-urls-not-alternative-urls-33843.html)
+
+### Submission
+
+Submit the sitemap index in Search Console AND reference it in robots.txt. Individual child sitemaps can be submitted separately for per-sitemap reporting.
+
+- [Google: Build and Submit a Sitemap](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap)
+
+### Next.js Caveat
+
+Next.js `alternates.languages` does NOT automatically include a self-referencing `<xhtml:link>` for the `<loc>` URL. You must explicitly include the `<loc>` URL's own language in the `languages` object.
+
+- [Next.js Docs: sitemap.xml](https://nextjs.org/docs/app/api-reference/file-conventions/metadata/sitemap)
+
+---
+
+## URL Structure
+
+### Strategies Compared
+
+Google treats subdirectories and subdomains equivalently. Mueller: "From our point of view...they say subdomains and subdirectories are essentially equivalent."
+
+URL parameters (`?lang=en`) are explicitly "Not recommended" per Google docs.
+
+- [Google: Managing Multi-Regional Sites](https://developers.google.com/search/docs/specialty/international/managing-multi-regional-sites)
+
+### Default Language
+
+Mueller recommends: set `/` as x-default, put each language in its own prefix. Without marking `/` as x-default, "to Google it can look like '/' is a separate page from the others."
+
+- [Google Blog: x-default](https://developers.google.com/search/blog/2023/05/x-default)
+- [Google Blog: Creating the Right Homepage](https://developers.google.com/search/blog/2014/05/creating-right-homepage-for-your)
+
+### Content Negotiation / IP Redirects
+
+Google strongly advises against locale-adaptive pages. Googlebot crawls from US IPs and does not send Accept-Language headers. Separate URLs + hreflang are required.
+
+- [Google: Locale-Adaptive Pages](https://developers.google.com/search/docs/specialty/international/locale-adaptive-pages)
+
+### Trailing Slash Consistency
+
+Mueller: trailing slash is "a significant part of the URL and will change the URL if it's there or not." Pick one format for all locale paths, internal links, canonicals, hreflang, and sitemaps.
+
+Mueller (2025): "Consistency is the biggest technical SEO factor."
+
+- [SERoundtable: Consistency Is The Biggest Technical SEO Factor](https://www.seroundtable.com/google-consistency-seo-40427.html)
+
+### Search Console Geotargeting
+
+The International Targeting report is deprecated. Google now relies entirely on hreflang, content language analysis, and linking patterns. You can add subdirectory properties for per-locale reporting.
+
+- [Google Support: International Targeting Deprecated](https://support.google.com/webmasters/answer/12474899?hl=en)
+
+### Framework Locale Modes
+
+Use `localePrefix: 'always'` (next-intl) or equivalent. Never hide locale from URLs -- Google needs unique URLs per language. Using `'never'` mode disables alternate links entirely.
+
+- [next-intl: Routing Configuration](https://next-intl.dev/docs/routing/configuration)
+- [Next.js Discussion #18419](https://github.com/vercel/next.js/discussions/18419)
+
+---
+
+## Content Quality Across Locales
+
+### Auto-Translated Content (2025 Stance)
+
+Google removed longstanding guidance advising against auto-translated content in mid-2025. Current stance: "Our policies do not strictly define content that has been translated by AI as spam." The scaled content abuse policy mentions translation as a possible vector, but does not ban it.
+
+Reddit scaled AI translations to 35+ languages with Google's knowledge. The key distinction is intent and quality, not the method.
+
+- [Google Spam Policies](https://developers.google.com/search/docs/essentials/spam-policies)
+- [Glenn Gabe: Auto-Translating Content](https://www.gsqi.com/marketing-blog/auto-translating-content-google-scaled-content-abuse/)
+- [SE Land: Reddit AI Translations](https://searchengineland.com/google-comments-on-reddits-use-of-ai-to-translate-its-pages-456908)
+
+### Thin Locale Pages
+
+Google: "Localized versions of a page are only considered duplicates if the main content of the page remains untranslated." Pages with only translated boilerplate get clustered as duplicates.
+
+Do NOT use noindex for unwanted locale pages (wastes crawl budget). Do NOT canonical cross-locale (conflicts with hreflang). Best approach: don't create locale pages you can't make genuinely helpful.
+
+- [Google: Localized Versions](https://developers.google.com/search/docs/specialty/international/localized-versions)
+- [Google: Crawl Budget Management](https://developers.google.com/search/docs/crawling-indexing/large-site-managing-crawl-budget)
+
+### Helpful Content System Impact
+
+Merged into core ranking March 2024. Site-wide signal: "any content -- not just unhelpful content -- on sites determined to have relatively high amounts of unhelpful content overall is less likely to perform well in Search."
+
+Low-quality translated pages can drag down the entire site. This is the strongest argument against creating locale pages that aren't genuinely helpful.
+
+- [Google Blog: Helpful Content Update](https://developers.google.com/search/blog/2022/08/helpful-content-update)
+- [Amsive: What Changed in 2024](https://www.amsive.com/insights/seo/googles-helpful-content-update-ranking-system-what-happened-and-what-changed-in-2024/)
+
+### Partial Translation
+
+Google: "Translating only the boilerplate text of your pages while keeping the bulk of your content in a single language...can create a bad user experience." Google uses visible content (not lang attribute) to determine page language.
+
+Translate ALL content on a page if you create a locale version. Untranslated metadata (title, description) in the wrong language reduces CTR.
+
+- [Google: Managing Multi-Regional Sites](https://developers.google.com/search/docs/specialty/international/managing-multi-regional-sites)
+
+### Crawl Budget
+
+Only a concern for 1M+ pages or 10K+ pages changing daily. But alternate URLs (hreflang targets) do consume crawl budget. Broken hreflang links waste budget AND invalidate signals.
+
+- [Google: Crawl Budget Management](https://developers.google.com/search/docs/crawling-indexing/large-site-managing-crawl-budget)
+- [Google Blog: Crawl Budget](https://developers.google.com/search/blog/2017/01/what-crawl-budget-means-for-googlebot)
+
+### Locale-Specific Signals
+
+Google identifies audience via: "local addresses and phone numbers on the pages, the use of local language and currency, links from other local sites, or signals from your Business Profile."
+
+- [Google: Managing Multi-Regional Sites](https://developers.google.com/search/docs/specialty/international/managing-multi-regional-sites)
diff --git a/.claude/skills/seo-audit b/.claude/skills/seo-audit
new file mode 120000
index 00000000..e89ca8bc
--- /dev/null
+++ b/.claude/skills/seo-audit
@@ -0,0 +1 @@
+../../.agents/skills/seo-audit
\ No newline at end of file
diff --git a/apps/app/app/(landing)/page.tsx b/apps/app/app/(landing)/page.tsx
index c5f7e540..99c59847 100644
--- a/apps/app/app/(landing)/page.tsx
+++ b/apps/app/app/(landing)/page.tsx
@@ -1,61 +1,28 @@
-import { Button } from "@crm/ui/components/button";
-import Logo from "@crm/ui/components/logo";
-import Link from "next/link";
-import { AuthShader } from "@/components/auth-shader";
+import type { Metadata } from "next";
+import { AgentSection } from "@/components/landing/agent-section";
+import { CapabilitiesSection } from "@/components/landing/capabilities-section";
+import { ClosingCta } from "@/components/landing/closing-cta";
+import { Hero } from "@/components/landing/hero";
+import { LandingFooter } from "@/components/landing/landing-footer";
+import { LandingNav } from "@/components/landing/landing-nav";
+import { ProductShot } from "@/components/landing/product-shot/product-shot";
+
+export const metadata: Metadata = {
+ title: "The CRM for agents",
+ description:
+ "The first agentic CRM experience — durable research agents that read your inbox, keep every record current and book their own follow-ups.",
+};
export default function Home() {
return (
- <main className="dark relative flex min-h-svh flex-col overflow-hidden bg-background text-foreground">
- <AuthShader />
-
- <header className="relative flex h-12 shrink-0 items-center gap-2 px-6 sm:px-10">
- <Link href="/" aria-label="Homepage" className="flex">
- <Logo className="size-5 shrink-0" />
- </Link>
-
- <div className="ml-auto">
- <Button asChild variant="outline" size="sm">
- <Link href="/sign-in">Sign in</Link>
- </Button>
- </div>
- </header>
-
- <div className="relative flex flex-1 items-center px-6 py-16 sm:px-10">
- <div className="flex max-w-lg flex-col gap-8">
- <div className="flex flex-col gap-4">
- <p className="font-mono text-muted-foreground text-xs/4 uppercase">
- CRM
- </p>
- <h1 className="max-w-[14ch] text-balance font-semibold text-5xl/14">
- Every customer, one place.
- </h1>
- <p className="max-w-[46ch] text-pretty text-muted-foreground text-sm/6">
- Your inbox and calendar become the record. A research agent works
- out who everybody is, and what each account is worth.
- </p>
- </div>
-
- <div className="flex gap-2">
- <Button asChild>
- <Link href="/sign-in">Get started</Link>
- </Button>
- </div>
- </div>
- </div>
-
- <footer className="relative px-6 py-8 sm:px-10">
- <p className="font-mono text-muted-foreground text-xs/4">
- Made with love by{" "}
- <a
- href="https://trycomp.ai"
- target="_blank"
- rel="noreferrer"
- className="underline underline-offset-4 hover:text-foreground"
- >
- Comp AI
- </a>
- </p>
- </footer>
- </main>
+ <div className="dark flex min-h-svh w-full flex-col items-center overflow-clip bg-background font-sans text-foreground">
+ <LandingNav />
+ <Hero />
+ <ProductShot />
+ <AgentSection />
+ <CapabilitiesSection />
+ <ClosingCta />
+ <LandingFooter />
+ </div>
);
}
diff --git a/apps/app/components/landing/agent-section.tsx b/apps/app/components/landing/agent-section.tsx
new file mode 100644
index 00000000..0cf033e8
--- /dev/null
+++ b/apps/app/components/landing/agent-section.tsx
@@ -0,0 +1,157 @@
+import Add from "@carbon/icons-react/es/Add";
+import ArrowRight from "@carbon/icons-react/es/ArrowRight";
+import ArrowUp from "@carbon/icons-react/es/ArrowUp";
+import Attachment from "@carbon/icons-react/es/Attachment";
+import ChevronDown from "@carbon/icons-react/es/ChevronDown";
+import Renew from "@carbon/icons-react/es/Renew";
+import Time from "@carbon/icons-react/es/Time";
+import SlackLogo from "@crm/ui/components/brand-logos/slack";
+import { cn } from "@crm/ui/lib/utils";
+import Image from "next/image";
+import Link from "next/link";
+import type * as React from "react";
+import { Chip } from "./chip";
+import { SectionHeading } from "./section-heading";
+
+export function AgentSection() {
+ return (
+ <section className="relative flex w-full shrink-0 flex-col items-center px-6 pt-20 md:pt-30">
+ <div className="flex w-full max-w-6xl flex-col gap-12">
+ <SectionHeading
+ title="Agents that automate your CRM."
+ lede="Describe how your CRM should act. Create agents to automate every process."
+ />
+
+ <div className="flex w-full flex-col items-center gap-7 rounded-xl border border-border bg-background px-6 py-12 md:px-12 md:py-[88px]">
+ <p className="text-balance text-center font-medium text-2xl/8 tracking-[-0.01em] md:text-[32px]/10">
+ What should we get done, Lewis?
+ </p>
+
+ <Composer />
+ <SuggestedActions />
+ </div>
+ </div>
+ </section>
+ );
+}
+
+function Composer() {
+ return (
+ <div className="flex min-h-24 w-3xl max-w-full shrink-0 select-none flex-col justify-between rounded-lg border border-[#3D3D3D] bg-muted p-[11px]">
+ <p className="flex flex-wrap items-center gap-1 p-1 text-[13px]/6">
+ <span className="text-[#00805E]">/Create agent</span>
+ <span className="text-white">Send a new message to</span>
+ <Chip className="gap-1 text-white">
+ <SlackLogo className="size-[15px] shrink-0" />
+ Slack
+ </Chip>
+ <span className="text-white">and ping</span>
+ <Chip className="gap-1 text-white">
+ <DanAvatar />
+ Dan
+ </Chip>
+ <span className="text-white">
+ when a company misses their invoice deadline
+ </span>
+ </p>
+
+ <div className="flex items-center">
+ <div className="flex items-center gap-[14px] text-muted-foreground">
+ <Add size={16} />
+ <Attachment size={16} />
+ <span className="font-mono text-sm/4">/</span>
+ </div>
+ <div className="grow" />
+ <span className="flex size-7 shrink-0 items-center justify-center rounded-full bg-primary">
+ <ArrowUp size={14} className="text-primary-foreground" />
+ </span>
+ </div>
+ </div>
+ );
+}
+
+function SuggestedActions() {
+ return (
+ <div className="flex w-3xl max-w-full shrink-0 select-none flex-col pt-1">
+ <div className="flex h-7 shrink-0 items-center gap-1.5 text-muted-foreground">
+ <span className="text-[13px]/4">Suggested actions</span>
+ <ChevronDown size={12} />
+ </div>
+
+ <SuggestedAction>
+ <span className="shrink-0">Create a</span>
+ <Chip>
+ <SlackLogo className="size-[14px] shrink-0" />
+ Slack
+ </Chip>
+ <span className="shrink-0">
+ channel and invite the owner when a deal hits
+ </span>
+ <Chip className="gap-1.5 px-2">
+ <span className="size-1.5 shrink-0 rounded-full bg-success" />
+ Closed won
+ </Chip>
+ </SuggestedAction>
+
+ <SuggestedAction className="gap-3">
+ <span className="shrink-0">Ping</span>
+ <Chip>
+ <DanAvatar />
+ Dan
+ </Chip>
+ <span className="min-w-0 grow">
+ when a contract has been out five days unsigned
+ </span>
+ </SuggestedAction>
+
+ <SuggestedAction>
+ <span className="shrink-0">Every Monday,</span>
+ <Chip className="px-2">
+ <Renew size={13} className="shrink-0" />
+ re-enrich contacts
+ </Chip>
+ <span className="shrink-0">that haven't been contacted in</span>
+ <Chip className="px-2">
+ <Time size={13} className="shrink-0 text-muted-foreground" />4 weeks
+ </Chip>
+ </SuggestedAction>
+ </div>
+ );
+}
+
+function SuggestedAction({
+ className,
+ children,
+}: {
+ className?: string;
+ children: React.ReactNode;
+}) {
+ return (
+ <Link
+ href="/sign-in"
+ className={cn(
+ "group/action -mx-2 flex flex-wrap items-center gap-1.5 rounded-sm border-border border-t px-2 py-[13px] text-[13px]/4 transition-colors hover:bg-accent/40",
+ className,
+ )}
+ >
+ {children}
+ <div className="grow" />
+ <ArrowRight
+ size={16}
+ className="shrink-0 text-muted-foreground transition-transform group-hover/action:translate-x-0.5"
+ />
+ </Link>
+ );
+}
+
+function DanAvatar() {
+ return (
+ <Image
+ src="/landing/avatar-dan.png"
+ alt=""
+ width={64}
+ height={64}
+ className="size-[15px] shrink-0 rounded-full object-cover"
+ />
+ );
+}
diff --git a/apps/app/components/landing/ask-card.tsx b/apps/app/components/landing/ask-card.tsx
new file mode 100644
index 00000000..49d0f53a
--- /dev/null
+++ b/apps/app/components/landing/ask-card.tsx
@@ -0,0 +1,73 @@
+"use client";
+
+import { cn } from "@crm/ui/lib/utils";
+import Link from "next/link";
+import { useState } from "react";
+import { BentoCard, CardHeading } from "./bento-card";
+import { SendArrow } from "./send-arrow";
+
+const QUESTIONS = [
+ "What do they do?",
+ "Who do we know here?",
+ "What has changed recently?",
+];
+
+const PLACEHOLDER = "What do they sell?";
+
+/**
+ * The one card a reader can actually drive. Picking a question loads it into
+ * the composer, and sending it is the sign-in — the answer needs a record, and
+ * a record needs an account.
+ */
+export function AskCard() {
+ const [asked, setAsked] = useState<string | null>(null);
+
+ return (
+ <BentoCard className="grow gap-6">
+ <CardHeading
+ title="Ask any record a question"
+ body="It reads their site and our own history with them, and shows its working."
+ />
+
+ <div className="flex grow flex-col justify-end gap-2.5">
+ <p className="select-none font-medium text-[#5A5A5A] text-[11px]/4">
+ SUGGESTED
+ </p>
+ {QUESTIONS.map((question) => (
+ <button
+ key={question}
+ type="button"
+ aria-pressed={asked === question}
+ onClick={() => setAsked(question)}
+ className={cn(
+ "flex h-[38px] shrink-0 cursor-pointer select-none items-center rounded-md px-3 text-left text-[13px]/[18px] transition-colors",
+ asked === question
+ ? "bg-accent text-foreground"
+ : "bg-muted hover:bg-accent",
+ )}
+ >
+ {question}
+ </button>
+ ))}
+ </div>
+
+ <div className="flex h-11 shrink-0 items-center gap-2.5 rounded-md border border-border bg-[#1A1A1A] pr-1.5 pl-3.5 transition-colors focus-within:border-ring">
+ <span
+ className={cn(
+ "min-w-0 grow truncate text-[13px]/[18px]",
+ asked ? "text-foreground" : "text-[#6E6E6E]",
+ )}
+ >
+ {asked ?? PLACEHOLDER}
+ </span>
+ <Link
+ href="/sign-in"
+ aria-label="Ask this question in the CRM"
+ className="flex size-[30px] shrink-0 items-center justify-center rounded-full bg-primary transition-transform hover:scale-105 active:scale-95"
+ >
+ <SendArrow className="size-3.5 text-primary-foreground" />
+ </Link>
+ </div>
+ </BentoCard>
+ );
+}
diff --git a/apps/app/components/landing/bento-card.tsx b/apps/app/components/landing/bento-card.tsx
new file mode 100644
index 00000000..7929d629
--- /dev/null
+++ b/apps/app/components/landing/bento-card.tsx
@@ -0,0 +1,61 @@
+import { cn } from "@crm/ui/lib/utils";
+import type * as React from "react";
+
+export function BentoCard({
+ className,
+ children,
+}: {
+ className?: string;
+ children: React.ReactNode;
+}) {
+ return (
+ <div
+ className={cn(
+ "flex flex-col overflow-clip rounded-lg bg-card p-7",
+ className,
+ )}
+ >
+ {children}
+ </div>
+ );
+}
+
+export function CardHeading({ title, body }: { title: string; body: string }) {
+ return (
+ <div className="flex flex-col gap-2">
+ <CardTitle>{title}</CardTitle>
+ <CardBody>{body}</CardBody>
+ </div>
+ );
+}
+
+export function CardTitle({ children }: { children: React.ReactNode }) {
+ return (
+ <h3 className="text-balance font-medium text-[19px]/[26px] tracking-tight">
+ {children}
+ </h3>
+ );
+}
+
+export function CardBody({ children }: { children: React.ReactNode }) {
+ return <p className="text-muted-foreground text-sm/[23px]">{children}</p>;
+}
+
+export function MonoLabel({
+ className,
+ children,
+}: {
+ className?: string;
+ children: React.ReactNode;
+}) {
+ return (
+ <p
+ className={cn(
+ "select-none font-mono text-[#5A5A5A] text-[11px]/4 tracking-widest",
+ className,
+ )}
+ >
+ {children}
+ </p>
+ );
+}
diff --git a/apps/app/components/landing/built-with.tsx b/apps/app/components/landing/built-with.tsx
new file mode 100644
index 00000000..1b2c1090
--- /dev/null
+++ b/apps/app/components/landing/built-with.tsx
@@ -0,0 +1,30 @@
+import EveLogo from "@crm/ui/components/brand-logos/eve";
+import NextjsLogo from "@crm/ui/components/brand-logos/nextjs";
+import VercelLogo from "@crm/ui/components/brand-logos/vercel";
+
+export function BuiltWith() {
+ return (
+ <div className="flex w-full max-w-6xl select-none flex-col items-center gap-[14px] pt-10">
+ <div className="flex flex-col items-center gap-5">
+ <p className="font-mono text-[13px]/4 tracking-widest text-[#6E6E6E]">
+ BUILT WITH
+ </p>
+
+ <ul className="flex flex-wrap items-center justify-center gap-x-10 gap-y-5 font-medium text-2xl/[30px] text-white tracking-[-0.01em]">
+ <li className="flex items-center gap-3">
+ <VercelLogo className="size-[26px] shrink-0" />
+ Vercel
+ </li>
+ <li className="flex items-center gap-3">
+ <NextjsLogo className="size-[26px] shrink-0" />
+ Next.js
+ </li>
+ <li className="flex items-center gap-3">Context</li>
+ <li className="flex items-center gap-3">
+ <EveLogo aria-label="eve" className="h-[26px] w-[82px] shrink-0" />
+ </li>
+ </ul>
+ </div>
+ </div>
+ );
+}
diff --git a/apps/app/components/landing/capabilities-section.tsx b/apps/app/components/landing/capabilities-section.tsx
new file mode 100644
index 00000000..b39c7052
--- /dev/null
+++ b/apps/app/components/landing/capabilities-section.tsx
@@ -0,0 +1,230 @@
+import ArrowRight from "@carbon/icons-react/es/ArrowRight";
+import GitHubLogo from "@crm/ui/components/brand-logos/github";
+import StripeLogo from "@crm/ui/components/brand-logos/stripe";
+import VercelLogo from "@crm/ui/components/brand-logos/vercel";
+import { cn } from "@crm/ui/lib/utils";
+import Link from "next/link";
+import type * as React from "react";
+import { AskCard } from "./ask-card";
+import {
+ BentoCard,
+ CardBody,
+ CardHeading,
+ CardTitle,
+ MonoLabel,
+} from "./bento-card";
+import { SectionHeading } from "./section-heading";
+
+const ENRICHMENT_ROWS = [
+ {
+ name: "Stripe",
+ domain: "stripe.com",
+ logo: <StripeLogo className="size-5 shrink-0" />,
+ researching: false,
+ },
+ {
+ name: "Vercel",
+ domain: "vercel.com",
+ logo: <VercelLogo className="size-5 shrink-0 text-white" />,
+ researching: false,
+ },
+ {
+ name: "GitHub",
+ domain: "github.com",
+ logo: <GitHubLogo className="size-5 shrink-0 text-muted-foreground" />,
+ researching: true,
+ },
+];
+
+const SUGGESTED_AGENTS = [
+ "Brief every deal owner before a renewal call",
+ "Flag deals with no activity for 14 days",
+ "Hand new customers from Sales to Onboarding",
+];
+
+const FOLLOW_UPS = [
+ { label: "Recheck Paula Marchetti", due: "14d", next: true },
+ { label: "Brief owner before renewal", due: "2d", next: false },
+ { label: "Re-enrich Northwind", due: "90d", next: false },
+];
+
+export function CapabilitiesSection() {
+ return (
+ <section className="relative flex w-full shrink-0 flex-col items-center px-6 pt-20 pb-20 md:pb-30">
+ <div className="flex w-full max-w-6xl flex-col gap-12 md:gap-[72px]">
+ <SectionHeading title="What it actually does" />
+
+ <div className="flex flex-col gap-4 lg:flex-row">
+ <div className="flex min-w-0 grow flex-col gap-4">
+ <EnrichmentCard />
+ <div className="flex flex-col gap-4 sm:flex-row">
+ <AgentBuilderCard />
+ <FollowUpCard />
+ </div>
+ </div>
+
+ <div className="flex w-full shrink-0 flex-col gap-4 lg:w-[400px]">
+ <AskCard />
+ </div>
+ </div>
+ </div>
+ </section>
+ );
+}
+
+function EnrichmentCard() {
+ return (
+ <BentoCard className="gap-6">
+ <CardHeading
+ title="Records fill themselves in"
+ body="A new person on a thread becomes a contact, and their company arrives with its logo, industry and last activity already on it."
+ />
+
+ <div className="flex select-none flex-col">
+ {ENRICHMENT_ROWS.map((row) => (
+ <div
+ key={row.name}
+ className="-mx-2 flex h-11 shrink-0 items-center gap-3 rounded-sm border-border border-t px-2 transition-colors hover:bg-muted/50"
+ >
+ <span className={cn(row.researching && "animate-pulse")}>
+ {row.logo}
+ </span>
+ <span className="min-w-0 grow font-medium text-[13px]/4">
+ {row.name}
+ </span>
+ <span className="hidden w-[180px] shrink-0 font-mono text-muted-foreground text-xs sm:block">
+ {row.domain}
+ </span>
+ {row.researching ? (
+ <StatusBadge className="gap-1 bg-border text-muted-foreground">
+ <ResearchingSpinner />
+ Researching
+ </StatusBadge>
+ ) : (
+ <StatusBadge className="bg-primary text-primary-foreground">
+ Enriched
+ </StatusBadge>
+ )}
+ </div>
+ ))}
+ </div>
+ </BentoCard>
+ );
+}
+
+function AgentBuilderCard() {
+ return (
+ <BentoCard className="min-w-0 grow gap-5">
+ <CardTitle>Agents that build agents</CardTitle>
+ <CardBody>
+ Describe a process in a sentence and the agent writes another agent to
+ run it — on its own queue, on its own schedule.
+ </CardBody>
+
+ <div className="flex select-none flex-col">
+ <MonoLabel className="h-[26px] shrink-0">SUGGESTED AGENTS</MonoLabel>
+ {SUGGESTED_AGENTS.map((agent) => (
+ <Link
+ key={agent}
+ href="/sign-in"
+ className="group/agent -mx-2 flex h-11 shrink-0 items-center gap-3 rounded-sm border-border border-t px-2 transition-colors hover:bg-muted/50"
+ >
+ <span className="min-w-0 grow font-medium text-[13px]/[18px]">
+ {agent}
+ </span>
+ <ArrowRight
+ size={14}
+ className="shrink-0 text-muted-foreground transition-transform group-hover/agent:translate-x-0.5"
+ />
+ </Link>
+ ))}
+ </div>
+ </BentoCard>
+ );
+}
+
+function FollowUpCard() {
+ return (
+ <BentoCard className="min-w-0 grow gap-5">
+ <CardTitle>It books its own follow-ups</CardTitle>
+
+ <ul className="flex select-none flex-col gap-[14px]">
+ {FOLLOW_UPS.map((item) => (
+ <li key={item.label} className="flex items-center gap-2.5">
+ <span
+ className={cn(
+ "size-[7px] shrink-0 rounded-full",
+ item.next ? "animate-pulse bg-primary" : "bg-[#3A3A3A]",
+ )}
+ />
+ <span
+ className={cn(
+ "min-w-0 grow text-[13px]/[18px]",
+ item.next ? "text-foreground" : "text-muted-foreground",
+ )}
+ >
+ {item.label}
+ </span>
+ <span className="shrink-0 font-mono text-[11px]/[18px] text-[#6E6E6E]">
+ {item.due}
+ </span>
+ </li>
+ ))}
+ </ul>
+
+ <div className="flex flex-col gap-2 pt-1">
+ <MonoLabel>WHY</MonoLabel>
+ <p className="text-[13px]/[21px] text-muted-foreground">
+ An agent that cannot say why it will be back in fourteen days does not
+ have a reason, it has a default.
+ </p>
+ </div>
+ </BentoCard>
+ );
+}
+
+function StatusBadge({
+ className,
+ children,
+}: {
+ className?: string;
+ children: React.ReactNode;
+}) {
+ return (
+ <span
+ className={cn(
+ "flex w-[104px] shrink-0 items-center justify-center rounded-sm px-2 py-[3px] text-[11px]/[14px]",
+ className,
+ )}
+ >
+ {children}
+ </span>
+ );
+}
+
+function ResearchingSpinner() {
+ return (
+ <svg
+ viewBox="0 0 16 16"
+ xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
+ className="size-[11px] shrink-0 animate-spin"
+ >
+ <circle
+ cx="8"
+ cy="8"
+ r="6"
+ fill="none"
+ stroke="#4A4A4A"
+ strokeWidth="2"
+ />
+ <path
+ d="M8 2a6 6 0 0 1 6 6"
+ fill="none"
+ stroke="var(--ring)"
+ strokeWidth="2"
+ strokeLinecap="round"
+ />
+ </svg>
+ );
+}
diff --git a/apps/app/components/landing/chip.tsx b/apps/app/components/landing/chip.tsx
new file mode 100644
index 00000000..2e318f75
--- /dev/null
+++ b/apps/app/components/landing/chip.tsx
@@ -0,0 +1,26 @@
+import { cn } from "@crm/ui/lib/utils";
+import type * as React from "react";
+
+/**
+ * The inline pill an agent instruction is written out of — a mention, a stage,
+ * a schedule. Used in the composer line and in every suggested action beneath
+ * it, so the two always read as the same sentence grammar.
+ */
+export function Chip({
+ className,
+ children,
+}: {
+ className?: string;
+ children: React.ReactNode;
+}) {
+ return (
+ <span
+ className={cn(
+ "inline-flex shrink-0 items-center gap-[5px] rounded-full bg-card px-1.5 font-medium text-[13px]/[22px] tracking-[-0.225px]",
+ className,
+ )}
+ >
+ {children}
+ </span>
+ );
+}
diff --git a/apps/app/components/landing/closing-cta.tsx b/apps/app/components/landing/closing-cta.tsx
new file mode 100644
index 00000000..1bd4f220
--- /dev/null
+++ b/apps/app/components/landing/closing-cta.tsx
@@ -0,0 +1,19 @@
+import { GitHubStarButton } from "./github-star-button";
+import { SetupPromptButton } from "./setup-prompt-button";
+
+export function ClosingCta() {
+ return (
+ <section className="relative flex w-full shrink-0 flex-col items-center gap-8 px-6 py-10">
+ <div className="relative flex w-[970px] max-w-full shrink-0 flex-col items-center justify-center gap-7 bg-background px-6 py-[72px] md:h-[482px] md:px-12">
+ <h2 className="text-balance text-center font-semibold text-4xl/[42px] tracking-tight md:text-[44px]/[50px]">
+ Fork it. It's yours.
+ </h2>
+
+ <div className="flex flex-wrap items-center justify-center gap-3">
+ <SetupPromptButton />
+ <GitHubStarButton />
+ </div>
+ </div>
+ </section>
+ );
+}
diff --git a/apps/app/components/landing/github-star-button.tsx b/apps/app/components/landing/github-star-button.tsx
new file mode 100644
index 00000000..35cc67f3
--- /dev/null
+++ b/apps/app/components/landing/github-star-button.tsx
@@ -0,0 +1,38 @@
+import GitHubLogo from "@crm/ui/components/brand-logos/github";
+import { Button } from "@crm/ui/components/button";
+import { REPO_STARS, REPO_URL } from "./links";
+
+export function GitHubStarButton() {
+ return (
+ <Button variant="outline-ghost" size="xl" asChild>
+ <a href={REPO_URL} target="_blank" rel="noreferrer">
+ <GitHubLogo data-icon="inline-start" className="size-[15px]" />
+ Star on GitHub
+ <span aria-hidden="true" className="h-4 w-px shrink-0 bg-border" />
+ <span
+ data-icon="inline-end"
+ className="flex items-center gap-[5px] font-mono font-normal text-[13px] text-muted-foreground"
+ >
+ <StarIcon className="size-[13px] shrink-0 text-[#E3B341]" />
+ {REPO_STARS}
+ </span>
+ </a>
+ </Button>
+ );
+}
+
+function StarIcon(props: React.SVGProps<SVGSVGElement>) {
+ return (
+ <svg
+ viewBox="0 0 16 16"
+ xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
+ {...props}
+ >
+ <path
+ d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Z"
+ fill="currentColor"
+ />
+ </svg>
+ );
+}
diff --git a/apps/app/components/landing/hero.tsx b/apps/app/components/landing/hero.tsx
new file mode 100644
index 00000000..f086c820
--- /dev/null
+++ b/apps/app/components/landing/hero.tsx
@@ -0,0 +1,25 @@
+import { GitHubStarButton } from "./github-star-button";
+import { SetupPromptButton } from "./setup-prompt-button";
+
+export function Hero() {
+ return (
+ <section className="relative flex w-full shrink-0 flex-col items-center px-6 pt-20 pb-10 md:pt-30">
+ <div className="relative flex w-full max-w-6xl flex-col items-center gap-7">
+ <h1 className="max-w-[900px] text-balance text-center font-semibold text-5xl/[52px] tracking-tight md:text-[72px]/[76px]">
+ The CRM built for Agents
+ </h1>
+
+ <p className="max-w-[640px] text-pretty text-center text-muted-foreground text-lg/[28px] md:text-xl/[30px]">
+ Humans shouldn't be manually moving pipeline. The first agentic CRM
+ experience — durable research agents that read your team's inbox,
+ enrich companies and contacts, and create agentic workflows.
+ </p>
+
+ <div className="flex flex-wrap items-center justify-center gap-3 pt-3">
+ <SetupPromptButton />
+ <GitHubStarButton />
+ </div>
+ </div>
+ </section>
+ );
+}
diff --git a/apps/app/components/landing/landing-footer.tsx b/apps/app/components/landing/landing-footer.tsx
new file mode 100644
index 00000000..bec4245c
--- /dev/null
+++ b/apps/app/components/landing/landing-footer.tsx
@@ -0,0 +1,59 @@
+import { Link } from "@crm/ui/components/link";
+import Logo from "@crm/ui/components/logo";
+import { REPO_LINKS } from "./links";
+import { Wordmark } from "./wordmark";
+
+export function LandingFooter() {
+ return (
+ <footer className="relative flex w-full shrink-0 flex-col items-center">
+ <div className="flex w-full max-w-6xl flex-col items-start justify-between gap-12 px-6 py-16 sm:flex-row sm:gap-16">
+ <div className="flex w-[280px] max-w-full shrink-0 flex-col gap-[14px]">
+ <Wordmark />
+ <p className="text-[13px]/[21px] text-muted-foreground">
+ The open source agentic CRM.
+ </p>
+ </div>
+
+ <nav className="flex w-[180px] shrink-0 flex-col items-start gap-[14px]">
+ <p className="font-mono text-[11px]/4 text-muted-foreground tracking-widest">
+ PROJECT
+ </p>
+ {REPO_LINKS.map((link) => (
+ <Link
+ key={link.label}
+ variant="quiet"
+ href={link.href}
+ target="_blank"
+ rel="noreferrer"
+ className="text-[13px]/6"
+ >
+ {link.label}
+ </Link>
+ ))}
+ </nav>
+ </div>
+
+ <div className="flex w-full justify-center border-border border-t">
+ <div className="flex w-full max-w-6xl flex-wrap items-center gap-x-4 gap-y-2 px-6 py-4 md:h-[60px] md:py-0">
+ <p className="flex flex-1 items-center gap-[5px] pt-[2px] text-[13px]/[21px] text-muted-foreground">
+ Built with love by
+ <Link
+ href="https://trycomp.ai"
+ target="_blank"
+ rel="noreferrer"
+ className="flex items-center gap-[5px] font-medium text-foreground"
+ >
+ <Logo className="size-[13px] shrink-0" />
+ Comp AI
+ </Link>
+ </p>
+
+ <p className="flex items-center gap-2 text-[13px]/5 text-muted-foreground">
+ <span className="size-1.5 shrink-0 rounded-full bg-ring" />
+ All systems normal
+ </p>
+ </div>
+ </div>
+ </footer>
+ );
+}
diff --git a/apps/app/components/landing/landing-nav.tsx b/apps/app/components/landing/landing-nav.tsx
new file mode 100644
index 00000000..0a898b99
--- /dev/null
+++ b/apps/app/components/landing/landing-nav.tsx
@@ -0,0 +1,14 @@
+import Link from "next/link";
+import { Wordmark } from "./wordmark";
+
+export function LandingNav() {
+ return (
+ <header className="relative flex h-16 w-full shrink-0 items-center justify-center border-border border-b">
+ <nav className="flex w-full max-w-6xl items-center gap-8 px-6">
+ <Link href="/" aria-label="Homepage">
+ <Wordmark />
+ </Link>
+ </nav>
+ </header>
+ );
+}
diff --git a/apps/app/components/landing/links.ts b/apps/app/components/landing/links.ts
new file mode 100644
index 00000000..b0288bfb
--- /dev/null
+++ b/apps/app/components/landing/links.ts
@@ -0,0 +1,10 @@
+export const REPO_URL = "https://github.com/trycompai/crm";
+export const REPO_STARS = "4.4k";
+
+export const REPO_LINKS = [
+ { label: "GitHub", href: REPO_URL },
+ { label: "Issues", href: `${REPO_URL}/issues` },
+ { label: "Pull requests", href: `${REPO_URL}/pulls` },
+ { label: "Contributing", href: `${REPO_URL}/blob/main/CONTRIBUTING.md` },
+ { label: "License", href: `${REPO_URL}/blob/main/LICENSE` },
+] as const;
diff --git a/apps/app/components/landing/product-shot/companies-page.tsx b/apps/app/components/landing/product-shot/companies-page.tsx
new file mode 100644
index 00000000..96d5aab5
--- /dev/null
+++ b/apps/app/components/landing/product-shot/companies-page.tsx
@@ -0,0 +1,213 @@
+import Add from "@carbon/icons-react/es/Add";
+import ArrowsVertical from "@carbon/icons-react/es/ArrowsVertical";
+import ChevronDown from "@carbon/icons-react/es/ChevronDown";
+import ChevronLeft from "@carbon/icons-react/es/ChevronLeft";
+import ChevronRight from "@carbon/icons-react/es/ChevronRight";
+import Column from "@carbon/icons-react/es/Column";
+import Search from "@carbon/icons-react/es/Search";
+import Image from "next/image";
+import { COMPANY_COLUMNS, MOCK_COMPANIES } from "./companies";
+import { CompanyMark } from "./company-mark";
+
+const FACETS = ["Owner", "Industry", "Enrichment"];
+
+export function CompaniesPage() {
+ return (
+ <div className="flex min-w-0 grow flex-col overflow-clip p-6">
+ <div className="mx-auto flex w-full min-w-0 max-w-[1280px] grow flex-col gap-6">
+ <PageHeader />
+
+ <div className="flex min-h-0 grow flex-col gap-3">
+ <Toolbar />
+ <CompaniesTable />
+ <Pagination />
+ </div>
+ </div>
+ </div>
+ );
+}
+
+/**
+ * What the list looks like on a phone: no columns, no facet bar — the name and
+ * the domain, which is all a narrow row has space to say.
+ */
+export function CompaniesList() {
+ return (
+ <div className="flex min-h-0 min-w-0 grow flex-col gap-3 p-4">
+ <p className="font-medium text-xl/[120%] tracking-[-0.5px]">Companies</p>
+
+ <div className="flex h-8 shrink-0 items-center rounded-md border border-border bg-muted px-2">
+ <Search size={14} className="shrink-0 text-muted-foreground" />
+ <span className="truncate pl-1.5 text-muted-foreground text-xs">
+ Search companies…
+ </span>
+ </div>
+
+ <div className="flex flex-col">
+ {MOCK_COMPANIES.slice(0, 6).map((company) => (
+ <div
+ key={company.name}
+ className="flex h-12 shrink-0 items-center gap-2.5 border-border border-b"
+ >
+ <CompanyMark company={company} size={20} glyph={12} />
+ <span className="min-w-0 grow truncate font-medium text-xs">
+ {company.name}
+ </span>
+ <span className="shrink-0 font-mono text-[11px] text-muted-foreground">
+ {company.domain}
+ </span>
+ </div>
+ ))}
+ </div>
+ </div>
+ );
+}
+
+function PageHeader() {
+ return (
+ <div className="grid grid-cols-[minmax(0,1fr)_auto] items-center gap-x-4 gap-y-2">
+ <p className="col-start-1 row-start-1 self-center font-medium text-3xl/[120%] tracking-[-0.75px]">
+ Companies
+ </p>
+ <p className="col-start-1 -col-end-1 row-start-2 text-muted-foreground text-sm/[142%]">
+ Every account in the pipeline.
+ </p>
+ <span className="col-start-2 row-start-1 flex h-8 shrink-0 items-center justify-self-end rounded-md bg-primary pr-2.5 pl-2 text-primary-foreground shadow-2xs">
+ <Add size={16} />
+ <span className="pl-1.5 font-medium text-xs/[133%]">New company</span>
+ </span>
+ </div>
+ );
+}
+
+function Toolbar() {
+ return (
+ <div className="flex flex-wrap items-center justify-between gap-2">
+ <div className="flex h-8 w-64 shrink-0 items-center rounded-md border border-border bg-muted pl-2">
+ <Search size={16} className="shrink-0 text-muted-foreground" />
+ <span className="truncate pl-1.5 text-muted-foreground text-xs">
+ Search companies by name or domain…
+ </span>
+ </div>
+
+ <div className="ml-auto flex flex-wrap items-center gap-2">
+ {FACETS.map((facet) => (
+ <span
+ key={facet}
+ className="flex h-7 shrink-0 items-center gap-1 rounded-md border border-border bg-muted pr-1.5 pl-2.5 font-medium text-xs/[133%] shadow-2xs"
+ >
+ {facet}
+ <ChevronDown size={14} className="shrink-0 opacity-60" />
+ </span>
+ ))}
+ <span className="flex h-7 shrink-0 items-center gap-1 rounded-md border border-border bg-muted pr-2.5 pl-1.5 font-medium text-xs/[133%] shadow-2xs">
+ <ArrowsVertical size={14} className="shrink-0" />
+ Sort
+ </span>
+ <span className="flex h-7 shrink-0 items-center gap-1 rounded-md border border-border bg-muted pr-2.5 pl-1.5 font-medium text-xs/[133%] shadow-2xs">
+ <Column size={14} className="shrink-0" />
+ Columns
+ <span className="opacity-60">(7)</span>
+ </span>
+ </div>
+ </div>
+ );
+}
+
+function CompaniesTable() {
+ return (
+ <div className="min-h-0 w-full grow overflow-clip rounded-lg border border-border bg-card">
+ <table className="w-full table-fixed border-collapse">
+ <thead className="bg-muted">
+ <tr>
+ {COMPANY_COLUMNS.map((column, index) => (
+ <th
+ key={column.label}
+ style={{ width: column.width }}
+ className={`h-11 overflow-clip pr-3 text-left font-normal ${index === 0 ? "pl-4" : "pl-3"}`}
+ >
+ <span className="-ml-2 inline-flex h-6 items-center gap-1 rounded-sm px-2 text-muted-foreground text-xs/[133%]">
+ {column.label}
+ <ArrowsVertical size={12} className="shrink-0 opacity-40" />
+ </span>
+ </th>
+ ))}
+ </tr>
+ </thead>
+ <tbody>
+ {MOCK_COMPANIES.map((company) => (
+ <tr key={company.name} className="border-border border-b">
+ <td className="overflow-clip p-3">
+ <span className="flex items-center gap-2.5">
+ <CompanyMark company={company} size={20} glyph={12} />
+ <span className="line-clamp-1 font-medium text-xs/[133%]">
+ {company.name}
+ </span>
+ </span>
+ </td>
+ <td className="overflow-clip p-3">
+ <span className="line-clamp-1 text-muted-foreground text-xs/[133%]">
+ {company.domain}
+ </span>
+ </td>
+ <td className="overflow-clip p-3">
+ <span className="line-clamp-1 text-xs/[133%]">
+ {company.industry}
+ </span>
+ </td>
+ <td className="overflow-clip p-3">
+ {company.owner ? (
+ <span className="flex items-center gap-2">
+ <Image
+ src={company.owner.avatar}
+ alt=""
+ width={24}
+ height={24}
+ className="size-6 shrink-0 rounded-full object-cover"
+ />
+ <span className="line-clamp-1 text-xs/[133%]">
+ {company.owner.name}
+ </span>
+ </span>
+ ) : null}
+ </td>
+ <td className="overflow-clip p-3 text-right text-xs/[133%] tabular-nums">
+ {company.contacts}
+ </td>
+ <td className="overflow-clip p-3 text-right text-xs/[133%] tabular-nums">
+ {company.deals}
+ </td>
+ <td className="overflow-clip py-3 pr-4 pl-3 text-right text-muted-foreground text-xs/[133%]">
+ {company.lastActivity}
+ </td>
+ </tr>
+ ))}
+ </tbody>
+ </table>
+ </div>
+ );
+}
+
+function Pagination() {
+ return (
+ <div className="flex shrink-0 flex-wrap items-center justify-between gap-3">
+ <span className="text-muted-foreground text-xs/[133%] tabular-nums">
+ Showing 1–25 of 48
+ </span>
+
+ <div className="flex items-center gap-2">
+ <span className="flex h-7 shrink-0 items-center gap-1 rounded-md pr-2.5 pl-1.5 font-medium text-xs/[133%] opacity-50">
+ <ChevronLeft size={14} className="shrink-0" />
+ Previous
+ </span>
+ <span className="text-muted-foreground text-xs/[133%] tabular-nums">
+ 1 / 2
+ </span>
+ <span className="flex h-7 shrink-0 items-center gap-1 rounded-md bg-foreground pr-1.5 pl-2.5 font-medium text-background text-xs/[133%] shadow-2xs">
+ Next
+ <ChevronRight size={14} className="shrink-0" />
+ </span>
+ </div>
+ </div>
+ );
+}
diff --git a/apps/app/components/landing/product-shot/companies.ts b/apps/app/components/landing/product-shot/companies.ts
new file mode 100644
index 00000000..fdc59853
--- /dev/null
+++ b/apps/app/components/landing/product-shot/companies.ts
@@ -0,0 +1,72 @@
+export type MockCompany = {
+ name: string;
+ domain: string;
+ logo?: { src: string; invert?: boolean };
+ industry?: string;
+ owner?: { name: string; avatar: string };
+ contacts?: string;
+ deals?: string;
+ lastActivity?: string;
+};
+
+export const OWNER = {
+ name: "Patrick Onusko",
+ avatar: "/landing/avatar-patrick.jpg",
+};
+
+export const MOCK_COMPANIES: MockCompany[] = [
+ {
+ name: "Comp AI",
+ domain: "trycomp.ai",
+ industry: "Retail & E-commerce",
+ owner: OWNER,
+ contacts: "1",
+ deals: "0",
+ lastActivity: "2h ago",
+ },
+ {
+ name: "Tristar Fulfillment",
+ domain: "tristarfulfillment.com",
+ logo: { src: "/landing/logos/tristar-fulfillment.webp", invert: true },
+ },
+ {
+ name: "AuditBot",
+ domain: "auditbot.co",
+ logo: { src: "/landing/logos/auditbot.webp" },
+ },
+ {
+ name: "Tawkeed",
+ domain: "tawkeed.ai",
+ logo: { src: "/landing/logos/tawkeed.webp" },
+ },
+ {
+ name: "Piku",
+ domain: "piku.com",
+ logo: { src: "/landing/logos/piku.webp" },
+ },
+ {
+ name: "Roo Capital",
+ domain: "roocapital.com",
+ logo: { src: "/landing/logos/roo-capital.webp" },
+ },
+ {
+ name: "Social Good Software",
+ domain: "socialgoodsoftware.com",
+ logo: { src: "/landing/logos/social-good-software.webp" },
+ },
+ {
+ name: "Ridgetop",
+ domain: "ridgetoptech.com",
+ logo: { src: "/landing/logos/ridgetop.webp" },
+ },
+];
+
+export const COMPANY_COLUMNS = [
+ { label: "Company", width: "26%" },
+ { label: "Domain", width: "16%" },
+ { label: "Industry", width: "16%" },
+ { label: "Owner", width: "16%" },
+ { label: "Contacts", width: "9%" },
+ { label: "Deals", width: "9%" },
+ { label: "Last activity", width: "12%" },
+] as const;
diff --git a/apps/app/components/landing/product-shot/company-mark.tsx b/apps/app/components/landing/product-shot/company-mark.tsx
new file mode 100644
index 00000000..6004c501
--- /dev/null
+++ b/apps/app/components/landing/product-shot/company-mark.tsx
@@ -0,0 +1,51 @@
+import Logo from "@crm/ui/components/logo";
+import { cn } from "@crm/ui/lib/utils";
+import Image from "next/image";
+import type { MockCompany } from "./companies";
+
+/**
+ * The square a company is drawn in inside the mock. Our own record renders the
+ * product mark on a light chip; everyone else renders the artwork the agent
+ * mirrored for them.
+ */
+export function CompanyMark({
+ company,
+ size,
+ glyph,
+}: {
+ company: Pick<MockCompany, "name" | "logo">;
+ size: number;
+ glyph: number;
+}) {
+ if (!company.logo) {
+ return (
+ <span
+ className="flex shrink-0 items-center justify-center bg-foreground"
+ style={{ width: size, height: size }}
+ >
+ <Logo
+ className="shrink-0 text-background"
+ style={{ width: glyph, height: glyph }}
+ />
+ </span>
+ );
+ }
+
+ return (
+ <span
+ className="flex shrink-0 items-center justify-center overflow-clip"
+ style={{ width: size, height: size }}
+ >
+ <Image
+ src={company.logo.src}
+ alt=""
+ width={size}
+ height={size}
+ className={cn(
+ "size-full object-contain",
+ company.logo.invert && "invert",
+ )}
+ />
+ </span>
+ );
+}
diff --git a/apps/app/components/landing/product-shot/company-sheet.tsx b/apps/app/components/landing/product-shot/company-sheet.tsx
new file mode 100644
index 00000000..46305bd6
--- /dev/null
+++ b/apps/app/components/landing/product-shot/company-sheet.tsx
@@ -0,0 +1,270 @@
+import Close from "@carbon/icons-react/es/Close";
+import MagicWand from "@carbon/icons-react/es/MagicWand";
+import OverflowMenuVertical from "@carbon/icons-react/es/OverflowMenuVertical";
+import Renew from "@carbon/icons-react/es/Renew";
+import Send from "@carbon/icons-react/es/Send";
+import Logo from "@crm/ui/components/logo";
+import { cn } from "@crm/ui/lib/utils";
+import Image from "next/image";
+import { OWNER } from "./companies";
+import { CompanyMark } from "./company-mark";
+
+const TABS = [
+ { label: "Overview" },
+ { label: "Contacts", count: "1" },
+ { label: "Deals" },
+ { label: "Activity" },
+ { label: "Agent", active: true },
+];
+
+const STATS = [
+ { label: "Open pipeline", value: "$0" },
+ { label: "Open deals", value: "0" },
+ { label: "Next close", value: "—", muted: true },
+];
+
+const QUESTIONS = [
+ "What do they do?",
+ "Who do we know here?",
+ "What has changed recently?",
+];
+
+/**
+ * The record panel, as the app draws it on a wide screen: a sheet pinned to the
+ * right of the list. Its mobile twin is `CompanyDrawer`.
+ */
+export function CompanySheet() {
+ return (
+ <div className="absolute inset-y-0 right-[1.5px] flex w-[814px] flex-col border-border border-l bg-card shadow-lg">
+ <SheetHeader />
+ <SheetStats />
+ <SheetTabs />
+ <AgentEmptyState />
+ <SheetComposer />
+ </div>
+ );
+}
+
+export function SheetHeader({ compact }: { compact?: boolean }) {
+ return (
+ <div
+ className={cn(
+ "flex shrink-0 flex-col border-border border-b py-3",
+ compact ? "px-4" : "px-5",
+ )}
+ >
+ <div className="flex items-start gap-3">
+ <CompanyMark company={{ name: "Comp AI" }} size={32} glyph={18} />
+
+ <div className="min-w-0 grow pt-0.5">
+ <p className="mb-0.5 font-medium text-lg/[125%] tracking-[-0.45px]">
+ Comp AI
+ </p>
+ <p className="text-muted-foreground text-xs/[162.5%]">
+ trycomp.ai · Compliance
+ </p>
+ </div>
+
+ <div className="flex shrink-0 items-center gap-1">
+ {compact ? null : (
+ <span className="flex h-7 items-center gap-1 rounded-md border border-border bg-muted pr-2.5 pl-1.5 font-medium text-xs/[133%] shadow-2xs">
+ <Renew size={14} className="shrink-0" />
+ Re-enrich
+ </span>
+ )}
+ <span className="flex h-7 items-center gap-1 rounded-md bg-primary pr-2.5 pl-1.5 font-medium text-primary-foreground text-xs/[133%] shadow-2xs">
+ <MagicWand size={14} className="shrink-0" />
+ Research
+ </span>
+ {compact ? null : (
+ <>
+ <span className="flex size-7 items-center justify-center rounded-md">
+ <OverflowMenuVertical size={16} />
+ </span>
+ <span className="mx-1 h-5 w-px shrink-0 bg-border" />
+ <span className="flex size-7 items-center justify-center rounded-md">
+ <Close size={16} />
+ </span>
+ </>
+ )}
+ </div>
+ </div>
+ </div>
+ );
+}
+
+export function SheetStats({ compact }: { compact?: boolean }) {
+ if (compact) {
+ return (
+ <div className="grid shrink-0 grid-cols-2 border-border border-b bg-muted/40">
+ <Stat label="Open pipeline" value="$0" className="border-r" />
+ <Stat label="Open deals" value="0" />
+ </div>
+ );
+ }
+
+ return (
+ <div className="flex shrink-0 border-border border-b bg-muted/40">
+ {STATS.map((stat) => (
+ <Stat
+ key={stat.label}
+ label={stat.label}
+ value={stat.value}
+ muted={stat.muted}
+ className="grow basis-0 border-r px-5"
+ />
+ ))}
+
+ <div className="flex min-w-0 grow basis-0 flex-col gap-1 px-5 py-2.5">
+ <p className="line-clamp-1 text-muted-foreground text-xs/5">Owner</p>
+ <div className="flex min-w-0 items-center gap-2">
+ <Image
+ src={OWNER.avatar}
+ alt=""
+ width={24}
+ height={24}
+ className="size-6 shrink-0 rounded-full object-cover"
+ />
+ <span className="line-clamp-1 font-medium text-sm/5">
+ {OWNER.name}
+ </span>
+ </div>
+ </div>
+ </div>
+ );
+}
+
+function Stat({
+ label,
+ value,
+ muted,
+ className,
+}: {
+ label: string;
+ value: string;
+ muted?: boolean;
+ className?: string;
+}) {
+ return (
+ <div
+ className={cn(
+ "flex min-w-0 flex-col gap-1 border-border px-4 py-2.5",
+ className,
+ )}
+ >
+ <p className="line-clamp-1 text-muted-foreground text-xs/5">{label}</p>
+ <p
+ className={cn(
+ "truncate font-medium text-sm/5",
+ muted ? "text-muted-foreground" : "tabular-nums",
+ )}
+ >
+ {value}
+ </p>
+ </div>
+ );
+}
+
+export function SheetTabs({ compact }: { compact?: boolean }) {
+ return (
+ <div
+ className={cn(
+ "flex h-8 shrink-0 items-center overflow-clip border-border border-b py-[3px]",
+ compact ? "gap-4 px-4" : "gap-6 px-5",
+ )}
+ >
+ {TABS.map((tab) => (
+ <span
+ key={tab.label}
+ className={cn(
+ "relative flex h-[calc(100%-1px)] shrink-0 items-center gap-1.5 rounded-sm py-0.5 font-medium text-xs/[133%]",
+ tab.active ? "text-foreground" : "text-muted-foreground",
+ )}
+ >
+ {tab.label}
+ {tab.count ? <span className="tabular-nums">{tab.count}</span> : null}
+ {tab.active ? (
+ <span className="-bottom-[5px] absolute inset-x-0 h-0.5 bg-foreground" />
+ ) : null}
+ </span>
+ ))}
+ </div>
+ );
+}
+
+export function AgentEmptyState({ compact }: { compact?: boolean }) {
+ return (
+ <div
+ className={cn(
+ "flex min-h-0 w-full grow flex-col items-center justify-center overflow-clip px-6",
+ compact ? "gap-3 py-4" : "gap-4 py-12",
+ )}
+ >
+ <div className="flex max-w-xl flex-col items-center gap-2">
+ <span className="flex shrink-0 items-center justify-center pb-2">
+ <span className="flex size-8 shrink-0 items-center justify-center bg-foreground">
+ <Logo className="size-4 shrink-0 text-background" />
+ </span>
+ </span>
+ <p className="text-center font-medium text-sm/5">
+ Ask about this company
+ </p>
+ {compact ? null : (
+ <p className="text-center text-muted-foreground text-xs/[19px]">
+ It reads their site and our own history with them, and shows its
+ working.
+ </p>
+ )}
+ </div>
+
+ <div className="flex max-w-2xl flex-wrap items-center justify-center gap-2.5">
+ {QUESTIONS.map((question) => (
+ <span
+ key={question}
+ className="flex h-7 shrink-0 items-center rounded-md border border-border bg-muted px-2.5 font-medium text-xs"
+ >
+ {question}
+ </span>
+ ))}
+ </div>
+ </div>
+ );
+}
+
+export function SheetComposer({ compact }: { compact?: boolean }) {
+ return (
+ <div
+ className={cn(
+ "flex w-full shrink-0 items-center gap-2 border-border border-t py-3",
+ compact ? "px-4" : "px-5",
+ )}
+ >
+ <div className="flex h-8 min-w-0 grow items-center rounded-md border border-border px-3">
+ <span className="text-muted-foreground text-xs">
+ What do they sell?
+ </span>
+ </div>
+ <span className="flex size-7 shrink-0 items-center justify-center rounded-md border border-border bg-muted">
+ <Send size={14} />
+ </span>
+ </div>
+ );
+}
+
+/**
+ * The same record on a phone. The app swaps its sheet for a bottom drawer at
+ * this width (`components/responsive-sheet.tsx`), so the shot does too —
+ * a clipped desktop sheet would be a picture of a product that does not exist.
+ */
+export function CompanyDrawer() {
+ return (
+ <div className="absolute inset-x-0 bottom-0 flex h-[440px] flex-col overflow-clip rounded-t-xl border-border border-t bg-card shadow-lg">
+ <span className="mx-auto mt-2 h-1 w-10 shrink-0 rounded-full bg-border" />
+ <SheetHeader compact />
+ <SheetStats compact />
+ <SheetTabs compact />
+ <AgentEmptyState compact />
+ <SheetComposer compact />
+ </div>
+ );
+}
diff --git a/apps/app/components/landing/product-shot/product-shot.tsx b/apps/app/components/landing/product-shot/product-shot.tsx
new file mode 100644
index 00000000..f8446f3b
--- /dev/null
+++ b/apps/app/components/landing/product-shot/product-shot.tsx
@@ -0,0 +1,94 @@
+import Building from "@carbon/icons-react/es/Building";
+import Dashboard from "@carbon/icons-react/es/Dashboard";
+import Group from "@carbon/icons-react/es/Group";
+import Partnership from "@carbon/icons-react/es/Partnership";
+import Settings from "@carbon/icons-react/es/Settings";
+import Logo from "@crm/ui/components/logo";
+import Image from "next/image";
+import { BuiltWith } from "../built-with";
+import { CompaniesList, CompaniesPage } from "./companies-page";
+import { CompanyDrawer, CompanySheet } from "./company-sheet";
+
+const RAIL = [
+ { icon: Dashboard, label: "Overview", active: false },
+ { icon: Building, label: "Companies", active: true },
+ { icon: Group, label: "Contacts", active: false },
+ { icon: Partnership, label: "Deals", active: false },
+ { icon: Settings, label: "Settings", active: false },
+];
+
+export function ProductShot() {
+ return (
+ <section className="relative flex w-full shrink-0 flex-col items-center px-6 pt-20">
+ <div
+ role="img"
+ aria-label="The companies list with an account open on its Agent tab"
+ className="w-[1183px] max-w-full select-none overflow-clip rounded-xl border border-border bg-background"
+ >
+ <div className="relative hidden h-[690px] w-[1182px] shrink-0 flex-col overflow-clip lg:flex">
+ <div className="flex h-full w-[1392px] shrink-0 flex-col">
+ <AppHeader />
+ <div className="flex min-h-0 grow">
+ <AppRail />
+ <CompaniesPage />
+ </div>
+ </div>
+
+ <div className="absolute inset-y-0 right-[211.5px] left-0 bg-black/55 backdrop-blur-[4px]" />
+ <CompanySheet />
+ </div>
+
+ <div className="relative flex h-[600px] w-full flex-col overflow-clip lg:hidden">
+ <AppHeader />
+ <CompaniesList />
+
+ <div className="absolute inset-0 bg-black/55 backdrop-blur-[3px]" />
+ <CompanyDrawer />
+ </div>
+ </div>
+
+ <BuiltWith />
+ </section>
+ );
+}
+
+function AppHeader() {
+ return (
+ <div className="flex h-12 shrink-0 items-center gap-2 border-border border-b px-3">
+ <div className="flex shrink-0 items-center gap-1">
+ <span className="flex size-8 shrink-0 items-center justify-center">
+ <Logo className="size-5 shrink-0 text-foreground" />
+ </span>
+ <span className="mx-1 h-5 w-px shrink-0" />
+ <span className="line-clamp-1 font-medium text-sm/[142%]">
+ Comp AI CRM
+ </span>
+ </div>
+
+ <span className="ml-auto flex size-8 shrink-0 items-center justify-center rounded-md">
+ <Image
+ src="/landing/avatar-user.png"
+ alt=""
+ width={28}
+ height={28}
+ className="size-7 rounded-full object-cover"
+ />
+ </span>
+ </div>
+ );
+}
+
+function AppRail() {
+ return (
+ <div className="flex w-14 shrink-0 flex-col items-center gap-1 border-border border-r py-3">
+ {RAIL.map(({ icon: Icon, label, active }) => (
+ <span
+ key={label}
+ className={`flex size-8 shrink-0 items-center justify-center rounded-md ${active ? "bg-muted text-foreground" : "text-muted-foreground"}`}
+ >
+ <Icon size={16} aria-label={label} />
+ </span>
+ ))}
+ </div>
+ );
+}
diff --git a/apps/app/components/landing/section-heading.tsx b/apps/app/components/landing/section-heading.tsx
new file mode 100644
index 00000000..812ae7c9
--- /dev/null
+++ b/apps/app/components/landing/section-heading.tsx
@@ -0,0 +1,18 @@
+export function SectionHeading({
+ title,
+ lede,
+}: {
+ title: string;
+ lede?: string;
+}) {
+ return (
+ <div className="flex max-w-3xl flex-col gap-[18px]">
+ <h2 className="text-balance font-semibold text-4xl/[42px] tracking-tight md:text-[44px]/[50px]">
+ {title}
+ </h2>
+ {lede ? (
+ <p className="text-muted-foreground text-lg/[29px]">{lede}</p>
+ ) : null}
+ </div>
+ );
+}
diff --git a/apps/app/components/landing/send-arrow.tsx b/apps/app/components/landing/send-arrow.tsx
new file mode 100644
index 00000000..62d66c65
--- /dev/null
+++ b/apps/app/components/landing/send-arrow.tsx
@@ -0,0 +1,21 @@
+import type * as React from "react";
+
+export function SendArrow(props: React.SVGProps<SVGSVGElement>) {
+ return (
+ <svg
+ viewBox="0 0 16 16"
+ xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
+ {...props}
+ >
+ <path
+ d="M8 13V3M3.5 7.5 8 3l4.5 4.5"
+ fill="none"
+ stroke="currentColor"
+ strokeWidth="1.6"
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ />
+ </svg>
+ );
+}
diff --git a/apps/app/components/landing/setup-prompt-button.tsx b/apps/app/components/landing/setup-prompt-button.tsx
new file mode 100644
index 00000000..974c94f1
--- /dev/null
+++ b/apps/app/components/landing/setup-prompt-button.tsx
@@ -0,0 +1,48 @@
+"use client";
+
+import Checkmark from "@carbon/icons-react/es/Checkmark";
+import Copy from "@carbon/icons-react/es/Copy";
+import ClaudeLogo from "@crm/ui/components/brand-logos/claude";
+import { Button } from "@crm/ui/components/button";
+import { useState } from "react";
+
+const SETUP_PROMPT =
+ "Set up trycompai/crm — install the dependencies, start Postgres, create my .env, and tell me which keys I still need.";
+
+/**
+ * The page's leading action: hand the whole setup to a coding agent. It stands
+ * where a "Get started" would, because on a repo you fork rather than sign up
+ * for, taking the prompt is what getting started means.
+ */
+export function SetupPromptButton() {
+ const [copied, setCopied] = useState(false);
+
+ async function copy() {
+ await navigator.clipboard.writeText(SETUP_PROMPT);
+ setCopied(true);
+ setTimeout(() => setCopied(false), 2000);
+ }
+
+ return (
+ <Button
+ variant="outline"
+ size="xl"
+ onClick={copy}
+ aria-label="Copy the setup prompt"
+ >
+ <ClaudeLogo data-icon="inline-start" className="size-4" />
+ {copied ? "Copied to clipboard" : "Copy the setup prompt"}
+ {copied ? (
+ <Checkmark
+ data-icon="inline-end"
+ className="ml-1.5 size-3.5 text-primary"
+ />
+ ) : (
+ <Copy
+ data-icon="inline-end"
+ className="ml-1.5 size-3.5 text-muted-foreground"
+ />
+ )}
+ </Button>
+ );
+}
diff --git a/apps/app/components/landing/wordmark.tsx b/apps/app/components/landing/wordmark.tsx
new file mode 100644
index 00000000..175ed3ee
--- /dev/null
+++ b/apps/app/components/landing/wordmark.tsx
@@ -0,0 +1,18 @@
+import Logo from "@crm/ui/components/logo";
+import { cn } from "@crm/ui/lib/utils";
+
+export function Wordmark({ className }: { className?: string }) {
+ return (
+ <span
+ className={cn(
+ "flex shrink-0 select-none items-center gap-[9px]",
+ className,
+ )}
+ >
+ <Logo className="size-[18px] shrink-0 text-foreground" />
+ <span className="font-semibold text-[15px]/5 tracking-[-0.01em]">
+ CRM
+ </span>
+ </span>
+ );
+}
diff --git a/apps/app/public/landing/avatar-dan.png b/apps/app/public/landing/avatar-dan.png
new file mode 100644
index 00000000..c6ecafee
Binary files /dev/null and b/apps/app/public/landing/avatar-dan.png differ
diff --git a/apps/app/public/landing/avatar-patrick.jpg b/apps/app/public/landing/avatar-patrick.jpg
new file mode 100644
index 00000000..2e1a2e82
Binary files /dev/null and b/apps/app/public/landing/avatar-patrick.jpg differ
diff --git a/apps/app/public/landing/avatar-user.png b/apps/app/public/landing/avatar-user.png
new file mode 100644
index 00000000..d2639d52
Binary files /dev/null and b/apps/app/public/landing/avatar-user.png differ
diff --git a/apps/app/public/landing/logos/auditbot.webp b/apps/app/public/landing/logos/auditbot.webp
new file mode 100644
index 00000000..e2edf690
Binary files /dev/null and b/apps/app/public/landing/logos/auditbot.webp differ
diff --git a/apps/app/public/landing/logos/piku.webp b/apps/app/public/landing/logos/piku.webp
new file mode 100644
index 00000000..294f4908
Binary files /dev/null and b/apps/app/public/landing/logos/piku.webp differ
diff --git a/apps/app/public/landing/logos/ridgetop.webp b/apps/app/public/landing/logos/ridgetop.webp
new file mode 100644
index 00000000..71267914
Binary files /dev/null and b/apps/app/public/landing/logos/ridgetop.webp differ
diff --git a/apps/app/public/landing/logos/roo-capital.webp b/apps/app/public/landing/logos/roo-capital.webp
new file mode 100644
index 00000000..1680af20
Binary files /dev/null and b/apps/app/public/landing/logos/roo-capital.webp differ
diff --git a/apps/app/public/landing/logos/social-good-software.webp b/apps/app/public/landing/logos/social-good-software.webp
new file mode 100644
index 00000000..37c32fa0
Binary files /dev/null and b/apps/app/public/landing/logos/social-good-software.webp differ
diff --git a/apps/app/public/landing/logos/tawkeed.webp b/apps/app/public/landing/logos/tawkeed.webp
new file mode 100644
index 00000000..bd643666
Binary files /dev/null and b/apps/app/public/landing/logos/tawkeed.webp differ
diff --git a/apps/app/public/landing/logos/tristar-fulfillment.webp b/apps/app/public/landing/logos/tristar-fulfillment.webp
new file mode 100644
index 00000000..05ded123
Binary files /dev/null and b/apps/app/public/landing/logos/tristar-fulfillment.webp differ
diff --git a/packages/ui/src/components/brand-logos/claude.tsx b/packages/ui/src/components/brand-logos/claude.tsx
new file mode 100644
index 00000000..5f3def38
--- /dev/null
+++ b/packages/ui/src/components/brand-logos/claude.tsx
@@ -0,0 +1,17 @@
+import type * as React from "react";
+
+const ClaudeLogo = (props: React.SVGProps<SVGSVGElement>) => (
+ <svg
+ viewBox="-3.529 0 31.059 31.059"
+ xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
+ {...props}
+ >
+ <path
+ d="M1.835 12.169L2.587 12.235L4.25 12.347L6.745 12.521L8.554 12.627L11.236 12.906L11.663 12.906L11.721 12.733L11.575 12.627L11.462 12.521L8.881 10.771L6.087 8.924L4.623 7.859L3.831 7.321L3.432 6.816L3.259 5.712L3.977 4.922L4.943 4.988L5.188 5.055L6.167 5.805L8.255 7.421L10.983 9.429L11.382 9.762L11.543 9.649L11.562 9.569L11.382 9.27L9.899 6.59L8.315 3.864L7.61 2.735L7.423 2.056C7.357 1.777 7.311 1.544 7.311 1.258L8.129 0.148L8.582 0.001L9.673 0.148L10.132 0.546L10.81 2.095L11.909 4.536L13.612 7.853L14.11 8.836L14.377 9.747L14.476 10.027L14.65 10.027L14.65 9.868L14.789 7.999L15.048 5.706L15.302 2.754L15.387 1.923L15.8 0.925L16.618 0.387L17.257 0.692L17.783 1.444L17.71 1.93L17.397 3.957L16.785 7.135L16.386 9.262L16.618 9.262L16.885 8.997L17.963 7.567L19.772 5.307L20.57 4.409L21.502 3.419L22.101 2.947L23.232 2.947L24.063 4.184L23.692 5.46L22.527 6.937L21.562 8.185L20.178 10.048L19.312 11.536L19.393 11.656L19.598 11.635L22.726 10.972L24.416 10.666L26.431 10.319L27.344 10.745L27.443 11.177L27.084 12.061L24.929 12.593L22.4 13.099L18.634 13.989L18.588 14.023L18.641 14.089L20.337 14.248L21.063 14.288L22.839 14.288L26.145 14.534L27.011 15.106L27.53 15.805L27.443 16.337L26.113 17.015L24.317 16.589L20.125 15.592L18.687 15.233L18.488 15.233L18.488 15.352L19.686 16.522L21.881 18.503L24.629 21.057L24.768 21.688L24.416 22.186L24.044 22.133L21.629 20.319L20.697 19.501L18.588 17.726L18.448 17.726L18.448 17.912L18.933 18.624L21.502 22.48L21.635 23.663L21.449 24.049L20.784 24.282L20.053 24.148L18.549 22.041L16.997 19.667L15.747 17.539L15.593 17.626L14.855 25.571L14.51 25.977L13.711 26.282L13.046 25.778L12.693 24.96L13.046 23.343L13.471 21.237L13.818 19.561L14.131 17.48L14.317 16.789L14.303 16.742L14.15 16.761L12.58 18.916L10.191 22.14L8.302 24.161L7.849 24.341L7.065 23.936L7.137 23.211L7.577 22.566L10.191 19.242L11.768 17.181L12.786 15.99L12.78 15.818L12.72 15.818L5.775 20.325L4.536 20.485L4.004 19.986L4.072 19.169L4.323 18.902L6.413 17.467L6.406 17.473L11.575 14.574L11.663 14.322L11.575 14.182L11.323 14.182L10.458 14.129L7.504 14.05L4.943 13.943L2.46 13.81L1.835 13.678L1.249 12.906L1.31 12.521L1.835 12.169Z"
+ fill="#D97757"
+ />
+ </svg>
+);
+
+export default ClaudeLogo;
diff --git a/packages/ui/src/components/brand-logos/eve.tsx b/packages/ui/src/components/brand-logos/eve.tsx
new file mode 100644
index 00000000..ba736c1a
--- /dev/null
+++ b/packages/ui/src/components/brand-logos/eve.tsx
@@ -0,0 +1,17 @@
+import type * as React from "react";
+
+const EveLogo = (props: React.SVGProps<SVGSVGElement>) => (
+ <svg
+ viewBox="-51.934 0 182 58.333"
+ xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
+ {...props}
+ >
+ <path
+ d="M128.962 9.091H74.045L35.695 56.892H23.539L33.263 44.737 69.122-0.001H128.962V9.091ZM-2.634 56.867H-51.66V47.78H-2.634V56.867ZM128.964 47.78V56.867H79.936V47.78H128.964ZM-10.341 32.792H-51.66V23.702H-10.341V32.792ZM128.964 32.792H87.646V23.702H128.964V32.792ZM29.051 9.091H-51.66V-0.001H29.051V9.091Z"
+ fill="currentColor"
+ />
+ </svg>
+);
+
+export default EveLogo;
diff --git a/packages/ui/src/components/brand-logos/github.tsx b/packages/ui/src/components/brand-logos/github.tsx
new file mode 100644
index 00000000..0285bff9
--- /dev/null
+++ b/packages/ui/src/components/brand-logos/github.tsx
@@ -0,0 +1,17 @@
+import type * as React from "react";
+
+const GitHubLogo = (props: React.SVGProps<SVGSVGElement>) => (
+ <svg
+ viewBox="0 0 16 16"
+ xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
+ {...props}
+ >
+ <path
+ d="M8 0C3.58 0 0 3.58 0 8a8 8 0 0 0 5.47 7.59c.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.4 7.4 0 0 1 2-.27c.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"
+ fill="currentColor"
+ />
+ </svg>
+);
+
+export default GitHubLogo;
diff --git a/packages/ui/src/components/brand-logos/nextjs.tsx b/packages/ui/src/components/brand-logos/nextjs.tsx
new file mode 100644
index 00000000..5532430a
--- /dev/null
+++ b/packages/ui/src/components/brand-logos/nextjs.tsx
@@ -0,0 +1,17 @@
+import type * as React from "react";
+
+const NextjsLogo = (props: React.SVGProps<SVGSVGElement>) => (
+ <svg
+ viewBox="0 0 24 24"
+ xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
+ {...props}
+ >
+ <path
+ d="M18.665 21.978C16.758 23.255 14.465 24 12 24 5.377 24 0 18.623 0 12S5.377 0 12 0s12 5.377 12 12c0 3.583-1.574 6.801-4.067 9.001L9.219 7.2H7.2v9.596h1.615V9.251l9.85 12.727Zm-3.332-8.533 1.6 2.061V7.2h-1.6v6.245Z"
+ fill="currentColor"
+ />
+ </svg>
+);
+
+export default NextjsLogo;
diff --git a/packages/ui/src/components/brand-logos/slack.tsx b/packages/ui/src/components/brand-logos/slack.tsx
new file mode 100644
index 00000000..a9e4f9c7
--- /dev/null
+++ b/packages/ui/src/components/brand-logos/slack.tsx
@@ -0,0 +1,31 @@
+import type * as React from "react";
+
+const SlackLogo = (props: React.SVGProps<SVGSVGElement>) => (
+ <svg
+ viewBox="1883.505 992.491 13 12.024"
+ xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
+ {...props}
+ >
+ <g clipRule="evenodd" fillRule="evenodd">
+ <path
+ d="M1887.596 992.974c-0.61 0-1.104 0.493-1.102 1.099 0 0.606 0.494 1.098 1.103 1.098h1.104v-1.098c0-0.606-0.494-1.098-1.105-1.099 0 0 0 0 0 0m0 2.931h-2.94c-0.61 0-1.104 0.493-1.104 1.099-0.001 0.606 0.493 1.098 1.104 1.1h2.94c0.61 0 1.104-0.493 1.104-1.1 0-0.606-0.494-1.098-1.104-1.099z"
+ fill="#36C5F0"
+ />
+ <path
+ d="M1894.584 997.004c0-0.606-0.494-1.098-1.104-1.099-0.61 0-1.104 0.493-1.103 1.099v1.1h1.103c0.61 0 1.104-0.493 1.104-1.1z m-2.942 0v-2.931c0-0.606-0.493-1.098-1.103-1.099-0.61 0-1.104 0.493-1.103 1.099v2.931c-0.001 0.606 0.493 1.098 1.102 1.1 0.61 0 1.104-0.493 1.104-1.1z"
+ fill="#2EB67D"
+ />
+ <path
+ d="M1890.538 1003.965c0.61 0 1.104-0.493 1.104-1.099 0-0.606-0.494-1.098-1.104-1.098h-1.102v1.098c0 0.606 0.494 1.098 1.102 1.099z m0-2.931h2.942c0.61 0 1.104-0.493 1.104-1.099 0.001-0.606-0.493-1.098-1.103-1.1h-2.942c-0.61 0-1.104 0.493-1.103 1.1 0 0.606 0.493 1.098 1.102 1.099z"
+ fill="#ECB22E"
+ />
+ <path
+ d="M1883.552 999.935c0 0.606 0.494 1.098 1.104 1.099 0.61 0 1.104-0.493 1.103-1.099v-1.099h-1.103c-0.61 0-1.104 0.493-1.104 1.099z m2.942 0v2.931c-0.001 0.606 0.493 1.098 1.102 1.099 0.61 0 1.104-0.493 1.104-1.099v-2.93c0.001-0.606-0.493-1.098-1.103-1.1-0.61 0-1.104 0.492-1.103 1.099 0 0 0 0 0 0"
+ fill="#E01E5A"
+ />
+ </g>
+ </svg>
+);
+
+export default SlackLogo;
diff --git a/packages/ui/src/components/brand-logos/stripe.tsx b/packages/ui/src/components/brand-logos/stripe.tsx
new file mode 100644
index 00000000..f9b50697
--- /dev/null
+++ b/packages/ui/src/components/brand-logos/stripe.tsx
@@ -0,0 +1,17 @@
+import type * as React from "react";
+
+const StripeLogo = (props: React.SVGProps<SVGSVGElement>) => (
+ <svg
+ viewBox="0 0 24 24"
+ xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
+ {...props}
+ >
+ <path
+ d="M13.976 9.15c-2.172-.806-3.356-1.426-3.356-2.409 0-.831.683-1.305 1.901-1.305 2.227 0 4.515.858 6.09 1.631l.89-5.494C18.252.975 15.697 0 12.165 0 9.667 0 7.589.654 6.104 1.872 4.56 3.147 3.757 4.992 3.757 7.218c0 4.039 2.467 5.76 6.476 7.219 2.585.92 3.445 1.574 3.445 2.583 0 .98-.84 1.545-2.354 1.545-1.875 0-4.965-.921-6.99-2.109l-.9 5.555C5.175 22.99 8.385 24 11.714 24c2.641 0 4.843-.624 6.328-1.813 1.664-1.305 2.525-3.236 2.525-5.732 0-4.128-2.524-5.851-6.594-7.305h.003z"
+ fill="#635BFF"
+ />
+ </svg>
+);
+
+export default StripeLogo;
diff --git a/packages/ui/src/components/brand-logos/vercel.tsx b/packages/ui/src/components/brand-logos/vercel.tsx
new file mode 100644
index 00000000..53981a11
--- /dev/null
+++ b/packages/ui/src/components/brand-logos/vercel.tsx
@@ -0,0 +1,14 @@
+import type * as React from "react";
+
+const VercelLogo = (props: React.SVGProps<SVGSVGElement>) => (
+ <svg
+ viewBox="0 0 24 24"
+ xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
+ {...props}
+ >
+ <path d="m12 1.608 12 20.784H0Z" fill="currentColor" />
+ </svg>
+);
+
+export default VercelLogo;
diff --git a/packages/ui/src/components/button.tsx b/packages/ui/src/components/button.tsx
index 430d1bf6..3bef6b94 100644
--- a/packages/ui/src/components/button.tsx
+++ b/packages/ui/src/components/button.tsx
@@ -12,6 +12,8 @@ const buttonVariants = cva(
"bg-primary text-primary-foreground shadow-2xs hover:bg-[color-mix(in_oklch,var(--primary),black_12%)] active:bg-[color-mix(in_oklch,var(--primary),black_22%)] active:shadow-none",
outline:
"border-border bg-background shadow-2xs hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:bg-muted dark:hover:bg-accent",
+ "outline-ghost":
+ "border-border hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground",
secondary:
"bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
ghost:
@@ -28,6 +30,7 @@ const buttonVariants = cva(
xs: "h-6 gap-1 rounded-sm px-2 text-xs has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",
sm: "h-7 gap-1 px-2.5 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",
lg: "h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
+ xl: "h-10 gap-2 px-5 text-[15px] has-data-[icon=inline-end]:pr-4 has-data-[icon=inline-start]:pl-4",
icon: "size-8",
"icon-xs": "size-6 rounded-sm [&_svg:not([class*='size-'])]:size-3",
"icon-sm": "size-7",
diff --git a/packages/ui/src/components/link.tsx b/packages/ui/src/components/link.tsx
new file mode 100644
index 00000000..87b35b52
--- /dev/null
+++ b/packages/ui/src/components/link.tsx
@@ -0,0 +1,49 @@
+import { cn } from "@crm/ui/lib/utils";
+import { cva, type VariantProps } from "class-variance-authority";
+import { Slot } from "radix-ui";
+import type * as React from "react";
+
+/**
+ * A text link. Colour is inherited from whatever it sits in, because these
+ * live inside sentences that have already chosen one — the variant only
+ * decides whether the underline is always there or arrives on hover.
+ *
+ * A link shaped like a control is a `Button` with `asChild`, not this.
+ */
+const linkVariants = cva(
+ "rounded-xs underline-offset-4 outline-none transition-colors focus-visible:ring-2 focus-visible:ring-ring/60",
+ {
+ variants: {
+ variant: {
+ inline: "underline hover:text-foreground",
+ quiet: "hover:underline",
+ },
+ },
+ defaultVariants: {
+ variant: "inline",
+ },
+ },
+);
+
+function Link({
+ className,
+ variant,
+ asChild = false,
+ ...props
+}: React.ComponentProps<"a"> &
+ VariantProps<typeof linkVariants> & {
+ asChild?: boolean;
+ }) {
+ const Comp = asChild ? Slot.Root : "a";
+
+ return (
+ <Comp
+ data-slot="link"
+ data-variant={variant}
+ className={cn(linkVariants({ variant, className }))}
+ {...props}
+ />
+ );
+}
+
+export { Link, linkVariants };
diff --git a/skills-lock.json b/skills-lock.json
index aed6bf51..b617311f 100644
--- a/skills-lock.json
+++ b/skills-lock.json
@@ -43,6 +43,12 @@
"skillPath": "prisma-database-setup/SKILL.md",
"computedHash": "6a991a2530a6da7131e3fc71c353e8278702d0146b8b6e1d2fdfc2d3d0a21bd2"
},
+ "seo-audit": {
+ "source": "coreyhaines31/marketingskills",
+ "sourceType": "github",
+ "skillPath": "skills/seo-audit/SKILL.md",
+ "computedHash": "f2dc52130189068981f21e1c0bdc4471ac7cd9b08d8a1320604411aa0f950385"
+ },
"shadcn": {
"source": "shadcn/ui",
"sourceType": "github",