import React, { useEffect, useRef } from 'react'; import Chatbot from '../components/Chatbot'; import { useAuth } from '../context/AuthContext'; import { ArrowRight, CheckCircle2, Home, Star, ShieldCheck, Clock, Award, TrendingDown, Users } from 'lucide-react'; import { Link } from 'react-router-dom'; import { SpotlightCard } from '../components/SpotlightCard'; import { ComparisonSlider } from '../components/ComparisonSlider'; import gsap from 'gsap'; import { ScrollTrigger } from 'gsap/ScrollTrigger'; import Logo from '../assets/images/LynkedUp_Pro_F_logo_Y.png'; import HeroImg from '../assets/images/hero.png'; import ProcessImg1 from '../assets/images/process.png'; import ProcessImg2 from '../assets/images/process-2.png'; import ProcessImg3 from '../assets/images/process-3.png'; import TestimonialsImg from '../assets/images/testimonials.png'; gsap.registerPlugin(ScrollTrigger); const Landing = () => { const { user } = useAuth(); const heroRef = useRef(null); const textRef = useRef(null); const sectionsRef = useRef([]); useEffect(() => { // Hero Animation gsap.fromTo(textRef.current.children, { y: 50, opacity: 0 }, { y: 0, opacity: 1, duration: 1, stagger: 0.2, ease: "power3.out" } ); // Scroll Animations sectionsRef.current.forEach((el) => { gsap.fromTo(el, { y: 50, opacity: 0 }, { y: 0, opacity: 1, duration: 0.8, ease: "power2.out", scrollTrigger: { trigger: el, start: "top 80%", } } ); }); }, []); const addToRefs = (el) => { if (el && !sectionsRef.current.includes(el)) { sectionsRef.current.push(el); } }; return (
{/* DITHER EFFECT - Fixed Overlay */}
{/* Nav */} {/* HERO SECTION */}
{/* Background Image with Overlay */}
Modern Roof
🇺🇸 Proudly American • Made by Americans, For Americans

ROOFING
REVOLUTIONIZED

Automated drone inspections. Instant AI estimates.
Restoring your home's integrity with 20+ years of precision.

Get Free Estimate
{/* Patriotic Discount Banner */}

Active Duty, Veterans & Seniors

Get an exclusive 15% Discount on all services.

{/* Satisfaction Badges */}
500+ Happy Homes
Licensed & Insured
{/* PROCESS SECTION (From Sky to Safety) */}
The Workflow

From Sky to Safety in 3 Steps.

{/* Step 1 */}
The Scan
LIDAR_MAPPING_ACTIVE
01

The Scan.

Drones use LiDAR imagery and high-fidelity photogrammetry to map out your roof in sub-millimeter detail. We capture every angle, creating a perfect digital twin of your property without anyone ever stepping foot on a ladder.

  • 100% Contactless Inspection
  • 15-Minute Flight Time
{/* Step 2 */}
02

The Diagnosis.

This data is sent to our AI models, which instantly diagnose issues invisible to the naked eye. The algorithm highlights storm damage, wear patterns, and insulation failures, scoring them by urgency.

"Better, faster, and more accurate decisions—eliminating human error."
The Diagnosis
SCAN_ID: 8842-A
Structure Integrity 76%
Moisture Level CRITICAL
{/* Step 3 */}
The Resolution
03

The Resolution.

Armed with precise data, our certified ground team executes the repair cheaply and effectively. Homeowners are assured and relaxed, knowing they are getting the best of the best.

Cost Efficient Data-Backed
{/* COMPARISON SLIDER SECTION */}
{/* FACT CHECK & STATS */}

Why Risk The Wait?

Delaying roof repairs leads to exponential damage. Here are the facts.

40%

Insurance Denials

Of claims are denied due to "lack of maintenance" if proof of regular inspection isn't provided.

5yrs

Life Reduced

A minor leak left for 6 months can reduce your roof's lifespan by up to 5 years.

15m

Our Estimate Time

While others take days, we give you a quote before our drone even lands.

{/* TESTIMONIALS */}

Neighbors Who Love Us

{/* Senior/Veteran Testimonial */}
Veterans

The Hendersons

Retired Veterans • Plano, TX

"The veteran discount was such a blessing. They found a leak our previous inspector missed completely. The drone technology was fascinating to watch!"

JD

James D.

Homeowner • Frisco, TX

"I requested a quote at 9am and had the repair scheduled by noon. The transparency with the 3D model made me feel confident in the price."

SM

Sarah M.

Investor • Dallas, TX

"Managing 5 properties is hard. LynkedUpPro makes it easy. I can see the roof status of all my houses on my dashboard. Incredible tool."

); }; export default Landing;