import { getTranslations } from 'next-intl/server' import { getPlayersData, CLASS_INFO, raceBig, classMedium, classChest, ALLIANCE_ICON, HORDE_ICON, } from '@/lib/players' /* eslint-disable @next/next/no-img-element */ export async function PlayersBoard() { const t = await getTranslations('UI') const data = await getPlayersData() return ( <>
{t('players.updateNotice')}
| {t('players.total')} {s.total} |
| {t('players.totalChars')} {data.totals.total} | {t('players.allianceChars')} {data.totals.alliance} | {t('players.hordeChars')} {data.totals.horde} |
{t('players.noLevel80')}
) : (| {t('players.thAchievement')} | {t('players.thCharacter')} | {t('players.thDate')} |
|---|---|---|
|
|
{f.name} | {f.date} |
{t('players.topAchSub')}
| {t('players.thName')} | {t('players.thRace')} | {t('players.thClass')} | {t('players.thAchPoints')} |
|---|---|---|---|
| {r.name} | {r.value} |
{t('players.topHonorSub')}
| {t('players.thName')} | {t('players.thRace')} | {t('players.thClass')} | {t('players.thTotalKills')} | {t('players.thTodayKills')} |
|---|---|---|---|---|
| {r.name} | {r.total} | {r.today} |