feat: customize navbar links, add Reach Us dropdown, and set contact footer links
Browse files
frontend/src/pages/LandingPage.tsx
CHANGED
|
@@ -14,6 +14,7 @@ type AuthMode = 'signin' | 'signup';
|
|
| 14 |
|
| 15 |
export default function LandingPage({ onGoogleLogin, googleClientId, onAuthSuccess, apiUrl }: LandingPageProps) {
|
| 16 |
const [showAuthModal, setShowAuthModal] = useState(false);
|
|
|
|
| 17 |
const [authMode, setAuthMode] = useState<AuthMode>('signin');
|
| 18 |
|
| 19 |
// Form States
|
|
@@ -201,8 +202,8 @@ export default function LandingPage({ onGoogleLogin, googleClientId, onAuthSucce
|
|
| 201 |
</div>
|
| 202 |
|
| 203 |
{/* Navigation Links */}
|
| 204 |
-
<nav className="hidden md:flex items-center gap-8">
|
| 205 |
-
<a href="#hero" className="text-sm font-medium text-foreground transition-colors">
|
| 206 |
Home
|
| 207 |
</a>
|
| 208 |
<a href="#stack" className="text-sm font-medium text-muted-foreground hover:text-foreground transition-colors">
|
|
@@ -211,12 +212,52 @@ export default function LandingPage({ onGoogleLogin, googleClientId, onAuthSucce
|
|
| 211 |
<a href="#capabilities" className="text-sm font-medium text-muted-foreground hover:text-foreground transition-colors">
|
| 212 |
Capabilities
|
| 213 |
</a>
|
| 214 |
-
<
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 220 |
</nav>
|
| 221 |
|
| 222 |
{/* CTA Trigger */}
|
|
@@ -402,9 +443,9 @@ export default function LandingPage({ onGoogleLogin, googleClientId, onAuthSucce
|
|
| 402 |
<div className="max-w-7xl mx-auto px-8 flex flex-col sm:flex-row justify-between items-center gap-4">
|
| 403 |
<span className="font-light">© {new Date().getFullYear()} QuantIQ Platform. All rights reserved.</span>
|
| 404 |
<div className="flex gap-6">
|
| 405 |
-
<a href="
|
| 406 |
-
<a href="
|
| 407 |
-
<a href="
|
| 408 |
</div>
|
| 409 |
</div>
|
| 410 |
</footer>
|
|
|
|
| 14 |
|
| 15 |
export default function LandingPage({ onGoogleLogin, googleClientId, onAuthSuccess, apiUrl }: LandingPageProps) {
|
| 16 |
const [showAuthModal, setShowAuthModal] = useState(false);
|
| 17 |
+
const [showReachUs, setShowReachUs] = useState(false);
|
| 18 |
const [authMode, setAuthMode] = useState<AuthMode>('signin');
|
| 19 |
|
| 20 |
// Form States
|
|
|
|
| 202 |
</div>
|
| 203 |
|
| 204 |
{/* Navigation Links */}
|
| 205 |
+
<nav className="hidden md:flex items-center gap-8 relative">
|
| 206 |
+
<a href="#hero" className="text-sm font-medium text-muted-foreground hover:text-foreground transition-colors">
|
| 207 |
Home
|
| 208 |
</a>
|
| 209 |
<a href="#stack" className="text-sm font-medium text-muted-foreground hover:text-foreground transition-colors">
|
|
|
|
| 212 |
<a href="#capabilities" className="text-sm font-medium text-muted-foreground hover:text-foreground transition-colors">
|
| 213 |
Capabilities
|
| 214 |
</a>
|
| 215 |
+
<div className="relative">
|
| 216 |
+
<button
|
| 217 |
+
onClick={() => setShowReachUs(prev => !prev)}
|
| 218 |
+
className="text-sm font-medium text-muted-foreground hover:text-foreground transition-colors cursor-pointer flex items-center gap-1 outline-none"
|
| 219 |
+
>
|
| 220 |
+
Reach Us
|
| 221 |
+
</button>
|
| 222 |
+
{showReachUs && (
|
| 223 |
+
<div className="absolute top-full left-1/2 -translate-x-1/2 mt-3 w-48 p-2 rounded-2xl liquid-glass border border-white/10 shadow-2xl flex flex-col gap-1 z-20">
|
| 224 |
+
<a
|
| 225 |
+
href="https://www.linkedin.com/in/karan-shelar-779381343/"
|
| 226 |
+
target="_blank"
|
| 227 |
+
rel="noopener noreferrer"
|
| 228 |
+
onClick={() => setShowReachUs(false)}
|
| 229 |
+
className="px-4 py-2 rounded-xl hover:bg-white/5 text-xs text-muted-foreground hover:text-foreground transition-colors text-left"
|
| 230 |
+
>
|
| 231 |
+
LinkedIn
|
| 232 |
+
</a>
|
| 233 |
+
<a
|
| 234 |
+
href="https://github.com/Edge-Explorer"
|
| 235 |
+
target="_blank"
|
| 236 |
+
rel="noopener noreferrer"
|
| 237 |
+
onClick={() => setShowReachUs(false)}
|
| 238 |
+
className="px-4 py-2 rounded-xl hover:bg-white/5 text-xs text-muted-foreground hover:text-foreground transition-colors text-left"
|
| 239 |
+
>
|
| 240 |
+
GitHub Profile
|
| 241 |
+
</a>
|
| 242 |
+
<a
|
| 243 |
+
href="https://github.com/Edge-Explorer/QuantIQ"
|
| 244 |
+
target="_blank"
|
| 245 |
+
rel="noopener noreferrer"
|
| 246 |
+
onClick={() => setShowReachUs(false)}
|
| 247 |
+
className="px-4 py-2 rounded-xl hover:bg-white/5 text-xs text-muted-foreground hover:text-foreground transition-colors text-left"
|
| 248 |
+
>
|
| 249 |
+
GitHub Repository
|
| 250 |
+
</a>
|
| 251 |
+
<a
|
| 252 |
+
href="mailto:karanshelar8775@gmail.com"
|
| 253 |
+
onClick={() => setShowReachUs(false)}
|
| 254 |
+
className="px-4 py-2 rounded-xl hover:bg-white/5 text-xs text-muted-foreground hover:text-foreground transition-colors text-left border-t border-white/5 mt-1 pt-3"
|
| 255 |
+
>
|
| 256 |
+
Email Developer
|
| 257 |
+
</a>
|
| 258 |
+
</div>
|
| 259 |
+
)}
|
| 260 |
+
</div>
|
| 261 |
</nav>
|
| 262 |
|
| 263 |
{/* CTA Trigger */}
|
|
|
|
| 443 |
<div className="max-w-7xl mx-auto px-8 flex flex-col sm:flex-row justify-between items-center gap-4">
|
| 444 |
<span className="font-light">© {new Date().getFullYear()} QuantIQ Platform. All rights reserved.</span>
|
| 445 |
<div className="flex gap-6">
|
| 446 |
+
<a href="https://github.com/Edge-Explorer/QuantIQ" target="_blank" rel="noopener noreferrer" className="hover:text-foreground transition-colors">GitHub Repo</a>
|
| 447 |
+
<a href="https://www.linkedin.com/in/karan-shelar-779381343/" target="_blank" rel="noopener noreferrer" className="hover:text-foreground transition-colors">LinkedIn</a>
|
| 448 |
+
<a href="mailto:karanshelar8775@gmail.com" className="hover:text-foreground transition-colors">Reach Us</a>
|
| 449 |
</div>
|
| 450 |
</div>
|
| 451 |
</footer>
|