Skip to content

Commit f5e8fed

Browse files
committed
feat(website): add Pricing dropdown nav with Licensing and Services anchors
Add hover dropdown to Pricing nav entry with Licensing and Services links. Add id="services" anchor to professional services section. Fix footer copyright to reflect AGPLv3 + Commercial License.
1 parent e395326 commit f5e8fed

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

src/layouts/Layout.astro

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,16 @@ const structuredData = type === 'article' && article
137137
<a href="/#features" class="text-foreground-muted hover:text-primary transition-colors">Features</a>
138138
<a href="/#use-cases" class="text-foreground-muted hover:text-primary transition-colors">Use Cases</a>
139139
<a href="/blog/" class="text-foreground-muted hover:text-primary transition-colors">Blog</a>
140-
<a href="/pricing/" class="text-foreground-muted hover:text-primary transition-colors">Services</a>
140+
<div class="relative group">
141+
<button class="text-foreground-muted hover:text-primary transition-colors flex items-center gap-1">
142+
Pricing
143+
<svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path></svg>
144+
</button>
145+
<div class="absolute top-full left-0 mt-2 w-40 nav-bg border border-themed rounded-lg shadow-lg opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-150">
146+
<a href="/pricing/" class="block px-4 py-2.5 text-sm text-foreground-muted hover:text-primary hover:bg-background-light rounded-t-lg transition-colors">Licensing</a>
147+
<a href="/pricing/#services" class="block px-4 py-2.5 text-sm text-foreground-muted hover:text-primary hover:bg-background-light rounded-b-lg transition-colors">Services</a>
148+
</div>
149+
</div>
141150
<a href="https://github.com/barbacane-dev/barbacane" target="_blank" rel="noopener" class="text-foreground-muted hover:text-primary transition-colors">GitHub</a>
142151
</div>
143152

@@ -173,7 +182,8 @@ const structuredData = type === 'article' && article
173182
<a href="/#features" class="block text-foreground-muted hover:text-primary transition-colors py-2">Features</a>
174183
<a href="/#use-cases" class="block text-foreground-muted hover:text-primary transition-colors py-2">Use Cases</a>
175184
<a href="/blog/" class="block text-foreground-muted hover:text-primary transition-colors py-2">Blog</a>
176-
<a href="/pricing/" class="block text-foreground-muted hover:text-primary transition-colors py-2">Services</a>
185+
<a href="/pricing/" class="block text-foreground-muted hover:text-primary transition-colors py-2">Licensing</a>
186+
<a href="/pricing/#services" class="block text-foreground-muted hover:text-primary transition-colors py-2">Services</a>
177187
<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>
178188
<a href="https://docs.barbacane.dev" class="block text-foreground-muted hover:text-primary transition-colors py-2">Documentation</a>
179189
<a href="/#get-started" class="block text-foreground-muted hover:text-primary transition-colors py-2">Get Started</a>
@@ -253,7 +263,7 @@ const structuredData = type === 'article' && article
253263

254264
<div class="border-t border-themed mt-8 pt-8 flex flex-col sm:flex-row justify-between items-center gap-4">
255265
<p class="text-foreground-muted text-sm">
256-
&copy; {new Date().getFullYear()} Barbacane. Open source under Apache 2.0.
266+
&copy; {new Date().getFullYear()} Barbacane. AGPLv3 &amp; Commercial License.
257267
</p>
258268
<p class="text-foreground-muted text-sm">
259269
<a href="/trademarks/" class="hover:text-primary transition-colors">Trademark Policy</a>

src/pages/pricing.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ import Layout from '../layouts/Layout.astro';
118118
</section>
119119

120120
<!-- Professional Services Header -->
121-
<section class="section pt-0">
121+
<section id="services" class="section pt-0">
122122
<div class="container-custom">
123123
<div class="max-w-4xl mx-auto text-center">
124124
<h2 class="text-3xl sm:text-4xl font-extrabold mb-4">

0 commit comments

Comments
 (0)