mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-08-26 06:11:15 +00:00
create RSS page
This commit is contained in:
22
web/components/rss-link.tsx
Normal file
22
web/components/rss-link.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
import { Rss } from "lucide-react"
|
||||
import Link from "next/link"
|
||||
|
||||
export default function RSSLink() {
|
||||
return (
|
||||
<div className="flex items-center justify-between mb-8 p-4 bg-orange-50 border border-orange-200 rounded-lg">
|
||||
<div>
|
||||
<h3 className="text-lg font-semibold text-orange-900">Stay Updated!</h3>
|
||||
<p className="text-orange-700">Subscribe to our RSS feed to get notified of new changes.</p>
|
||||
</div>
|
||||
<Link
|
||||
href="/api/rss"
|
||||
className="flex items-center space-x-2 px-4 py-2 bg-orange-600 text-white rounded-lg hover:bg-orange-700 transition-colors"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<Rss className="h-4 w-4" />
|
||||
<span>RSS Feed</span>
|
||||
</Link>
|
||||
</div>
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user