feat: Add tooltip to star rating and support section updates

- Add tooltip to star rating component encouraging users to help curators
- Add curator application information to support section
- Add bug report email link to support section
- All changes localized (de/en)
This commit is contained in:
Hördle Bot
2025-12-02 01:00:08 +01:00
parent 8c57e938e8
commit 87c1ee63ec
4 changed files with 67 additions and 1 deletions

View File

@@ -687,7 +687,11 @@ function StarRating({ onRate, hasRated }: { onRate: (rating: number) => void, ha
}
return (
<div className="star-rating" style={{ display: 'flex', flexDirection: 'column', alignItems: 'center', gap: '0.5rem' }}>
<div
className="star-rating"
title={t('ratingTooltip')}
style={{ display: 'flex', flexDirection: 'column', alignItems: 'center', gap: '0.5rem' }}
>
<span style={{ fontSize: '0.875rem', color: 'var(--muted-foreground)', fontWeight: '500' }}>{t('rateThisPuzzle')}</span>
<div style={{ display: 'flex', gap: '0.25rem', justifyContent: 'center' }}>
{[...Array(5)].map((_, index) => {