Add RSS feed functionality and icon to the blog
All checks were successful
Build and Deploy Blog / build-and-deploy-local (push) Successful in 1m13s
All checks were successful
Build and Deploy Blog / build-and-deploy-local (push) Successful in 1m13s
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import Link from "next/link";
|
||||
import React from "react";
|
||||
import RSSIcon from "./rss-icon";
|
||||
|
||||
const CloseIcon = () => (
|
||||
<svg
|
||||
@@ -55,9 +56,13 @@ export default function Window({
|
||||
<div
|
||||
className={`rounded-lg border border-white/30 bg-white/70 shadow-window backdrop-blur-xl ${className}`}
|
||||
>
|
||||
{/* Title Bar with gradient and controls */}
|
||||
<div className="flex select-none items-center justify-between rounded-t-md bg-gradient-to-b from-blue-500 to-window-title px-4 py-1.5 font-bold text-white text-sm">
|
||||
<span>{title}</span>
|
||||
<div className="flex items-center space-x-2">
|
||||
<span>{title}</span>
|
||||
<Link href="/feed.xml" title="RSS Feed">
|
||||
<RSSIcon className="h-4 w-4 opacity-80 hover:opacity-100" />
|
||||
</Link>
|
||||
</div>
|
||||
<div className="flex items-center space-x-2">
|
||||
<div className="flex h-4 w-4 items-center justify-center opacity-80">
|
||||
<MinimizeIcon />
|
||||
|
Reference in New Issue
Block a user