From 6543a72206fd36d9622e3dadfdc50019acc98046 Mon Sep 17 00:00:00 2001 From: RIT Services Date: Thu, 13 Aug 2026 06:46:14 +0000 Subject: [PATCH] feat: Add Pitch your Idea - RAISE navigation button to Navbar and Hero section --- src/components/Navbar/Navbar.tsx | 23 ++++++++++++++++++++++- src/constants/index.ts | 1 + src/pages/Home/Home.tsx | 13 +++++++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) diff --git a/src/components/Navbar/Navbar.tsx b/src/components/Navbar/Navbar.tsx index a27b419..c33986f 100644 --- a/src/components/Navbar/Navbar.tsx +++ b/src/components/Navbar/Navbar.tsx @@ -1,7 +1,7 @@ import { useState, useEffect, useRef } from 'react'; import { Link, useLocation } from 'react-router-dom'; import { motion, AnimatePresence } from 'framer-motion'; -import { Menu, X, LogIn, LogOut, ShieldCheck, ChevronDown } from 'lucide-react'; +import { Menu, X, LogIn, LogOut, ShieldCheck, ChevronDown, Rocket, Sparkles } from 'lucide-react'; import { NAV_LINKS } from '@/constants'; import { useAuth } from '@/context/AuthContext'; @@ -121,6 +121,16 @@ export default function Navbar() { {/* Right Side: Auth + Mobile Toggle */}
+ {/* Pitch your Idea - RAISE Button */} + + + Pitch your Idea - RAISE + + {/* Auth Section */} {isAuthenticated && user ? (
@@ -267,6 +277,17 @@ export default function Navbar() { ); })} + {/* Mobile RAISE Button */} + setIsMobileOpen(false)} + className="col-span-2 mt-1 flex items-center justify-center gap-2 px-4 py-2.5 rounded-xl text-white text-xs font-bold bg-gradient-to-r from-rose-500 to-pink-600 border border-rose-400/40 shadow-md shadow-rose-500/20 transition-all active:scale-95" + style={{ fontFamily: 'Poppins, sans-serif' }} + > + + Pitch your Idea - RAISE + + {/* Mobile Auth Button */} {!isAuthenticated ? (