Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ function App() {
{isAiLoading ? <span className="animate-pulse">Consulting the oracles...</span> : aiAdvice}
</div>
<div>
<img src={Chat} className="absolute bottom-10 right-[190px]" />
<img src={Chat} className="absolute bottom-10 right-24" />
</div>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion frontend/src/components/Forms.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import bgImage from "../assets/Pop_up.png";
import type { RoundData } from "../engine/types";
import career3 from "../assets/forms_emojis/career3.png";
import personal3 from "../assets/forms_emojis/personal3.png";
import insurance3 from "../assets/forms_emojis/insurance3.png";
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Projection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const FinalStatsOverlay: React.FC<{
const RETIREMENT_AGE = 60;
const AVG_RETURN = 0.1; // 4% average investment return
const INFLATION_RATE = 0.03; // 3% annual inflation
const SAVINGS_RATE = 0.02;
const SAVINGS_RATE = 0.01;

if (!roundData)
return (
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/engine/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export function createInitialRound(): RoundData {
return {
name: "Player",
income: 1200,
total: 0,
total: 3000,
sanity: 100,
insurance: 0,
rent: 800,
Expand Down
12 changes: 12 additions & 0 deletions frontend/src/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Compound Effect</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="./main.tsx"></script>
</body>
</html>