From cc5e5234d5bd437edb4b7a7ca5d2c6dd5c66084e Mon Sep 17 00:00:00 2001 From: Paul Queruel Date: Tue, 11 Aug 2026 19:04:11 +0200 Subject: [PATCH] feat(profile): add player profile page --- apps/front/src/components/HomePage.tsx | 10 ++ apps/front/src/components/Profile.test.tsx | 82 ++++++++++ apps/front/src/components/Profile.tsx | 149 ++++++++++++++++++ apps/front/src/components/Router.tsx | 3 + apps/front/src/translations/resources/en.json | 17 ++ apps/front/src/translations/resources/fr.json | 17 ++ .../src/translations/resources/zh-tw.json | 17 ++ 7 files changed, 295 insertions(+) create mode 100644 apps/front/src/components/Profile.test.tsx create mode 100644 apps/front/src/components/Profile.tsx diff --git a/apps/front/src/components/HomePage.tsx b/apps/front/src/components/HomePage.tsx index 2866f497..d54a7354 100644 --- a/apps/front/src/components/HomePage.tsx +++ b/apps/front/src/components/HomePage.tsx @@ -1,6 +1,7 @@ import * as React from 'react' import { useTranslation } from 'react-i18next' import { Link } from 'react-router-dom' +import { UserCircleIcon } from '@heroicons/react/24/outline' import { type PlayerType } from '@knucklebones/common' import { useLocalizedPath } from '../hooks/useLocalizedPath' import KnucklebonesLogo from '../svgs/logo.svg' @@ -60,6 +61,15 @@ export function HomePage() { +