From 614356c60048efe2842a5693c554ca5d49b4fe33 Mon Sep 17 00:00:00 2001 From: Zhang Ziqing Date: Mon, 24 Oct 2022 19:59:23 +0800 Subject: [PATCH] [offers][fix] fix create commnet and update title --- apps/portal/src/components/offers/OffersNavigation.ts | 2 +- apps/portal/src/components/offers/OffersTitle.tsx | 4 ++-- .../src/components/offers/profile/ProfileComments.tsx | 6 +++++- .../src/components/offers/profile/comments/CommentCard.tsx | 6 ++++-- apps/portal/src/utils/offers/time.tsx | 6 ++++-- 5 files changed, 16 insertions(+), 8 deletions(-) diff --git a/apps/portal/src/components/offers/OffersNavigation.ts b/apps/portal/src/components/offers/OffersNavigation.ts index cfa314dc..bb234b8a 100644 --- a/apps/portal/src/components/offers/OffersNavigation.ts +++ b/apps/portal/src/components/offers/OffersNavigation.ts @@ -7,7 +7,7 @@ const navigation: ProductNavigationItems = [ const config = { navigation, showGlobalNav: false, - title: 'Tech Offers Repo', + title: 'Offer Profile Repository', titleHref: '/offers', }; diff --git a/apps/portal/src/components/offers/OffersTitle.tsx b/apps/portal/src/components/offers/OffersTitle.tsx index 2668ac4e..52798611 100644 --- a/apps/portal/src/components/offers/OffersTitle.tsx +++ b/apps/portal/src/components/offers/OffersTitle.tsx @@ -3,14 +3,14 @@ export default function OffersTitle() { <>

- Tech Handbook Offers Repo + Offer Profile Repository

Reveal profile stories behind offers
- Benchmark your offers and profiles, learn from other's offer profile, + Click into offers to view profiles, benchmark your offers and profiles, and discuss with the community
diff --git a/apps/portal/src/components/offers/profile/ProfileComments.tsx b/apps/portal/src/components/offers/profile/ProfileComments.tsx index 5a8ba614..350c29ea 100644 --- a/apps/portal/src/components/offers/profile/ProfileComments.tsx +++ b/apps/portal/src/components/offers/profile/ProfileComments.tsx @@ -154,7 +154,11 @@ export default function ProfileComments({