diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-06-20 09:01:38 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-06-20 09:01:38 +0700 |
| commit | 290114b315a2f478113918cd8fc37737a47f8e70 (patch) | |
| tree | 96d0802df1d612ccbf3cc16f548555592c3cc8cd /src/pages | |
| parent | 81d3bd413bdf56963d032afbcb04bfd3ce3b9d76 (diff) | |
Update UI style
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/_app.jsx | 2 | ||||
| -rw-r--r-- | src/pages/index.jsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/_app.jsx b/src/pages/_app.jsx index 089622da..a8d18917 100644 --- a/src/pages/_app.jsx +++ b/src/pages/_app.jsx @@ -53,7 +53,7 @@ function MyApp({ Component, pageProps }) { <motion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} - exit={{ opacity: 0, transition: { delay: 0.15 } }} + exit={{ opacity: 0, transition: { delay: 0.05 } }} transition={{ duration: 0.15 }} diff --git a/src/pages/index.jsx b/src/pages/index.jsx index 43a3b8c9..9900e405 100644 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -31,7 +31,7 @@ export default function Home() { const handleOnLoad = () => { wrapperRef.current.style.height = - bannerRef.current.querySelector(':first-child').clientHeight + 'px' + bannerRef.current?.querySelector(':first-child')?.clientHeight + 'px' } return ( |
