Skip to content

Commit 430d8f6

Browse files
authored
feat: add repository and deployment links (#84)
## Summary - add a GitHub repository link to the app navigation - add the live Railway deployment URL to the README - cover the new navigation link in the app shell test ## Verification - frontend tests - frontend typecheck - frontend lint and formatting - pre-commit and pre-push hooks
1 parent e3a896c commit 430d8f6

3 files changed

Lines changed: 18 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
A local-first federal tax calculator and W-4 optimizer for modeling income, reconciling withholding, and planning the rest of the tax year.
99

10+
**[Open Tax Tracker on Railway](https://shoginn-tax-tracker.up.railway.app)**
11+
1012
Tax Tracker combines a React interface with a stateless FastAPI calculation service. Personal records and settings stay in the browser; the API receives calculation inputs only for the duration of each request and does not persist them.
1113

1214
> [!IMPORTANT]

frontend/src/app/AppShell.test.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ describe("AppShell", () => {
1717
expect(screen.getByRole("link", { name: "Overview" })).toBeInTheDocument();
1818
expect(screen.getByRole("link", { name: "Income" })).toBeInTheDocument();
1919
expect(screen.getByRole("link", { name: "Tax position" })).toBeInTheDocument();
20+
expect(screen.getByRole("link", { name: "GitHub" })).toHaveAttribute(
21+
"href",
22+
"https://github.com/ShoGinn/tax-tracker",
23+
);
2024
expect(screen.getByRole("heading", { name: "Your federal tax plan" })).toBeInTheDocument();
2125
});
2226
});

frontend/src/app/AppShell.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ const manageNavigation = [
1313
{ to: "/settings", label: "Profile & backup", marker: "•" },
1414
];
1515

16+
const githubUrl = "https://github.com/ShoGinn/tax-tracker";
17+
1618
const pageMeta: Record<string, { eyebrow: string; title: string; description: string }> = {
1719
"/": {
1820
eyebrow: "Plan overview",
@@ -96,6 +98,16 @@ export const AppShell = () => {
9698
<NavigationList items={planNavigation} />
9799
<p className="nav-section-label nav-section-label--spaced">Manage</p>
98100
<NavigationList items={manageNavigation} />
101+
<ul>
102+
<li>
103+
<a className="nav-link" href={githubUrl} target="_blank" rel="noopener noreferrer">
104+
<span className="nav-marker" aria-hidden="true">
105+
GH
106+
</span>
107+
<span>GitHub</span>
108+
</a>
109+
</li>
110+
</ul>
99111
</nav>
100112

101113
<div className="sidebar-note">

0 commit comments

Comments
 (0)