mirror of
https://github.com/warmbly/warmbly.git
synced 2026-08-24 00:00:36 +00:00
feat: link the blog from the site navigation
Blog joins the header nav (desktop and mobile pick it up from the shared nav array) and the footer Company column, with a small RSS link in the footer bottom bar.
This commit is contained in:
@@ -43,6 +43,7 @@ const groups: { title: string; links: { label: string; href: string }[] }[] = [
|
||||
title: 'Company',
|
||||
links: [
|
||||
{ label: 'About', href: '/about/' },
|
||||
{ label: 'Blog', href: '/blog/' },
|
||||
{ label: 'Contact', href: '/contact/' },
|
||||
{ label: 'Brand', href: '/brand/' },
|
||||
{ label: 'Trust', href: '/trust/' },
|
||||
@@ -103,6 +104,13 @@ const year = new Date().getFullYear();
|
||||
github.com/warmbly/warmbly
|
||||
</a>
|
||||
<span class="text-xs text-muted-foreground">·</span>
|
||||
<a href="/blog/rss.xml" class="inline-flex items-center gap-1.5 text-xs text-muted-foreground hover:text-foreground transition-colors">
|
||||
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
||||
<path d="M4 11a9 9 0 0 1 9 9" /><path d="M4 4a16 16 0 0 1 16 16" /><circle cx="5" cy="19" r="1" />
|
||||
</svg>
|
||||
RSS
|
||||
</a>
|
||||
<span class="text-xs text-muted-foreground">·</span>
|
||||
<p class="text-xs text-muted-foreground">Open source.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -62,6 +62,7 @@ const nav: NavItem[] = [
|
||||
{ label: 'Deliverability',href: '/deliverability/',match: '/deliverability' },
|
||||
{ label: 'Pricing', href: '/pricing/', match: '/pricing' },
|
||||
{ label: 'Learn', href: '/learn/', match: '/learn' },
|
||||
{ label: 'Blog', href: '/blog/', match: '/blog' },
|
||||
];
|
||||
|
||||
function active(match?: string) {
|
||||
|
||||
Reference in New Issue
Block a user