'use client' import { useEffect, useState } from 'react' import dynamic from 'next/dynamic' import Link from 'next/link' import { Button } from '@/components/ui/button' import { ThemeToggle } from '@/components/ui/ThemeToggle' import { HeroSection } from '@/components/landing/LandingSections' import { motion, AnimatePresence } from 'framer-motion' import { Check, ChevronDown, Monitor, Globe, Shield, Clock, Zap, Menu } from 'lucide-react' // Dynamic imports for performance optimization (lazy loading) const UseCaseShowcase = dynamic( () => import('@/components/landing/LandingSections').then(mod => ({ default: mod.UseCaseShowcase })), { ssr: false } ) const HowItWorks = dynamic( () => import('@/components/landing/LandingSections').then(mod => ({ default: mod.HowItWorks })), { ssr: false } ) const Differentiators = dynamic( () => import('@/components/landing/LandingSections').then(mod => ({ default: mod.Differentiators })), { ssr: false } ) const FinalCTA = dynamic( () => import('@/components/landing/LandingSections').then(mod => ({ default: mod.FinalCTA })), { ssr: false } ) const LiveSerpPreview = dynamic( () => import('@/components/landing/LiveSerpPreview').then(mod => ({ default: mod.LiveSerpPreview })), { ssr: false } ) export default function Home() { const [openFaq, setOpenFaq] = useState(null) const [mobileMenuOpen, setMobileMenuOpen] = useState(false) const [scrollProgress, setScrollProgress] = useState(0) // Scroll progress tracking useEffect(() => { const handleScroll = () => { const totalScroll = document.documentElement.scrollHeight - window.innerHeight const progress = totalScroll > 0 ? (window.scrollY / totalScroll) * 100 : 0 setScrollProgress(progress) } window.addEventListener('scroll', handleScroll, { passive: true }) return () => window.removeEventListener('scroll', handleScroll) }, []) const faqs = [ { question: 'What is website monitoring?', answer: 'Website monitoring is the process of testing and verifying that end-users can interact with a website or web application as expected. It continuously checks your website for changes, downtime, or performance issues.' }, { question: 'How fast are the alerts?', answer: 'Our alerts are sent within seconds of detecting a change. You can configure notifications via email, webhook, Slack, or other integrations.' }, { question: 'Can I monitor SSL certificates?', answer: 'Yes! We automatically monitor SSL certificate expiration and will alert you before your certificate expires.' }, { question: 'Do you offer a free trial?', answer: 'Yes, we offer a free Starter plan that includes 3 monitors with hourly checks. No credit card required.' } ] return (
{/* Header */}
MonitorTool
{/* Mobile Menu Button */}
{/* Mobile Menu */} {mobileMenuOpen && (
setMobileMenuOpen(false)} className="text-sm font-medium text-muted-foreground hover:text-foreground">Features setMobileMenuOpen(false)} className="text-sm font-medium text-muted-foreground hover:text-foreground">Use Cases
)}
{/* Scroll Progress Indicator */} {/* Hero Section */} {/* Live SERP Preview Tool */} {/* Use Case Showcase */} {/* How It Works */} {/* Differentiators */} {/* FAQ Section */} < section id="faq" className="border-t border-border/40 py-24 bg-background" >

Frequently Asked Questions

{faqs.map((faq, index) => ( {openFaq === index && ( {faq.answer} )} ))}
{/* Final CTA */} {/* Footer */} < footer className="border-t border-border bg-background py-12 text-sm" >
MonitorTool

The modern platform for uptime monitoring, change detection, and performance tracking.

{/* Social icons placeholders */}

Product

  • Features
  • Use Cases

Company

  • About
  • Blog
  • Careers
  • Contact

Legal

  • Privacy
  • Terms
  • Cookie Policy

© 2026 MonitorTool. All rights reserved.

System Operational
) }