From 2657469964e24ffbeb905024532120395f6e797c Mon Sep 17 00:00:00 2001
From: Mo Tarbin <mhed.t91@gmail.com>
Date: Sun, 30 Jun 2024 18:55:39 -0400
Subject: move to Donetick Org, First commit frontend

---
 src/views/Landing/Landing.jsx | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 src/views/Landing/Landing.jsx

(limited to 'src/views/Landing/Landing.jsx')

diff --git a/src/views/Landing/Landing.jsx b/src/views/Landing/Landing.jsx
new file mode 100644
index 0000000..2041e42
--- /dev/null
+++ b/src/views/Landing/Landing.jsx
@@ -0,0 +1,32 @@
+import { Container } from '@mui/joy'
+import AOS from 'aos'
+import 'aos/dist/aos.css'
+import { useEffect, useState } from 'react'
+import { useNavigate } from 'react-router-dom'
+import FeaturesSection from './FeaturesSection'
+import HomeHero from './HomeHero'
+import PricingSection from './PricingSection'
+const Landing = () => {
+  const Navigate = useNavigate()
+  const getCurrentUser = () => {
+    return JSON.parse(localStorage.getItem('user'))
+  }
+  const [users, setUsers] = useState([])
+  const [currentUser, setCurrentUser] = useState(getCurrentUser())
+
+  useEffect(() => {
+    AOS.init({
+      once: false, // whether animation should happen only once - while scrolling down
+    })
+  }, [])
+
+  return (
+    <Container className='flex h-full items-center justify-center'>
+      <HomeHero />
+      <FeaturesSection />
+      <PricingSection />
+    </Container>
+  )
+}
+
+export default Landing
-- 
cgit 

