import { useGoHome } from '@remake/hooks' import { specialThanks, SpecialThanksGroup as Group } from '@remake/data' import type { SpecialThanks } from '@remake/data' import { shuffle } from '@remake/vitex' import './Thanks.css' const groups = Map.groupBy(specialThanks, item => item.group) export function Person({ item }: { item: SpecialThanks }) { return (
  • {item.name} {item.comment && {item.comment}}
  • ) } export function Thanks() { const goHome = useGoHome() const group1 = shuffle(groups.get(Group.G1) ?? []) const group2 = shuffle(groups.get(Group.G2) ?? []) return (
    ) } export default Thanks