create RSS page

This commit is contained in:
MacRimi
2025-05-27 17:16:44 +02:00
parent 32bd9aa678
commit a8c287d021
4 changed files with 160 additions and 17 deletions

View File

@@ -2,7 +2,7 @@
import Link from "next/link"
import Image from "next/image"
import { Book, GitBranch, FileText, Github, Menu } from "lucide-react"
import { Book, GitBranch, FileText, Github, Menu, Rss } from "lucide-react"
import { useState } from "react"
export default function Navbar() {
@@ -43,6 +43,18 @@ export default function Navbar() {
<span>{item.label}</span>
</Link>
))}
{/* RSS Feed Link */}
<Link
href="/api/rss"
className="flex items-center space-x-2 transition-colors hover:text-primary text-orange-600 hover:text-orange-700"
target="_blank"
rel="noopener noreferrer"
title="RSS Feed del Changelog"
>
<Rss className="h-4 w-4" />
<span>RSS</span>
</Link>
</nav>
{/* Mobile menu button */}
@@ -66,6 +78,19 @@ export default function Navbar() {
<span>{item.label}</span>
</Link>
))}
{/* RSS Feed Link - Mobile */}
<Link
href="/api/rss"
className="flex items-center space-x-2 py-2 transition-colors hover:text-primary text-orange-600 hover:text-orange-700"
onClick={() => setIsMenuOpen(false)}
target="_blank"
rel="noopener noreferrer"
title="RSS Feed del Changelog"
>
<Rss className="h-4 w-4" />
<span>RSS</span>
</Link>
</nav>
)}
</div>