-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: correct yoga layout double styling, remove repo icon extrenaous …
…classes
- Loading branch information
Showing
4 changed files
with
41 additions
and
49 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 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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
const repoIconWithName = (name: string, avatarUrl: string) => ` | ||
<div tw="flex-row items-center p-8 h-48 border border-zinc-200 rounded-lg bg-gray-50"> | ||
<div tw="flex-row items-center p-0 h-32"> | ||
<img tw="w-32 h-32 rounded" src="${avatarUrl}"/> | ||
<div tw="flex-row items-start p-0 h-32"> | ||
<h2 tw="h-32 not-italic font-medium text-4xl text-zinc-900"> | ||
${name} | ||
</h2> | ||
</div> | ||
<div tw="border border-zinc-200 rounded-lg bg-gray-50 h-48px p-8px" style="gap: 12px"> | ||
<div tw="h-32px" style="gap: 6px"> | ||
<img tw="w-32px h-32px rounded" src="${avatarUrl}"/> | ||
<div tw="h-32px" style="gap: 2px"> | ||
<h2 tw="m-0 not-italic font-medium text-32px leading-32px text-zinc-900"> | ||
${name} | ||
</h2> | ||
</div> | ||
</div> | ||
`; | ||
</div> | ||
`; | ||
|
||
export default repoIconWithName; |
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