Pin Bloc 0 and Arrivant juste at top of relations list, sort others alphabetically

- Rename "Newbie" to "Arrivant juste"
- Base friends (Bloc 0, Arrivant juste) always stay at the top
- User-added relations are sorted below them

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Yvv
2026-02-21 15:50:31 +01:00
parent 2b5543791f
commit 554602ad52
2 changed files with 13 additions and 3 deletions

View File

@@ -134,7 +134,7 @@ import { Block0Date, getDays, getRatio, dateToString, fr, type Friend, type Tabl
const todayDate = dateToString(new Date());
const baseFriends: Friend[] = [
{ name: 'Bloc 0', date: Block0Date },
{ name: 'Newbie', date: todayDate },
{ name: 'Arrivant juste', date: todayDate },
];
const price = useLocalStorage('price', '1');