Skip to content

Commit

Permalink
update rss
Browse files Browse the repository at this point in the history
  • Loading branch information
zhisbug committed Jul 4, 2023
1 parent 6fd9666 commit a00835f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ package-lock.json

# vim
*.swp

# rss
rss.xml
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion public/rss.xml

This file was deleted.

4 changes: 3 additions & 1 deletion src/components/Nav.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState } from "react";
import Link from "next/link";
import { slide as Menu } from "react-burger-menu";
import { FaDiscord, FaEnvelope, FaGithub, FaTwitter } from "react-icons/fa";
import {FaDiscord, FaEnvelope, FaGithub, FaRss, FaTwitter} from "react-icons/fa";

export default function Nav() {
return (
Expand Down Expand Up @@ -62,6 +62,7 @@ export default function Nav() {
>
<FaTwitter />
</a>
<Link href="/rss.xml"><FaRss /></Link>
</div>
<Hamburger />
</div>
Expand Down Expand Up @@ -189,6 +190,7 @@ function Hamburger() {
>
<FaTwitter />
</a>
<Link href="/rss.xml"><FaRss /></Link>
</div>
</div>
</Menu>
Expand Down

0 comments on commit a00835f

Please sign in to comment.