diff --git a/apps/portal/src/components/offers/OffersNavigation.ts b/apps/portal/src/components/offers/OffersNavigation.ts index 9b340cec..0c43c644 100644 --- a/apps/portal/src/components/offers/OffersNavigation.ts +++ b/apps/portal/src/components/offers/OffersNavigation.ts @@ -1,7 +1,7 @@ import type { ProductNavigationItems } from '~/components/global/ProductNavigation'; const navigation: ProductNavigationItems = [ - { href: '/offers/home', name: 'Home' }, + { href: '/offers/browse', name: 'Browse' }, { href: '/offers/submit', name: 'Analyse your offers' }, ]; diff --git a/apps/portal/src/components/offers/landing/LeftTextCard.tsx b/apps/portal/src/components/offers/landing/LeftTextCard.tsx index 27886018..329a58f5 100644 --- a/apps/portal/src/components/offers/landing/LeftTextCard.tsx +++ b/apps/portal/src/components/offers/landing/LeftTextCard.tsx @@ -1,5 +1,7 @@ import type { ReactNode } from 'react'; +import { HOME_URL } from '~/components/offers/types'; + type LeftTextCardProps = Readonly<{ description: string; icon: ReactNode; @@ -8,7 +10,6 @@ type LeftTextCardProps = Readonly<{ title: string; }>; -const baseUrl = '/offers/home'; export default function LeftTextCard({ description, icon, @@ -21,7 +22,7 @@ export default function LeftTextCard({
- + {icon}
@@ -32,8 +33,8 @@ export default function LeftTextCard({

{description}

+ className="to-primary-500 inline-flex rounded-md border border-transparent bg-gradient-to-r from-purple-600 bg-origin-border px-4 py-2 text-base font-medium text-white shadow-sm hover:from-purple-700 hover:to-indigo-700" + href={HOME_URL}> Get started
diff --git a/apps/portal/src/components/offers/landing/RightTextCard.tsx b/apps/portal/src/components/offers/landing/RightTextCard.tsx index 551c246a..9028ad16 100644 --- a/apps/portal/src/components/offers/landing/RightTextCard.tsx +++ b/apps/portal/src/components/offers/landing/RightTextCard.tsx @@ -1,5 +1,7 @@ import type { ReactNode } from 'react'; +import { HOME_URL } from '~/components/offers/types'; + type RightTextCarddProps = Readonly<{ description: string; icon: ReactNode; @@ -8,7 +10,6 @@ type RightTextCarddProps = Readonly<{ title: string; }>; -const baseUrl = '/offers/home'; export default function RightTextCard({ description, icon, @@ -21,7 +22,7 @@ export default function RightTextCard({
- + {icon}
@@ -32,8 +33,8 @@ export default function RightTextCard({

{description}

+ className="to-primary-500 inline-flex rounded-md border border-transparent bg-gradient-to-r from-purple-600 bg-origin-border px-4 py-2 text-base font-medium text-white shadow-sm hover:from-purple-700 hover:to-indigo-700" + href={HOME_URL}> Get started
diff --git a/apps/portal/src/components/offers/profile/ProfileComments.tsx b/apps/portal/src/components/offers/profile/ProfileComments.tsx index ebed5bfd..b26f78ae 100644 --- a/apps/portal/src/components/offers/profile/ProfileComments.tsx +++ b/apps/portal/src/components/offers/profile/ProfileComments.tsx @@ -175,36 +175,7 @@ export default function ProfileComments({ ) : (
Please log in before commenting on this profile.
)} -
-