0
0
mirror of https://github.com/yude-jp/yude.jp synced 2025-12-16 20:54:17 +09:00

Add link to profile page

This commit is contained in:
2021-02-08 16:43:48 +09:00
parent 921a584397
commit fd998c25aa
7 changed files with 28 additions and 37 deletions

View File

@@ -48,10 +48,10 @@ const Dropdown = ({ color }) => {
<div ref={popoverDropdownRef} className={
(dropdownPopoverShow ? "block " : "hidden ") + "origin-top-right absolute right-0 mt-2 w-40 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5"}>
<div className="py-1" role="menu" aria-orientation="vertical" aria-labelledby="options-menu">
<Link href="/" locale="ja-JP">
<Link href="#" locale="ja-JP">
<a href="#" className="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900" role="menuitem">日本語</a>
</Link>
<Link href="/" locale="en-US">
<Link href="#" locale="en-US">
<a href="#" className="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900" role="menuitem">English</a>
</Link>
</div>