diff --git a/frontend/src/components/Layout.tsx b/frontend/src/components/Layout.tsx index 5845592..84beb86 100644 --- a/frontend/src/components/Layout.tsx +++ b/frontend/src/components/Layout.tsx @@ -72,16 +72,16 @@ export function Layout({ children, onSettingsClick }: LayoutProps) { return (
-
- +
+ payme {user && ( - + Welcome, {user.username} )} -
+
{user && ( <> @@ -109,15 +111,17 @@ export function Layout({ children, onSettingsClick }: LayoutProps) { )} {user && onSettingsClick && ( @@ -125,7 +129,8 @@ export function Layout({ children, onSettingsClick }: LayoutProps) { {user && ( @@ -133,7 +138,7 @@ export function Layout({ children, onSettingsClick }: LayoutProps) {
-
{children}
+
{children}
setShowImportConfirm(false)} title="Import Data">
@@ -147,11 +152,11 @@ export function Layout({ children, onSettingsClick }: LayoutProps) {
{pendingImport.months.length} months
)} -
- -
diff --git a/frontend/src/components/MonthNav.tsx b/frontend/src/components/MonthNav.tsx index 57e19fc..99d1cdf 100644 --- a/frontend/src/components/MonthNav.tsx +++ b/frontend/src/components/MonthNav.tsx @@ -47,17 +47,18 @@ export function MonthNav({ if (!selectedMonth) return null; return ( -
-
+
+
-
+
{MONTH_NAMES[selectedMonth.month - 1]} {selectedMonth.year}
@@ -74,21 +75,22 @@ export function MonthNav({
-
+
{selectedMonth.is_closed && ( - )} {canClose && ( - )} diff --git a/frontend/src/components/Summary.tsx b/frontend/src/components/Summary.tsx index f5f0fa9..62b16ae 100644 --- a/frontend/src/components/Summary.tsx +++ b/frontend/src/components/Summary.tsx @@ -52,20 +52,20 @@ export function Summary({ totalIncome, totalFixed, totalSpent, remaining, extraC
{item.label}
-
+
${Math.abs(item.value).toFixed(2)} {item.label === "Remaining" && item.value < 0 && ( deficit )}
- +
); return ( -
+
{items.map(renderCard)} {extraCard} {itemsAfter.map(renderCard)} diff --git a/frontend/src/pages/Dashboard.tsx b/frontend/src/pages/Dashboard.tsx index 7ddb0e7..def0566 100644 --- a/frontend/src/pages/Dashboard.tsx +++ b/frontend/src/pages/Dashboard.tsx @@ -61,27 +61,31 @@ export function Dashboard({ onSettingsClick }: DashboardProps) { return ( -
-
- -
- +
+ +
+
+
+ +
+
+ setShowVarianceModal(true)} + /> +
-
- setShowVarianceModal(true)} - /> +
+
-
diff --git a/frontend/src/pages/Settings.tsx b/frontend/src/pages/Settings.tsx index b1eac39..2919f6a 100644 --- a/frontend/src/pages/Settings.tsx +++ b/frontend/src/pages/Settings.tsx @@ -104,19 +104,19 @@ export function Settings({ onBack }: SettingsProps) {
-

+

Settings

-
-
-

+
+
+

Change Username

@@ -140,8 +140,8 @@ export function Settings({ onBack }: SettingsProps) {
-
-

+
+

Change Password

@@ -181,8 +181,8 @@ export function Settings({ onBack }: SettingsProps) {
-
-

+
+

Danger Zone

@@ -229,8 +229,8 @@ export function Settings({ onBack }: SettingsProps) { {deleteError && (

{deleteError}

)} -
-