-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v0.2 Merge pull request #4 from ThaddeusJiang/dev
* feat: Chat UI * test: 测试 vercel 上是否可以 work * remove next.js app directory, 暂时不需要
- Loading branch information
1 parent
16ba522
commit 0e4bcff
Showing
30 changed files
with
1,804 additions
and
438 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import Link from "next/link"; | ||
|
||
export const MiniAvatar = ({ | ||
avatar | ||
}: { | ||
avatar: { | ||
id: string; | ||
username: string; | ||
name: string; | ||
desc?: string; | ||
avatar_url?: string; | ||
twitterUrl?: string; | ||
linkedinUrl?: string; | ||
}; | ||
}) => { | ||
return ( | ||
<div className="flex space-x-2 items-center"> | ||
<div className="avatar"> | ||
<div className="w-8 rounded-full ring ring-offset-base-100 ring-offset-2"> | ||
<img src={avatar.avatar_url ?? "https://www.gravatar.com/avatar/ANY"} /> | ||
</div> | ||
</div> | ||
|
||
<div> | ||
<div className="text-base font-semibold leading-7 tracking-tight text-gray-900">{avatar?.name}</div> | ||
<div className=" text-sm ">@{avatar.username}</div> | ||
</div> | ||
</div> | ||
); | ||
}; |
Oops, something went wrong.
0e4bcff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
aier – ./
aier-git-main-thaddeusjiang.vercel.app
www.aier.app
aier-thaddeusjiang.vercel.app
aier.app