Skip to content

Commit 1a1d77a

Browse files
authored
Merge pull request #10 from barbacane-dev/feat/mcp-landing-page
feat(site): audience nav, /mcp + /platform pages, AI cards in feature grid
2 parents 4686cba + 5e93eec commit 1a1d77a

8 files changed

Lines changed: 1394 additions & 70 deletions

File tree

astro.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ export default defineConfig({
66
integrations: [tailwind(), sitemap()],
77
site: 'https://barbacane.dev',
88
trailingSlash: 'always',
9+
redirects: {
10+
'/mcp/': '/ai/',
11+
},
912
markdown: {
1013
shikiConfig: {
1114
themes: {

src/layouts/Layout.astro

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interface Props {
1515
1616
const {
1717
title,
18-
description = "Barbacane - The spec-driven API gateway built in Rust. Your OpenAPI and AsyncAPI specs become your gateway configuration.",
18+
description = "Barbacane is the open-source AI gateway, both directions. Route LLM calls through OpenAI, Anthropic, or Ollama outbound. Expose your APIs to AI agents as typed MCP tools inbound. Rust-native, spec-first, composed from dispatchers and middlewares.",
1919
type = 'website',
2020
article,
2121
ogImage: customOgImage,
@@ -134,8 +134,9 @@ const structuredData = type === 'article' && article
134134

135135
<!-- Desktop navigation -->
136136
<div class="hidden md:flex items-center gap-8">
137-
<a href="/#features" class="text-foreground-muted hover:text-primary transition-colors">Features</a>
138-
<a href="/#use-cases" class="text-foreground-muted hover:text-primary transition-colors">Use Cases</a>
137+
<a href="/ai/" class="text-foreground-muted hover:text-primary transition-colors">AI teams</a>
138+
<a href="/platform/" class="text-foreground-muted hover:text-primary transition-colors">Platform teams</a>
139+
<a href="https://docs.barbacane.dev" class="text-foreground-muted hover:text-primary transition-colors">Docs</a>
139140
<a href="/blog/" class="text-foreground-muted hover:text-primary transition-colors">Blog</a>
140141
<div class="relative group">
141142
<button class="text-foreground-muted hover:text-primary transition-colors flex items-center gap-1">
@@ -153,8 +154,7 @@ const structuredData = type === 'article' && article
153154
<!-- Desktop actions -->
154155
<div class="hidden md:flex items-center gap-4">
155156
<ThemeToggle />
156-
<a href="https://docs.barbacane.dev" class="btn-secondary">Documentation</a>
157-
<a href="/#get-started" class="btn-primary">Get Started</a>
157+
<a href="/#get-started" class="btn-primary">Get started</a>
158158
</div>
159159

160160
<!-- Mobile: burger button -->
@@ -179,14 +179,14 @@ const structuredData = type === 'article' && article
179179
<!-- Mobile menu -->
180180
<div id="mobile-menu" class="hidden md:hidden border-t border-themed">
181181
<div class="container-custom py-4 space-y-4">
182-
<a href="/#features" class="block text-foreground-muted hover:text-primary transition-colors py-2">Features</a>
183-
<a href="/#use-cases" class="block text-foreground-muted hover:text-primary transition-colors py-2">Use Cases</a>
182+
<a href="/ai/" class="block text-foreground-muted hover:text-primary transition-colors py-2">AI teams</a>
183+
<a href="/platform/" class="block text-foreground-muted hover:text-primary transition-colors py-2">Platform teams</a>
184+
<a href="https://docs.barbacane.dev" class="block text-foreground-muted hover:text-primary transition-colors py-2">Docs</a>
184185
<a href="/blog/" class="block text-foreground-muted hover:text-primary transition-colors py-2">Blog</a>
185186
<a href="/pricing/" class="block text-foreground-muted hover:text-primary transition-colors py-2">Licensing</a>
186187
<a href="/pricing/#services" class="block text-foreground-muted hover:text-primary transition-colors py-2">Services</a>
187188
<a href="https://github.com/barbacane-dev/barbacane" target="_blank" rel="noopener" class="block text-foreground-muted hover:text-primary transition-colors py-2">GitHub</a>
188-
<a href="https://docs.barbacane.dev" class="block text-foreground-muted hover:text-primary transition-colors py-2">Documentation</a>
189-
<a href="/#get-started" class="block text-foreground-muted hover:text-primary transition-colors py-2">Get Started</a>
189+
<a href="/#get-started" class="block text-foreground-muted hover:text-primary transition-colors py-2">Get started</a>
190190
<button class="theme-toggle w-full flex items-center justify-between py-2 text-foreground-muted hover:text-primary transition-colors">
191191
<span>Theme</span>
192192
<svg class="theme-sun-icon w-5 h-5 hidden" fill="none" stroke="currentColor" viewBox="0 0 24 24">
@@ -237,14 +237,16 @@ const structuredData = type === 'article' && article
237237
<span class="font-bold text-xl text-gradient">Barbacane</span>
238238
</a>
239239
<p class="text-foreground-muted max-w-md">
240-
The spec-driven API gateway built in Rust. Your OpenAPI and AsyncAPI specs become your gateway configuration.
240+
The open-source AI gateway, both directions. Route LLM calls outbound,
241+
expose your APIs to agents inbound. Rust-native, spec-first, AGPLv3.
241242
</p>
242243
</div>
243244

244245
<div>
245246
<h4 class="font-semibold mb-4">Product</h4>
246247
<ul class="space-y-2 text-foreground-muted">
247-
<li><a href="/#features" class="hover:text-primary transition-colors">Features</a></li>
248+
<li><a href="/ai/" class="hover:text-primary transition-colors">AI teams</a></li>
249+
<li><a href="/platform/" class="hover:text-primary transition-colors">Platform teams</a></li>
248250
<li><a href="/blog/" class="hover:text-primary transition-colors">Blog</a></li>
249251
<li><a href="https://docs.barbacane.dev" class="hover:text-primary transition-colors">Documentation</a></li>
250252
<li><a href="https://github.com/barbacane-dev/barbacane" class="hover:text-primary transition-colors">GitHub</a></li>

0 commit comments

Comments
 (0)