diff --git a/apps/portal/public/bank-logo.png b/apps/portal/public/logos/bank-logo.png similarity index 100% rename from apps/portal/public/bank-logo.png rename to apps/portal/public/logos/bank-logo.png diff --git a/apps/portal/public/offers-logo.svg b/apps/portal/public/logos/offers-logo.svg similarity index 100% rename from apps/portal/public/offers-logo.svg rename to apps/portal/public/logos/offers-logo.svg diff --git a/apps/portal/public/resumes-logo.svg b/apps/portal/public/logos/resumes-logo.svg similarity index 100% rename from apps/portal/public/resumes-logo.svg rename to apps/portal/public/logos/resumes-logo.svg diff --git a/apps/portal/src/components/global/AppShell.tsx b/apps/portal/src/components/global/AppShell.tsx index 1f1979da..aa98eca6 100644 --- a/apps/portal/src/components/global/AppShell.tsx +++ b/apps/portal/src/components/global/AppShell.tsx @@ -44,7 +44,7 @@ function ProfileJewel() { } const userNavigation = [ - { href: '/profile', name: 'Profile' }, + // { href: '/profile', name: 'Profile' }, { href: '/api/auth/signout', name: 'Log out', diff --git a/apps/portal/src/components/global/ProductNavigation.tsx b/apps/portal/src/components/global/ProductNavigation.tsx index bdd8efd6..60f8c328 100644 --- a/apps/portal/src/components/global/ProductNavigation.tsx +++ b/apps/portal/src/components/global/ProductNavigation.tsx @@ -36,14 +36,13 @@ export default function ProductNavigation({ className="hover:text-primary-700 flex items-center gap-2 text-base font-medium" href={titleHref}>
- {titleHref !== '/' && - (logo ?? ( - Tech Interview Handbook - ))} + {logo ?? ( + Tech Interview Handbook + )}
{title} diff --git a/apps/portal/src/components/offers/OffersNavigation.tsx b/apps/portal/src/components/offers/OffersNavigation.tsx index cf4b8e1f..11bc1856 100644 --- a/apps/portal/src/components/offers/OffersNavigation.tsx +++ b/apps/portal/src/components/offers/OffersNavigation.tsx @@ -16,7 +16,11 @@ const navigationAuthenticated: ProductNavigationItems = [ const config = { googleAnalyticsMeasurementID: 'G-34XRGLEVCF', logo: ( - Tech Offers Repo + Tech Offers Repo ), navigation, showGlobalNav: false, diff --git a/apps/portal/src/components/questions/LandingComponent.tsx b/apps/portal/src/components/questions/LandingComponent.tsx index 6972f22a..7996a036 100644 --- a/apps/portal/src/components/questions/LandingComponent.tsx +++ b/apps/portal/src/components/questions/LandingComponent.tsx @@ -70,9 +70,9 @@ export default function LandingComponent({ onLanded }: LandingComponentProps) {
Questions Bank

Tech Interview Question Bank diff --git a/apps/portal/src/components/questions/QuestionsNavigation.tsx b/apps/portal/src/components/questions/QuestionsNavigation.tsx index dfbd97b3..116b1474 100644 --- a/apps/portal/src/components/questions/QuestionsNavigation.tsx +++ b/apps/portal/src/components/questions/QuestionsNavigation.tsx @@ -11,7 +11,11 @@ const navigation: ProductNavigationItems = [ const config = { googleAnalyticsMeasurementID: 'G-0T4LYWMK8L', logo: ( - Questions Bank + Questions Bank ), navigation, showGlobalNav: false, diff --git a/apps/portal/src/components/resumes/ResumesNavigation.tsx b/apps/portal/src/components/resumes/ResumesNavigation.tsx index ba39547c..c73299c4 100644 --- a/apps/portal/src/components/resumes/ResumesNavigation.tsx +++ b/apps/portal/src/components/resumes/ResumesNavigation.tsx @@ -26,7 +26,7 @@ const config = { Tech Resume Review ), navigation, diff --git a/apps/portal/src/pages/index.tsx b/apps/portal/src/pages/index.tsx index 51f58469..a16a0ec8 100644 --- a/apps/portal/src/pages/index.tsx +++ b/apps/portal/src/pages/index.tsx @@ -1,13 +1,75 @@ +import { Button } from '@tih/ui'; + +import Container from '~/components/shared/Container'; + +const features = [ + { + description: + 'Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores impedit perferendis suscipit eaque, iste dolor cupiditate blanditiis ratione.', + href: '/resumes', + img: '/logos/resumes-logo.svg', + name: 'Resume Review', + }, + { + description: + 'Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores impedit perferendis suscipit eaque, iste dolor cupiditate blanditiis ratione.', + href: '/offers', + img: '/logos/offers-logo.svg', + name: 'Tech Offers', + }, + { + description: + 'Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores impedit perferendis suscipit eaque, iste dolor cupiditate blanditiis ratione.', + href: '/questions', + img: '/logos/bank-logo.png', + name: 'Question Bank', + }, +]; + export default function HomePage() { return ( -
-
-
-

- Tech Interview Handbook Portal +
+ +
+

+ Tech Interview Handbook + Portal

+

+ Suite of products to help you get better at technical interviews. +

-
-

+
+

Products.

+
+ {features.map((feature) => ( +
+
+
+ {feature.name} +
+

+ {feature.name} +

+
+
+ {feature.description} +
+
+ ))} +
+
+ +

); } diff --git a/apps/portal/src/pages/offers/features.tsx b/apps/portal/src/pages/offers/features.tsx index cfe04a35..6457070e 100644 --- a/apps/portal/src/pages/offers/features.tsx +++ b/apps/portal/src/pages/offers/features.tsx @@ -90,7 +90,7 @@ export default function LandingPage() { Tech Offers Repo

Choosing offers