diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 317f339..ee6ee46 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -1,10 +1,12 @@ -import { Navbar, Hero, ProblemSolution, HowItWorks, InteractiveDemo } from './components'; +import { Navbar, Footer, Hero, ProblemSolution, HowItWorks, InteractiveDemo, OnboardingWizard } from './components'; import './App.css'; function App() { const handlePrimaryCta = () => { - console.log('Primary CTA clicked: Ottieni Webhook URL'); - // TODO: Implementare logica per generazione webhook + const onboardingSection = document.getElementById('onboarding'); + if (onboardingSection) { + onboardingSection.scrollIntoView({ behavior: 'smooth' }); + } }; const handleSecondaryCta = () => { @@ -15,8 +17,15 @@ function App() { }; const handleNavbarCta = () => { - console.log('Navbar CTA clicked: Inizia Gratis'); - // TODO: Scroll to form o apertura modal + const onboardingSection = document.getElementById('onboarding'); + if (onboardingSection) { + onboardingSection.scrollIntoView({ behavior: 'smooth' }); + } + }; + + const handleOnboardingComplete = () => { + console.log('Onboarding completato!'); + // TODO: Redirect to dashboard o mostra messaggio success }; return ( @@ -30,7 +39,9 @@ function App() { + +