From 313edfaa5ec9ef69807a56e88192f03af27b1c71 Mon Sep 17 00:00:00 2001 From: Zhang Ziqing Date: Mon, 31 Oct 2022 01:51:19 +0800 Subject: [PATCH] [offers][refactor] refactor feature page --- .../components/offers/OffersNavigation.tsx | 1 - .../{landing => features}/LeftTextCard.tsx | 0 .../{landing => features}/RightTextCard.tsx | 0 .../images/offers-analysis.png | Bin .../images/offers-browse.png | Bin .../images/offers-profile.png | Bin apps/portal/src/pages/offers/features.tsx | 31 ++++++++++-------- 7 files changed, 18 insertions(+), 14 deletions(-) rename apps/portal/src/components/offers/{landing => features}/LeftTextCard.tsx (100%) rename apps/portal/src/components/offers/{landing => features}/RightTextCard.tsx (100%) rename apps/portal/src/components/offers/{landing => features}/images/offers-analysis.png (100%) rename apps/portal/src/components/offers/{landing => features}/images/offers-browse.png (100%) rename apps/portal/src/components/offers/{landing => features}/images/offers-profile.png (100%) diff --git a/apps/portal/src/components/offers/OffersNavigation.tsx b/apps/portal/src/components/offers/OffersNavigation.tsx index 4de1fc5e..26719933 100644 --- a/apps/portal/src/components/offers/OffersNavigation.tsx +++ b/apps/portal/src/components/offers/OffersNavigation.tsx @@ -12,7 +12,6 @@ const navigationAuthenticated: ProductNavigationItems = [ ]; const config = { - // TODO: Change this to your own GA4 measurement ID. googleAnalyticsMeasurementID: 'G-34XRGLEVCF', logo: ( Tech Offers Repo diff --git a/apps/portal/src/components/offers/landing/LeftTextCard.tsx b/apps/portal/src/components/offers/features/LeftTextCard.tsx similarity index 100% rename from apps/portal/src/components/offers/landing/LeftTextCard.tsx rename to apps/portal/src/components/offers/features/LeftTextCard.tsx diff --git a/apps/portal/src/components/offers/landing/RightTextCard.tsx b/apps/portal/src/components/offers/features/RightTextCard.tsx similarity index 100% rename from apps/portal/src/components/offers/landing/RightTextCard.tsx rename to apps/portal/src/components/offers/features/RightTextCard.tsx diff --git a/apps/portal/src/components/offers/landing/images/offers-analysis.png b/apps/portal/src/components/offers/features/images/offers-analysis.png similarity index 100% rename from apps/portal/src/components/offers/landing/images/offers-analysis.png rename to apps/portal/src/components/offers/features/images/offers-analysis.png diff --git a/apps/portal/src/components/offers/landing/images/offers-browse.png b/apps/portal/src/components/offers/features/images/offers-browse.png similarity index 100% rename from apps/portal/src/components/offers/landing/images/offers-browse.png rename to apps/portal/src/components/offers/features/images/offers-browse.png diff --git a/apps/portal/src/components/offers/landing/images/offers-profile.png b/apps/portal/src/components/offers/features/images/offers-profile.png similarity index 100% rename from apps/portal/src/components/offers/landing/images/offers-profile.png rename to apps/portal/src/components/offers/features/images/offers-profile.png diff --git a/apps/portal/src/pages/offers/features.tsx b/apps/portal/src/pages/offers/features.tsx index ebd4cac3..77ca380c 100644 --- a/apps/portal/src/pages/offers/features.tsx +++ b/apps/portal/src/pages/offers/features.tsx @@ -8,11 +8,11 @@ import { UsersIcon, } from '@heroicons/react/24/outline'; -import offersAnalysis from '~/components/offers/landing/images/offers-analysis.png'; -import offersBrowse from '~/components/offers/landing/images/offers-browse.png'; -import offersProfile from '~/components/offers/landing/images/offers-profile.png'; -import LeftTextCard from '~/components/offers/landing/LeftTextCard'; -import RightTextCard from '~/components/offers/landing/RightTextCard'; +import offersAnalysis from '~/components/offers/features/images/offers-analysis.png'; +import offersBrowse from '~/components/offers/features/images/offers-browse.png'; +import offersProfile from '~/components/offers/features/images/offers-profile.png'; +import LeftTextCard from '~/components/offers/features/LeftTextCard'; +import RightTextCard from '~/components/offers/features/RightTextCard'; import { HOME_URL } from '~/components/offers/types'; const features = [ @@ -87,6 +87,11 @@ export default function LandingPage() { {/* Hero section */}
+ Tech Offers Repo

Choosing offers @@ -121,16 +126,16 @@ export default function LandingPage() { />
@@ -149,16 +154,16 @@ export default function LandingPage() {