Skip to content

Commit

Permalink
Fix formatting in UserCard component
Browse files Browse the repository at this point in the history
  • Loading branch information
IMXNOOBX committed Apr 2, 2024
1 parent aaede9f commit 22892fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main/userinfo/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default async function UserCard() {
<p className="text-sm">github</p>
</div>
<div className="mt-4 truncate">
<p className="text-green-400 flex">$ curl <Url url={`https://github.com/${process.env.NEXT_PUBLIC_GITHUB_USERNAME}.json`} target="_blank" rel="noopener noreferrer">https://github.com/{userInfo.name}.json</Url></p>
<p className="text-green-400 flex gap-2">$ curl <Url url={`https://github.com/${process.env.NEXT_PUBLIC_GITHUB_USERNAME}.json`} target="_blank" rel="noopener noreferrer">https://github.com/{userInfo.name}.json</Url></p>
<p className="text-white flex">{"{"}</p>
<p className="text-gray-500 flex ml-6">username: <span className="text-white ml-1">{userInfo.name}</span></p>
<p className="text-gray-500 flex ml-6">avatar: <Image className="rounded-lg ml-2 drop-shadow-[#FFF_0px_0px_5px]" width={24} height={24} src={userInfo?.avatar_url} alt="user avatar" /></p>
Expand Down

0 comments on commit 22892fe

Please sign in to comment.