generated from nhcarrigan/template
feat: add public player profile page
This commit is contained in:
@@ -47,11 +47,14 @@ export const GameLayout = (): React.JSX.Element => {
|
||||
|
||||
if (!state) return <div className="loading-screen"><p>Loading...</p></div>;
|
||||
|
||||
const profileUrl = `/profile/${state.player.discordId}`;
|
||||
|
||||
return (
|
||||
<div className="game-layout">
|
||||
<ResourceBar
|
||||
resources={state.resources}
|
||||
prestigeCount={state.prestige.count}
|
||||
profileUrl={profileUrl}
|
||||
/>
|
||||
<OfflineModal />
|
||||
<AchievementToast />
|
||||
|
||||
Reference in New Issue
Block a user