Skip to content

Commit 9f67675

Browse files
committed
update content
1 parent c62ecb0 commit 9f67675

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

src/pages/Home/ConfidenceColor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ type Props = { confidence: number; highestConfidence: number; timeString: string
44

55
export const ConfidenceColor = ({ confidence, highestConfidence, timeString }: Props) => (
66
<div
7-
className='flex items-center justify-center min-w-[3px] max-w-[2px] min-h-[20px] overflow-hidden text-transparent font-[FontinBold] text-nowrap text-xs select-none transition-all hover:min-w-[104px] hover:text-white hover:px-1'
7+
className='flex items-center justify-center min-w-[3px] max-w-[2px] min-h-[20px] overflow-hidden text-transparent font-[FontinBold] text-nowrap text-xs select-none transition-all hover:min-w-[114px] hover:text-white hover:px-1'
88
style={{
99
backgroundColor: `hsl(${calculateConfidenceHue(confidence, highestConfidence, timeString)}, 70%, 50%)`
1010
}}>
11-
<span>Confidence: {confidence}%</span>
11+
<span>Confidence: {confidence.toFixed(2)}%</span>
1212
</div>
1313
);

src/pages/Home/UpdateTime.tsx

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,16 @@ export function UpdateTime() {
2020
}, [currencyMap.meta.createdAt]);
2121

2222
return (
23-
<p className='flex items-center gap-1 text-selected-dark italic text-xs'>
24-
<DatabaseBackup className='w-4 h-4' /> Last updated {lastUpdated}
25-
</p>
23+
<div className='flex flex-col gap-1'>
24+
<p className='flex items-center gap-1 italic text-xs'>
25+
<DatabaseBackup className='w-4 h-4' /> Last updated {lastUpdated}
26+
</p>
27+
<p className='text-primary-dark text-sm'>
28+
*Data is collected from{" "}
29+
<a href='https://www.pathofexile.com/trade2/search/poe2/Standard' target='_blank' className='underline'>
30+
PoE 2 Trade
31+
</a>
32+
</p>
33+
</div>
2634
);
2735
}

0 commit comments

Comments
 (0)