feat: add RSS feed
This commit is contained in:
parent
06fa0502ae
commit
80b6656e38
9 changed files with 84 additions and 4 deletions
|
@ -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>
|
||||
)
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue