feat: update pages

This commit is contained in:
Steven
2023-06-22 22:30:07 +08:00
parent 89740fa160
commit 407a8cc7fb
8 changed files with 55 additions and 103 deletions

View File

@@ -28,7 +28,7 @@ const Header: React.FC = () => {
<Dropdown
trigger={
<button className="flex flex-row justify-end items-center cursor-pointer">
<span>{user?.displayName}</span>
<span>{user.nickname}</span>
<Icon.ChevronDown className="ml-1 w-5 h-auto text-gray-600" />
</button>
}

View File

@@ -64,7 +64,7 @@ const ShortcutListView: React.FC<Props> = (props: Props) => {
<span className="text-gray-400 text-sm ml-2">({shortcut.description})</span>
</div>
<div className="flex flex-row justify-end items-center">
<span className="w-16 truncate mr-2 text-gray-600">{shortcut.creator.displayName}</span>
<span className="w-16 truncate mr-2 text-gray-600">{shortcut.creator.nickname}</span>
<Tooltip title="Copy link" variant="solid" placement="top">
<button
className="cursor-pointer mr-4 hover:opacity-80"