From 7b9c3f0c3083cecef03e0005303c17c166bbf545 Mon Sep 17 00:00:00 2001
From: tali-creator
Date: Sat, 5 Jul 2025 00:50:07 +0100
Subject: [PATCH 1/2] About us page created
---
frontend/src/components/landingPage/hero.tsx | 7 ++-
.../src/components/landingPage/howitWorks.tsx | 1 +
.../src/components/landingPage/navBar.tsx | 55 ++++++++++---------
3 files changed, 37 insertions(+), 26 deletions(-)
diff --git a/frontend/src/components/landingPage/hero.tsx b/frontend/src/components/landingPage/hero.tsx
index c745a1b..8971539 100644
--- a/frontend/src/components/landingPage/hero.tsx
+++ b/frontend/src/components/landingPage/hero.tsx
@@ -6,8 +6,13 @@ import Button from "../ui/Button";
import { ArrowRight } from "lucide-react";
import Link from "next/link";
import { useModalStore } from "@/stores/modalStore";
+import { useAuth } from "@/context/authContext";
+
export default function Hero() {
+
+ const {user} = useAuth()
+
const onLoginModal = useModalStore((state) => state.onLoginPrompt);
return (
@@ -30,7 +35,7 @@ export default function Hero() {
-