Move history to Scrapbox

This commit is contained in:
Sumire Isshiki 2024-02-17 18:19:07 +09:00
parent f4df5b9be6
commit 84ba7d5c12
4 changed files with 8 additions and 292 deletions

View File

@ -3,7 +3,6 @@ import { useRecoilState } from 'recoil'
import Profile from "./Profile"
import Links from "./Links"
import Keys from "./Keys"
import Activities from "./History"
import Spotify from "./Spotify"
import Services from "./Services"
@ -18,7 +17,6 @@ export default function ContentRenderer() {
{ page === Pages.Profile && <><Profile /><Spotify /></> }
{ page === Pages.Links && <Links /> }
{ page === Pages.Keys && <Keys /> }
{ page === Pages.Activities && <Activities /> }
{ page === Pages.Services && <Services /> }
</>
)

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faUser, faStar} from '@fortawesome/free-regular-svg-icons'
import { faLink, faKey, faSquarePersonConfined } from '@fortawesome/free-solid-svg-icons'
import { faLink, faKey } from '@fortawesome/free-solid-svg-icons'
import { RecoilRoot, atom, useRecoilState } from 'recoil'
@ -45,13 +45,6 @@ export default function Menu() {
<FontAwesomeIcon icon={faKey} />{" "}
<p></p>
</li>
<li
className={`w-full px-4 py-2${page === Pages.Activities ? " bg-slate-700" : ""}`}
onClick={() => {setPage(Pages.Activities)}}
>
<FontAwesomeIcon icon={faSquarePersonConfined} />{" "}
<p></p>
</li>
<li
className={`w-full px-4 py-2${page === Pages.Services ? " bg-slate-700" : ""}`}
onClick={() => {setPage(Pages.Services)}}

View File

@ -1,5 +1,5 @@
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faCake, faMapPin } from '@fortawesome/free-solid-svg-icons'
import { faCake, faMapPin, faArrowUpRightFromSquare } from '@fortawesome/free-solid-svg-icons'
export default function Profile() {
return (
@ -40,6 +40,12 @@ export default function Profile() {
</p>
</li>
</ol>
<p className="text-right">
<a href="https://scrapbox.io/yude/%E9%81%8E%E5%8E%BB%E3%81%AE%E6%B4%BB%E5%8B%95%E7%AD%89">
<FontAwesomeIcon icon={faArrowUpRightFromSquare} />&nbsp;
</a>
</p>
<h2 className="text-xl font-semibold text-gray-200 mt-2 mb-1 ml-1"></h2>