Skip to content

Commit

Permalink
moved nabar to home
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen-Gordon committed Apr 15, 2024
1 parent e250cc1 commit 935e810
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/app/components/BottomNav/BottomNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ const BottomNavbar = () => {
<motion.nav
layout
key={'nav'}
initial={{ opacity: 0, y: 100 }}
/* initial={{ opacity: 0, y: 100 }}
animate={{ opacity: showNav ? 1 : 0, y: showNav ? 0 : 100 }}
exit={{ opacity: 0, y: 100 }}
transition={{ duration: 0.3, ease: 'easeInOut' }}
transition={{ duration: 0.4, ease: 'easeIn' }} */
className='sticky bottom-0 flex h-auto w-full justify-between bg-transparent bg-opacity-0 bg-gradient-to-br from-slate-50/10 p-4 px-8 pb-8 pt-4 backdrop-blur-xl '
>
{/* <Link href='/home'>
Expand Down
5 changes: 4 additions & 1 deletion src/app/home/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import { setAddress } from '@/GlobalRedux/Features/address/addressSlice';

import ReactDOMServer from 'react-dom/server';
import ProgressBar from '../components/ProgressButton/ProgressButton';
import BottomNavbar from '../components/BottomNav/BottomNav';
export default function Page() {
// privy
const { user, zeroDevReady, getEthereumProvider } = usePrivySmartAccount();
Expand Down Expand Up @@ -223,7 +224,9 @@ export default function Page() {
<div className='mt-4 p-2 pb-32 '>
<Activity />
</div>
{/* <div className='mt-4 p-2 pb-32 '>
<BottomNavbar />

{/* <div className='mt-4 p-2 pb-32 '>
<ProgressBar/>
</div> */}
</motion.div>
Expand Down
1 change: 0 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ export default function RootLayout({
{drawer}

{children}
<BottomNavbar />
</div>
</div>
</LayoutGroup>
Expand Down

0 comments on commit 935e810

Please sign in to comment.