Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/Home/HomeSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function HomeSection({
<Tooltip
trigger={
<HoverEffect style={tw`ml-auto`}>
<A href={rss} target="_blank" style={tw`h-5.5`}>
<A href={rss} target="_blank" style={tw`h-5.5`} aria-label={`${title} RSS feed`}>
<RSS style={tw`text-icon`} />
</A>
</HoverEffect>
Expand Down
4 changes: 2 additions & 2 deletions components/Library/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default function Library({
{showTrendingMark && library.popularity && (
<View
style={[
tw`mb-3 flex-row items-center justify-between gap-6`,
tw`mb-0.5 flex-row items-center justify-between gap-6`,
!isSmallScreen && skipMetadata && tw`pr-8`,
]}>
<Tooltip sideOffset={8} trigger={<TrendingMark library={library} />}>
Expand Down Expand Up @@ -113,7 +113,7 @@ export default function Library({
{isSmallScreen && (
<BookmarkButton
bookmarkId={libName}
style={tw`-mr-1 ml-auto rounded border border-palette-gray2 p-1.5 dark:border-palette-gray6`}
style={tw`-mr-1 ml-auto size-7 items-center justify-center rounded border border-palette-gray2 p-1 dark:border-palette-gray6`}
/>
)}
</View>
Expand Down
11 changes: 7 additions & 4 deletions components/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,16 @@ export default function Navigation({
style={[
tw`px-5 text-center text-[42px] leading-[54px] text-white`,
isSmallScreen && tw`text-3xl`,
!description && tw`pb-3`,
]}>
{title}
</H1>
<H2
style={tw`px-10 py-1 text-center text-base font-normal text-palette-gray3 dark:text-secondary`}>
{description}
</H2>
{description && (
<H2
style={tw`px-10 py-1 text-center text-base font-normal text-palette-gray3 dark:text-secondary`}>
{description}
</H2>
)}
{children}
</View>
)}
Expand Down
5 changes: 3 additions & 2 deletions scenes/PackageVersionsScene.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,13 @@ export default function PackageVersionsScene({
<View style={tw`mt-3 gap-1`}>
<H6Section
style={[
tw`flex items-center justify-between text-secondary`,
tw`flex items-end justify-between text-secondary`,
isSmallScreen && tw`flex-col items-start gap-y-0.5`,
]}>
Downloads by version
<Label style={tw`font-light text-secondary`}>
Last week&ensp;·&ensp;Top downloaded versions
Last week<span style={tw`text-tertiary`}>&ensp;·&ensp;</span>Top downloaded
versions
</Label>
</H6Section>
</View>
Expand Down