update RSS

This commit is contained in:
MacRimi
2025-05-27 18:10:04 +02:00
parent 555af7d113
commit 9240be6d53
3 changed files with 37 additions and 22 deletions

View File

@@ -44,13 +44,13 @@ export default function Navbar() {
</Link>
))}
{/* RSS Feed Link */}
{/* RSS Feed Link */}
<Link
href="/rss.xml"
href="https://macrimi.github.io/ProxMenux/rss.xml"
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"
title="RSS Feed"
>
<Rss className="h-4 w-4" />
<span>RSS</span>
@@ -78,15 +78,15 @@ export default function Navbar() {
<span>{item.label}</span>
</Link>
))}
{/* RSS Feed Link - Mobile */}
<Link
href="/rss.xml"
href="https://macrimi.github.io/ProxMenux/rss.xml"
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"
title="RSS Feed"
>
<Rss className="h-4 w-4" />
<span>RSS</span>
@@ -97,4 +97,3 @@ export default function Navbar() {
</header>
)
}

View File

@@ -6,7 +6,7 @@ import { useState } from "react"
export default function RSSLink() {
const [copied, setCopied] = useState(false)
const rssUrl = `${typeof window !== "undefined" ? window.location.origin : ""}/rss.xml`
const rssUrl = "https://macrimi.github.io/ProxMenux/rss.xml"
const copyToClipboard = async () => {
try {
@@ -43,7 +43,7 @@ export default function RSSLink() {
</div>
<Link
href="/rss.xml"
href={rssUrl}
className="inline-flex items-center justify-center space-x-2 px-4 py-2 bg-orange-600 text-white rounded-lg hover:bg-orange-700 transition-colors w-full sm:w-auto"
target="_blank"
rel="noopener noreferrer"