Skip to content

Commit

Permalink
add loader
Browse files Browse the repository at this point in the history
  • Loading branch information
QuvonchbekBobojonov committed Mar 7, 2024
1 parent 8bebe0c commit c381584
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 31 deletions.
54 changes: 26 additions & 28 deletions frontend/src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@


import { useEffect } from 'react'
import {useEffect} from 'react'
import gsap from 'gsap';
import { ScrollTrigger } from 'gsap/ScrollTrigger';
import {ScrollTrigger} from 'gsap/ScrollTrigger';

import About from "./components/about"
import BodyOverlay from "./components/body-overlay"
Expand Down Expand Up @@ -80,47 +78,47 @@ function App() {
});
}, []);

return (
<div className="home-page">
return (
<div className="home-page">

<BodyOverlay />
<BodyOverlay/>

<PageLoader />
<PageLoader/>

<SidebarMenu />
<SidebarMenu/>

<ScrollNav />
<ScrollNav/>

<LeftSidebar />
<LeftSidebar/>

<main className="drake-main">
<div id="smooth-wrapper">
<div id="smooth-content">
<main className="drake-main">
<div id="smooth-wrapper">
<div id="smooth-content">

<LeftSidebarMobile />
<LeftSidebarMobile/>

<Home />
<Home/>

<About />
<About/>

<Resume />
<Resume/>

<Services />
<Services/>

<Skills />
<Skills/>

<Portfolio />
<Portfolio/>

{/*<Testimonial />*/}
{/*<Testimonial />*/}

{/*<Pricing />*/}
{/*<Pricing />*/}

<Contact />
</div>
<Contact/>
</div>
</div>
</main>
</div>
</main>
</div>
)
)
}

export default App
2 changes: 1 addition & 1 deletion frontend/src/components/left-sidebar/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function LeftSidebar() {
<img className="me" src={meImage} alt="Me" />
<h2 className="email">[email protected]</h2>
<h2 className="address">Uzbekistan, Xorazm, Yangibozor</h2>
<p className="copyright">&copy; 2023 Moorfo. Barcha huquqlar himoyalangan</p>
<p className="copyright">&copy; {new Date().getFullYear()} Moorfo. Barcha huquqlar himoyalangan</p>
<ul className="social-profile d-flex align-items-center flex-wrap justify-content-center">
<li>
<a href="https://www.linkedin.com/in/moorfo/" target='_blank' rel="noreferrer"><i className="lab la-linkedin-in"></i></a>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/page-loader/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ function PageLoader() {

setTimeout(() => {
pageLoader.style.display = 'none';
}, 1500);
}, 2000);
}
}, 1000);
}, 1500);
}, []);

return (
Expand Down

0 comments on commit c381584

Please sign in to comment.