From 23c9b530bc15b45c24b1319edc2c515e9decc9be Mon Sep 17 00:00:00 2001 From: Alexis Benoliel Date: Wed, 5 Mar 2025 16:36:07 +0100 Subject: [PATCH] Add cta on page header discover (#1048) Co-authored-by: Hayden Cleary <5160414+haydencleary@users.noreply.github.com> --- .../_features/page-header/page-header.tsx | 59 +++++++++++++++++-- 1 file changed, 53 insertions(+), 6 deletions(-) diff --git a/app/(saas)/discover/_features/page-header/page-header.tsx b/app/(saas)/discover/_features/page-header/page-header.tsx index a3aa74755..7ff6093e1 100644 --- a/app/(saas)/discover/_features/page-header/page-header.tsx +++ b/app/(saas)/discover/_features/page-header/page-header.tsx @@ -1,11 +1,61 @@ import background from "@/public/images/backgrounds/discover-header.png"; -import { ArrowRight } from "lucide-react"; +import { ArrowRight, Bot, FolderSearch, LayoutList } from "lucide-react"; import Image from "next/image"; +import Link from "next/link"; +import { NEXT_ROUTER } from "@/shared/constants/router"; import { Button } from "@/shared/ui/button"; +import { Card, CardDescription, CardHeader, CardTitle } from "@/shared/ui/card"; +import { GlowingEffect } from "@/shared/ui/glowing-effect"; import { TypographyH2, TypographyP } from "@/shared/ui/typography"; -export function PageHeader() { +function HasSufficentData() { + return ( + + ); +} + +function NoSufficentData() { + return ( +
+ Didn’t find what you’re looking for? +
+ + + + + +
+ + Browse +
+ Explore projects on your own with Browse. +
+
+ + + + + + +
+ + ODSay +
+ Let our chatbot help you find the right project. +
+
+ +
+
+ ); +} +export function PageHeader({ hasSufficentData = false }: { hasSufficentData?: boolean }) { + const Footer = hasSufficentData ? HasSufficentData : NoSufficentData; + return (
- +
);