diff --git a/teamies/splash.jsx b/teamies/splash.jsx new file mode 100644 index 0000000..2314349 --- /dev/null +++ b/teamies/splash.jsx @@ -0,0 +1,41 @@ +import { useState, useEffect } from 'react' +import { Navigation } from './components/navigation' +import { Header } from './components/header' +import { Features } from './components/features' +import { About } from './components/about' +import { Services } from './components/services' +import { Gallery } from './components/gallery' +import { Testimonials } from './components/testimonials' +import { Team } from './components/Team' +import { Contact } from './components/contact' +import JsonData from './data/data.json' +import SmoothScroll from 'smooth-scroll' + +export const scroll = new SmoothScroll('a[href*="#"]', { + speed: 1000, + speedAsDuration: true, +}) + +const App = () => { + const [landingPageData, setLandingPageData] = useState({}) + useEffect(() => { + setLandingPageData(JsonData) + }, []) + + return ( +
+ +
+ + + + + + + + +
+ ) +} + +export default App