feat: add RSS feed

This commit is contained in:
Kim, Jimin 2025-01-20 20:21:01 +09:00
parent 06fa0502ae
commit 80b6656e38
Signed by: pomp
GPG key ID: 2B516173EDD492EB
9 changed files with 84 additions and 4 deletions

View file

@ -1,4 +1,6 @@
import GithubLinkIcon from "../GithubLinkIcon"
import { faRss } from "@fortawesome/free-solid-svg-icons"
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
export default function Footer() {
return (
@ -7,7 +9,15 @@ export default function Footer() {
<div>
Created by <b>developomp</b>
</div>
<GithubLinkIcon href="https://github.com/developomp/developomp-site" />
<div className="flex items-center gap-2">
<a
href="/rss.xml"
className="text-3xl text-light-footer-text transition-colors duration-75 hover:text-light-text-high-contrast dark:text-dark-footer-text dark:hover:text-dark-text-high-contrast"
>
<FontAwesomeIcon icon={faRss} />
</a>
<GithubLinkIcon href="https://github.com/developomp/developomp-site" />
</div>
</div>
</footer>
)

View file

@ -9,7 +9,7 @@ interface Props {
export default function GithubLinkIcon({ href }: Props) {
return (
<Link
className="text-5xl text-light-footer-text transition-colors duration-75 hover:text-light-text-high-contrast dark:text-dark-footer-text dark:hover:text-dark-text-high-contrast"
className="text-4xl text-light-footer-text transition-colors duration-75 hover:text-light-text-high-contrast dark:text-dark-footer-text dark:hover:text-dark-text-high-contrast"
href={href}
target="_blank"
aria-label="GitHub link"