diff --git a/src/app/portfolio/[slug]/(portfolio)/settings/PortfolioSettings.tsx b/src/app/portfolio/[slug]/(portfolio)/settings/PortfolioSettings.tsx index ae222c6..7312466 100644 --- a/src/app/portfolio/[slug]/(portfolio)/settings/PortfolioSettings.tsx +++ b/src/app/portfolio/[slug]/(portfolio)/settings/PortfolioSettings.tsx @@ -25,6 +25,7 @@ import { import { PortfolioStatus as PortfolioStatusOptions } from "@/app/db/schema/portfolio"; import { PortfolioGoal as PortfolioGoalOptions } from "@/app/db/schema/portfolio"; import { useSession } from "next-auth/react"; +import PortfolioPlanTable from "@/app/components/portfolio/plan/PlanTable"; // dropdown selection component for both goal and status @@ -32,10 +33,12 @@ export function SettingsDropdown({ startingValue, options, setOption, + className, }: { startingValue: string; options: string[]; setOption: (option: string) => void; + className?: string; }) { function handleValueChange(newValue: string) { setOption(newValue); @@ -43,7 +46,7 @@ export function SettingsDropdown({ return ( - -
- -
- - {/* Row 2: Budget */} -
- Budget: -
-
- handleNumericKeyDown(e)} - /> -
-
- -
- - {/* Row 3: Goal */} -
- Goal: -
- -
- -
- + + + {/* Row 2: Budget */} +
+ Portfolio Budget: +
+
+ handleNumericKeyDown(e)} + /> +
+
+ - - {/* Row 4: Status */} -
- Status: -
-
- -
-
+ + {/* Row 3: Goal */} +
+ Goal: +
+
+ +
+
+ - - {/* Row 5: Delete */} -
-
- -
- {/* Delete portfolio modal */} - - - Are you sure? -

- To confirm, please type the name of the portfolio ( - {portfolioSettingsData.name}) -

- setDeleteConfirmationByName(e.target.value)} - placeholder="Type portfolio name" - /> - - - - -
-
+
+ + {/* Row 4: Status */} +
+ Status: +
+
+ +
+
+ +
+ + {/* Row 5: Delete */} +
+
+
- + + {/* Delete portfolio modal */} + + + Are you sure? +

+ To confirm, please type the name of the portfolio ( + {portfolioSettingsData.name}) +

+ setDeleteConfirmationByName(e.target.value)} + placeholder="Type portfolio name" + /> + + + + +
+
+ ); }