diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a547bf3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/App.tsx b/App.tsx new file mode 100644 index 0000000..7719945 --- /dev/null +++ b/App.tsx @@ -0,0 +1,74 @@ +import React, { useEffect, useRef } from 'react'; +import Lenis from '@studio-freight/lenis'; +import gsap from 'gsap'; +import { ScrollTrigger } from 'gsap/ScrollTrigger'; +import { ScrollToPlugin } from 'gsap/ScrollToPlugin'; +import Navbar from './components/Navbar'; +import Hero from './components/Hero'; +import Mission from './components/Mission'; +import Services from './components/Services'; +import Process from './components/Process'; +import Features from './components/Features'; +import Blog from './components/Blog'; +import Contact from './components/Contact'; +import Footer from './components/Footer'; +import BackToTop from './components/BackToTop'; + +// Register GSAP plugins globally +gsap.registerPlugin(ScrollTrigger, ScrollToPlugin); + +// Grain Overlay Component +const GrainOverlay = () => ( +
+); + +export default function App() { + useEffect(() => { + // Initialize Lenis for smooth scrolling + const lenis = new Lenis({ + duration: 1.2, + easing: (t) => Math.min(1, 1.001 - Math.pow(2, -10 * t)), + direction: 'vertical', + gestureDirection: 'vertical', + smooth: true, + smoothTouch: false, + touchMultiplier: 2, + } as any); + + // Synchronize Lenis with GSAP ScrollTrigger + lenis.on('scroll', ScrollTrigger.update); + + const ticker = (time: number) => { + lenis.raf(time * 1000); + }; + + // Use GSAP ticker for smoother animation loop integration + gsap.ticker.add(ticker); + + // Disable lag smoothing to prevent jumps + gsap.ticker.lagSmoothing(0); + + return () => { + gsap.ticker.remove(ticker); + lenis.destroy(); + }; + }, []); + + return ( +The fastest path from prompt to production with Gemini.
- - Start building -+ {post.excerpt} +
++ Ready to elevate your IT infrastructure? Fill out the form below and we'll get back to you shortly. +
++ {feature.desc} +
++ Bay Area Affiliates is your silent partner in technology. We provide the infrastructure that whispers clarity, ensures uptime, and guides your business growth. +
+ ++ Technology shouldn't be a hurdle; it should be the wind at your back. From seamless cloud migrations to robust cybersecurity, we handle the complexities so you can focus on what matters most: your business. +
+Technicians dispatched within 2 hours for critical failures in the Bay Area.
++ {step.desc} +
+