diff --git a/src/app/components/Navbar.tsx b/src/app/components/Navbar.tsx index e6a47019..0da6cb60 100644 --- a/src/app/components/Navbar.tsx +++ b/src/app/components/Navbar.tsx @@ -127,12 +127,6 @@ function Nav({ pageName }: { pageName: string }) { )} - -
-
-

{pageName}

-
-
); } diff --git a/src/app/components/home/NewPortfolioModal.tsx b/src/app/components/home/NewPortfolioModal.tsx index 3186df76..cc22041f 100644 --- a/src/app/components/home/NewPortfolioModal.tsx +++ b/src/app/components/home/NewPortfolioModal.tsx @@ -5,7 +5,7 @@ import LightBulbSvg from "./LightBulbSvg"; import CarbonIcon from "./CarbonIcon"; import QuestionMarkIcon from "./QuestionMarkIcon"; import EnvironmentIcon from "./EnvironmentIconSvg"; -import ModalSubmit from "./ModelSubmit"; +import ModalSubmit from "./ModalSubmit"; const outcomes = [ "Valuation Improvement", @@ -192,6 +192,7 @@ export default function NewPortfolioModal({ diff --git a/src/app/home/page.tsx b/src/app/home/page.tsx index e29a0373..27750438 100644 --- a/src/app/home/page.tsx +++ b/src/app/home/page.tsx @@ -57,7 +57,6 @@ const Home = async () => { return ( <> -

Your Portfolios

diff --git a/src/app/layout.tsx b/src/app/layout.tsx index c676aa1f..0acedc6d 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,5 +1,6 @@ import "./globals.css"; import Provider from "./components/Provider"; +import Nav from "./components/Navbar"; export const metadata = { title: "", @@ -14,7 +15,10 @@ export default function RootLayout({ return ( - {children} + + + {children} + ); diff --git a/src/app/portfolio/[slug]/page.jsx b/src/app/portfolio/[slug]/page.jsx deleted file mode 100644 index be7d5785..00000000 --- a/src/app/portfolio/[slug]/page.jsx +++ /dev/null @@ -1,62 +0,0 @@ -export default function Page() { - // This is temp until we retrieve this data from the frontend - // TODO: Update the objects to contains objective + any other required information - const Portfolios = [ - { - id: "f290f1ee-6c54-4b01-90e6-d701748f0851", - }, - { - id: "d290f1ee-6c54-4b01-90e6-d701748f0851", - title: "Portfolio 1", - budget: "£500k", - }, - { - id: "d290f1ee-6c54-4b01-90e6-d701748f0852", - title: "Portfolio 2", - budget: "150k", - }, - { - id: "d290f1ee-6c54-4b01-90e6-d701748f0853", - title: "Portfolio 3", - budget: "£1m", - }, - { - id: "d290f1ee-6c54-4b01-90e6-d701748f0854", - title: "Portfolio 4", - budget: "£2m", - }, - { - id: "d290f1ee-6c54-4b01-90e6-d701748f0855", - title: "Portfolio 5", - budget: "£25k", - }, - { - id: "d290f1ee-6c54-4b01-90e6-d701748f0856", - title: "Portfolio 6", - budget: "£10k", - }, - { - id: "d290f1ee-6c54-4b01-90e6-d701748f0857", - title: "Portfolio 7", - budget: "£33k", - }, - { - id: "d290f1ee-6c54-4b01-90e6-d701748f0858", - title: "Portfolio 8", - budget: "£670k", - }, - { - id: "d290f1ee-6c54-4b01-90e6-d701748f0859", - title: "Portfolio 9", - budget: "£240k", - }, - { - id: "d290f1ee-6c54-4b01-90e6-d701748f0860", - title: "Portfolio 10", - budget: "93k", - }, - ]; - const demo_id = "f290f1ee-6c54-4b01-90e6-d701748f0851"; - - return

Hello world

; -}