Spaces:
Running
Running
Update components/LandingPage.tsx
Browse files
components/LandingPage.tsx
CHANGED
|
@@ -1,12 +1,13 @@
|
|
| 1 |
|
| 2 |
import React from 'react';
|
| 3 |
-
import { Sparkles, ArrowRight, Layers, Brain, Code2, Zap, Layout, ShieldCheck, Box } from 'lucide-react';
|
| 4 |
|
| 5 |
interface LandingPageProps {
|
| 6 |
onEnterApp: () => void;
|
|
|
|
| 7 |
}
|
| 8 |
|
| 9 |
-
const LandingPage: React.FC<LandingPageProps> = ({ onEnterApp }) => {
|
| 10 |
const handleScrollTo = (id: string) => {
|
| 11 |
const element = document.getElementById(id);
|
| 12 |
if (element) {
|
|
@@ -29,6 +30,9 @@ const LandingPage: React.FC<LandingPageProps> = ({ onEnterApp }) => {
|
|
| 29 |
</div>
|
| 30 |
<div className="hidden md:flex items-center gap-6 text-sm font-medium text-slate-400">
|
| 31 |
<button onClick={() => handleScrollTo('features')} className="hover:text-white transition-colors">Features</button>
|
|
|
|
|
|
|
|
|
|
| 32 |
<button onClick={onEnterApp} className="hover:text-white transition-colors">AI Agents</button>
|
| 33 |
<button onClick={onEnterApp} className="hover:text-white transition-colors">Code Gen</button>
|
| 34 |
</div>
|
|
|
|
| 1 |
|
| 2 |
import React from 'react';
|
| 3 |
+
import { Sparkles, ArrowRight, Layers, Brain, Code2, Zap, Layout, ShieldCheck, Box, Book } from 'lucide-react';
|
| 4 |
|
| 5 |
interface LandingPageProps {
|
| 6 |
onEnterApp: () => void;
|
| 7 |
+
onShowHelp: () => void;
|
| 8 |
}
|
| 9 |
|
| 10 |
+
const LandingPage: React.FC<LandingPageProps> = ({ onEnterApp, onShowHelp }) => {
|
| 11 |
const handleScrollTo = (id: string) => {
|
| 12 |
const element = document.getElementById(id);
|
| 13 |
if (element) {
|
|
|
|
| 30 |
</div>
|
| 31 |
<div className="hidden md:flex items-center gap-6 text-sm font-medium text-slate-400">
|
| 32 |
<button onClick={() => handleScrollTo('features')} className="hover:text-white transition-colors">Features</button>
|
| 33 |
+
<button onClick={onShowHelp} className="hover:text-white transition-colors">
|
| 34 |
+
Help
|
| 35 |
+
</button>
|
| 36 |
<button onClick={onEnterApp} className="hover:text-white transition-colors">AI Agents</button>
|
| 37 |
<button onClick={onEnterApp} className="hover:text-white transition-colors">Code Gen</button>
|
| 38 |
</div>
|